diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-20 20:44:20 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-22 18:54:00 -0300 |
commit | 7b4c521005a73d5b30f5947467e637e15c5c06a0 (patch) | |
tree | 2fa5a3d0dad141943c5e4cba80d86dd836e58ff3 /pkgs/os-specific/linux/audit/000-fix-static-attribute-malloc.diff | |
parent | 38ed36c8dc47880c0d429b7bfe22e723a97e01de (diff) | |
download | nixpkgs-7b4c521005a73d5b30f5947467e637e15c5c06a0.tar nixpkgs-7b4c521005a73d5b30f5947467e637e15c5c06a0.tar.gz nixpkgs-7b4c521005a73d5b30f5947467e637e15c5c06a0.tar.bz2 nixpkgs-7b4c521005a73d5b30f5947467e637e15c5c06a0.tar.lz nixpkgs-7b4c521005a73d5b30f5947467e637e15c5c06a0.tar.xz nixpkgs-7b4c521005a73d5b30f5947467e637e15c5c06a0.tar.zst nixpkgs-7b4c521005a73d5b30f5947467e637e15c5c06a0.zip |
audit: 3.1 -> 3.1.1
Diffstat (limited to 'pkgs/os-specific/linux/audit/000-fix-static-attribute-malloc.diff')
-rw-r--r-- | pkgs/os-specific/linux/audit/000-fix-static-attribute-malloc.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/audit/000-fix-static-attribute-malloc.diff b/pkgs/os-specific/linux/audit/000-fix-static-attribute-malloc.diff new file mode 100644 index 00000000000..ce76fc3b87a --- /dev/null +++ b/pkgs/os-specific/linux/audit/000-fix-static-attribute-malloc.diff @@ -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 |