summary refs log tree commit diff
path: root/pkgs/os-specific/linux/audit/fix-static.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/audit/fix-static.patch')
-rw-r--r--pkgs/os-specific/linux/audit/fix-static.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/audit/fix-static.patch b/pkgs/os-specific/linux/audit/fix-static.patch
new file mode 100644
index 00000000000..ce76fc3b87a
--- /dev/null
+++ b/pkgs/os-specific/linux/audit/fix-static.patch
@@ -0,0 +1,12 @@
+--- a/auparse/auparse.h
++++ b/auparse/auparse.h
+@@ -32,6 +32,9 @@
+ # define __attr_dealloc(dealloc, argno)
+ # define __attr_dealloc_free
+ #endif
++#ifndef __attribute_malloc__
++# define __attribute_malloc__ __attribute__ ((__malloc__))
++#endif
+ 
+ #ifdef __cplusplus
+ extern "C" {
\ No newline at end of file