diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2012-12-22 03:36:59 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2012-12-22 03:36:59 +0000 |
commit | a23bd7998bb0b298cb4ff0dfa8c217db5dcc2791 (patch) | |
tree | 7dbc625109dd9bc35fd8256c520b9fbca0c2656e /sys-process/audit | |
parent | Add pypy2_0. (diff) | |
download | historical-a23bd7998bb0b298cb4ff0dfa8c217db5dcc2791.tar.gz historical-a23bd7998bb0b298cb4ff0dfa8c217db5dcc2791.tar.bz2 historical-a23bd7998bb0b298cb4ff0dfa8c217db5dcc2791.zip |
Bug #439188: Absolutely ridiculous workaround for upstream glibc/kernel header issue: http://sourceware.org/bugzilla/show_bug.cgi?id=762 Patch written & tested on dolphin.ia64.dev.gentoo.org.
Package-Manager: portage-2.2.0_alpha144/cvs/Linux x86_64
Diffstat (limited to 'sys-process/audit')
-rw-r--r-- | sys-process/audit/ChangeLog | 8 | ||||
-rw-r--r-- | sys-process/audit/Manifest | 5 | ||||
-rw-r--r-- | sys-process/audit/audit-2.1.3-r1.ebuild | 7 | ||||
-rw-r--r-- | sys-process/audit/files/audit-2.1.3-ia64-compile-fix.patch | 212 |
4 files changed, 228 insertions, 4 deletions
diff --git a/sys-process/audit/ChangeLog b/sys-process/audit/ChangeLog index 2f131cbb317d..a98c057cad72 100644 --- a/sys-process/audit/ChangeLog +++ b/sys-process/audit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-process/audit # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.83 2012/12/21 13:47:44 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.84 2012/12/22 03:36:53 robbat2 Exp $ + + 22 Dec 2012; Robin H. Johnson <robbat2@gentoo.org> + +files/audit-2.1.3-ia64-compile-fix.patch, audit-2.1.3-r1.ebuild: + Bug #439188: Absolutely ridiculous workaround for upstream glibc/kernel header + issue: http://sourceware.org/bugzilla/show_bug.cgi?id=762 Patch written & + tested on dolphin.ia64.dev.gentoo.org. 21 Dec 2012; Sergey Popov <pinkbyte@gentoo.org> audit-2.1.3-r1.ebuild: Fix pkg_preinst function, wrt bug #447954 (non-maintainer commit) diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest index 4e1181fdb918..4a1e350d3ded 100644 --- a/sys-process/audit/Manifest +++ b/sys-process/audit/Manifest @@ -7,6 +7,7 @@ AUX audit-1.7.18-missing_headers.patch 381 SHA256 9bcd61e976bfb422f199b6553a1dfa AUX audit-1.7.4-glibc212.patch 316 SHA256 248eaa9e69ab50d766a05bf4ba26efbee84396fb34e321d562dc47a7a95f4e28 SHA512 d3cc26592be19fc4780d21098f7e904fb0ee9cede6ed6c280ee422f75ed597a17f87ed8e350ad89d44fe0351a271469b0a94aa0d991f46ac655d64077f2b22d4 WHIRLPOOL a6f3d44c77bfa2b1c1e13de694f9218fc237d3d950d6068a6fe03e74ef0e02bb677e6de14d8c27000a419089df9ff4706631a104e0ddf551f18c37d6b56285ab AUX audit-1.7.4-python.patch 456 SHA256 c457c9f35956ebdb960bbf9288bf2c0acfaf224a87a0ec7d243d1566e783f018 SHA512 0aab718c9bae642b8ef6ed49438065787104f9938b7fb17b631184c46f384546c663f727caceac89718695c7dec3f6f0086a70d599335bdbe6ceaabb0dac3cce WHIRLPOOL 3ba3ac94daee63e0c67bc2a4178fb5c0ec1d3e8be719693e5082c33de40f8645ba19d45d43498a7d16f498e2faa1abc4a751a2cb71a02f33fbfc40ee3c838ace AUX audit-2.0.5-python.patch 891 SHA256 b5d82e670f9ac8c6640ba1155a77e0f6b6f93acd90efb89747aca636d7b68022 SHA512 1fc4013f0e1b00c2cf75e02fffad611a93f37a8f0cf4a258326a4705649e73a039c0af7540cec1beee2a32f28af7850b7cfd6c3827d1195fd1163468c4dc31c0 WHIRLPOOL 707ec56175859e9d2065a9cb04257a8355eeb3d6c129cd7fcfa38ba79b983b878c722ca2f7ae17e85f7288f90f144efb407bd85793b3731e0f9899d79970a0bf +AUX audit-2.1.3-ia64-compile-fix.patch 7173 SHA256 af8f2764b5675fb364901dd6ce9477655b1bde9de9a9436c1a7e40793a0ad560 SHA512 be1f0fd8933e962b11818bace04a14f89afd40c20d9e3ecc839c210fc946e851bb8ba0ce0eae9267023397f77c5a1a3c8b574b9285c0351f534a24f5c9a2a512 WHIRLPOOL f6a7a3b740f39485874a874bbfdea85e087fdcde817a91526e37cddbb85d6e4536add47179021fc7245bafb74b7ad4f3286de55108cb950aee2e1d7217ef19e3 AUX audit-2.1.3-python.patch 1353 SHA256 de214516fc107d8bfb19fcaf39d87776d9655a153e8e8b993a725f34dbe91ce5 SHA512 01e071c4219e1ea186207be883e08811021465cf18cdc2d18dcd1c61be372f2061b7f18f104dfb21ae94d363153f81133e768ddac8953703198bcda257f827eb WHIRLPOOL 4555e5b2f00a7470bb52a0813fcadf85e334f181f68414011629e95b7143bc07c83e94aa814bd4b6fc91a3add1b18444d97b24ecb7590e1884d663cf9bcf6203 AUX audit.rules 997 SHA256 adc4779fd55919ca32b2de0d955779b7950a159c449a46ea7c0c6654a9049ee9 SHA512 40faae01d054a6770c53456c591af18d7e1f7cdbc79e114f31749e60fb56b0e27c5ec59a3c4561867673d1dc7c51897251ff680e74af7a5cdd3570d1c9b590c4 WHIRLPOOL 4995601b927c217d4f1a855be2fa76a5b89bee2d27ad24bba6cc08237a05923406481d78cd54ff0ee49a7e30d38f53369e25a7c638af0e0ba2f14d3bb35e554d AUX audit.rules-2.1.3 1126 SHA256 8bf7f9cac7d2a47d3ff51d2a2b227588820831b5ef7c2e3d058b097d4d65eeb0 SHA512 be4a064ab9b9edfc02df3c2d3a29c4e8ffd031ce10adcf274a548ecd414b95b2aeebc54cf5aef9c04dcc121adea7b8fe63b7d153cd80f552e5f0605459a83901 WHIRLPOOL 7295ba3bc78394f4882f24fa8f3acd62fbd08543e618a260a308b2b8b350ced41d7fa9ce19a791fb0bb879a09dd4153a6e869f64ab927c7d4e2683e5f47b36d5 @@ -26,7 +27,7 @@ EBUILD audit-1.7.17.ebuild 3491 SHA256 68b02ea9e54e67b4f06e10341ba267df69efd50a7 EBUILD audit-1.7.18.ebuild 3491 SHA256 ef678f9bb88c2f1dd949cdf3bd92207b4d0f5bd295fde08baf425e66d550c0e6 SHA512 7da7d063fd9802567f3758b887d40d8ece6343845cb48b02d01b2231cdafe1fc770b2d2b8a6404a5cfa17518af30531ccb18648b57f2d93e758b06402d2f1a56 WHIRLPOOL 21f393e0c8c1b48d80528275a2c0b36ed1b3da261eb7cea09ea1fb4d6d9dabf335a9584c811929360acba7c784a0d265246f0bb3075daf1efd41c54cdbc73dd3 EBUILD audit-1.7.4.ebuild 3394 SHA256 0cdf6975cefd382655936486a8c4b1bf7805e28e3aa45c9264bc92304afbd685 SHA512 153b3479b228675a950564f7f38f734692a4611059ef11b2e0c7a8b1c55acfb8f06fe58ec0e3d36757c91e7e33586336cf1907348a29ce0ddd647b44f681cb3a WHIRLPOOL 37a274d499950c9381d3f5de90f35b84aa2143350898bd214630b58f5f41aff19f3b74f2e7be537f325c542d3f226e77fffa711bf8568c5d16f1d4218784781c EBUILD audit-2.0.5.ebuild 4468 SHA256 af5a547f8a131e00050baf000232da2d742029199356d76db195a68e850c1152 SHA512 99837c530ca5a5f35e241f4c3b70e4bfe45a74e91d2181356f417b3f0fc72a1fdf8172c7d52c5b7322a1d59cb351d6ce3d69e623778ca77005cd01e0c86cb7a4 WHIRLPOOL e9554be479f1b11c6d466a4c11b54aa6d39df4c6617934d70ffc410d6006b4b4a6ea980a316dde91cbdb4b91ebb1190c17825df14b04e104a583b57e0a3cc1d9 -EBUILD audit-2.1.3-r1.ebuild 4692 SHA256 283648ea663a913d7611aa9f17bfec7d20dfe87201117067924b515eb5fb3075 SHA512 1df0f83d80d2cd8ba97678628eeea953774bb056ef7b885731bc40b327939a06edfc4db8454a9be883f4c88b911fe411b79584ee7d60b13b6c13037239c98f43 WHIRLPOOL 6828e5455911f67af769dbb7941bde9acc59027ae73a59d89b6a7cfa3c583b629fa47ebd7408c455ca80076308f36b8a3f04611f6def613a680865117fae20e7 +EBUILD audit-2.1.3-r1.ebuild 4929 SHA256 295efbc782206bf0a01e037f5d57876d92714dca4a0524fd71c8909276a57e27 SHA512 a0325fb8efd1ab4653d1bf2213dceb84e379021c3189fd9a167e3ae37aab961889a85213c9a5f3b68a0eba3a6862283f970356d5a33cc95adc8ad77d98e1fec5 WHIRLPOOL 1af17add2d8d0920973187a06f4a1b4921e2e27968c9bfef4a1689fa64a54cc980fc239d9e9e1be1d488c012f335e73b50a3f47b86cde35d0fee608ad325e6ff EBUILD audit-2.1.3.ebuild 4503 SHA256 a921ad2e649cc25d513c3e1d66411751e15c544979ffc44c9ee589cd98bf7df1 SHA512 0e0c4a43220a8f898f7a590c0e9469839cf2f422da755678db24d39aa82247100973a80437a169af7f16f8af716e0a162c5e9346736e2bb2bacb1548b9ae7b3c WHIRLPOOL b400d245780b7b0f5a75b46fbc8c83949133f8cfe991058ff158072290618ef14bd495edb7f7e427ebbd1c63f8ed49c14150db56d87cb9b99f0a1a4adbeb0102 -MISC ChangeLog 13298 SHA256 ac853ec428a43d54280927f7f26bd6a689a037a7311695a531d3d5436fdb1828 SHA512 6f8e71507c527f4ea450f9f7d665188185b88efec2a125fe643f28519f146436ed4b855654cd316b134441de63ade15eb192d8a6634ef0d0a3b7e4451fe9e6b4 WHIRLPOOL 140f984f4a0e37575080ea8aaa1c001f04ffe2b6eda188b226d2f70ace18839242fc0dab5b6d3fdf60170b069cd56f727151ba03722805d06e7f971d8eb742c2 +MISC ChangeLog 13617 SHA256 4abfdbdc8c90c92bb65c735e67ef1cd14793f00c4c67a4852f19f7eccfa98d58 SHA512 0da6d32db0c857bf2c7a72fadfd5a2a2406dcab6d33c1e60c79fa83adbff899204164d8a72d5fe866340892113bace6ae8d9bf800c5145cfa8b4f218b49d8f21 WHIRLPOOL 4584d9f32d87e48554c1b91f5e19ec7c8065663c3e61f9079795a4a71b6386da88fee54c95f03e1901ca1851a02a7d189667645743e1b213e68ff95e1cff4cf0 MISC metadata.xml 208 SHA256 474aad89b28273a47e9d612283399fab63cd9ada8b3c4fa65b16250128abf342 SHA512 761ae3cffc33d4832cd02525e53fa449295e779fac539a6c11d746001689e781939e059c8a444365b42b291e295d5d1620d67af401c2c80c568be8ef596d147d WHIRLPOOL 060c71b4ace40817c787afb38b4919804322e09983dba790fbdcf0c3021a7bfa94ed0f1f4fb5db8893d0c68aebdec378ed055f420501bd7df0f03eec50e220aa diff --git a/sys-process/audit/audit-2.1.3-r1.ebuild b/sys-process/audit/audit-2.1.3-r1.ebuild index e102f986290c..5a06c65474bc 100644 --- a/sys-process/audit/audit-2.1.3-r1.ebuild +++ b/sys-process/audit/audit-2.1.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-2.1.3-r1.ebuild,v 1.10 2012/12/21 13:47:44 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-2.1.3-r1.ebuild,v 1.11 2012/12/22 03:36:53 robbat2 Exp $ EAPI="3" PYTHON_DEPEND="python? 2" @@ -68,6 +68,11 @@ src_prepare() { # Don't build static version of Python module. epatch "${FILESDIR}"/${PN}-2.1.3-python.patch + # glibc/kernel upstreams suck with both defining ia64_fpreg + # This patch is a horribly workaround that is only valid as long as you + # don't need the OTHER definitions in fpu.h. + epatch "${FILESDIR}"/${PN}-2.1.3-ia64-compile-fix.patch + # Python bindings are built/installed manually. sed -e "/^SUBDIRS =/s/ python//" -i bindings/Makefile.am sed -e "/^SUBDIRS =/s/ swig//" -i Makefile.am diff --git a/sys-process/audit/files/audit-2.1.3-ia64-compile-fix.patch b/sys-process/audit/files/audit-2.1.3-ia64-compile-fix.patch new file mode 100644 index 000000000000..3ec60fbc48ec --- /dev/null +++ b/sys-process/audit/files/audit-2.1.3-ia64-compile-fix.patch @@ -0,0 +1,212 @@ +diff -Nuar -X exclude audit-2.1.3.orig/configure.ac audit-2.1.3/configure.ac +--- audit-2.1.3.orig/configure.ac 2011-08-15 17:30:58.000000000 +0000 ++++ audit-2.1.3/configure.ac 2012-12-18 20:03:22.000000000 +0000 +@@ -79,6 +79,9 @@ + esac + fi + ++AC_CHECK_HEADER([asm/ptrace.h], [AC_DEFINE([HAVE_ASM_PTRACE_H],[],[Define to 1 if you have asm/ptrace.h])], []) ++AC_CHECK_HEADER([linux/ptrace.h], [AC_DEFINE([HAVE_LINUX_PTRACE_H],[],[Define to 1 if you have linux/ptrace.h])], []) ++ + #gssapi + AC_ARG_ENABLE(gssapi_krb5, + [AS_HELP_STRING([--enable-gssapi-krb5],[Enable GSSAPI Kerberos 5 support @<:@default=no@:>@])], +diff -Nuar -X exclude audit-2.1.3.orig/src/auditctl.c audit-2.1.3/src/auditctl.c +--- audit-2.1.3.orig/src/auditctl.c 2011-08-15 17:31:00.000000000 +0000 ++++ audit-2.1.3/src/auditctl.c 2012-12-18 20:21:21.000000000 +0000 +@@ -22,6 +22,7 @@ + */ + + #include "config.h" ++#include "fixup.h" + #include <stdio.h> + #include <stdlib.h> + #include <string.h> /* strdup needs xopen define */ +diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-config.c audit-2.1.3/src/auditd-config.c +--- audit-2.1.3.orig/src/auditd-config.c 2011-08-15 17:31:00.000000000 +0000 ++++ audit-2.1.3/src/auditd-config.c 2012-12-18 20:21:23.000000000 +0000 +@@ -22,6 +22,7 @@ + */ + + #include "config.h" ++#include "fixup.h" + #include <stdio.h> + #include <unistd.h> + #include <sys/stat.h> +diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-dispatch.c audit-2.1.3/src/auditd-dispatch.c +--- audit-2.1.3.orig/src/auditd-dispatch.c 2011-08-15 17:31:00.000000000 +0000 ++++ audit-2.1.3/src/auditd-dispatch.c 2012-12-18 20:21:27.000000000 +0000 +@@ -22,6 +22,7 @@ + */ + + #include "config.h" ++#include "fixup.h" + #include <unistd.h> + #include <sys/uio.h> + #include <fcntl.h> +diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-event.c audit-2.1.3/src/auditd-event.c +--- audit-2.1.3.orig/src/auditd-event.c 2011-08-15 17:31:00.000000000 +0000 ++++ audit-2.1.3/src/auditd-event.c 2012-12-18 20:21:29.000000000 +0000 +@@ -22,6 +22,7 @@ + */ + + #include "config.h" ++#include "fixup.h" + #include <stdio.h> + #include <stdlib.h> + #include <unistd.h> +diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-listen.c audit-2.1.3/src/auditd-listen.c +--- audit-2.1.3.orig/src/auditd-listen.c 2011-08-15 17:31:00.000000000 +0000 ++++ audit-2.1.3/src/auditd-listen.c 2012-12-18 20:21:31.000000000 +0000 +@@ -22,6 +22,7 @@ + */ + + #include "config.h" ++#include "fixup.h" + #include <stdio.h> + #include <unistd.h> + #include <sys/stat.h> +diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-reconfig.c audit-2.1.3/src/auditd-reconfig.c +--- audit-2.1.3.orig/src/auditd-reconfig.c 2011-08-15 17:31:00.000000000 +0000 ++++ audit-2.1.3/src/auditd-reconfig.c 2012-12-18 20:21:33.000000000 +0000 +@@ -22,6 +22,7 @@ + */ + + #include "config.h" ++#include "fixup.h" + #include <pthread.h> + #include <signal.h> + #include <stdlib.h> +diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-sendmail.c audit-2.1.3/src/auditd-sendmail.c +--- audit-2.1.3.orig/src/auditd-sendmail.c 2011-08-15 17:31:00.000000000 +0000 ++++ audit-2.1.3/src/auditd-sendmail.c 2012-12-18 20:21:34.000000000 +0000 +@@ -22,6 +22,7 @@ + */ + + #include "config.h" ++#include "fixup.h" + #include <stdio.h> + #include <unistd.h> // for access() + #include <string.h> +diff -Nuar -X exclude audit-2.1.3.orig/src/auditd.c audit-2.1.3/src/auditd.c +--- audit-2.1.3.orig/src/auditd.c 2011-08-15 17:31:00.000000000 +0000 ++++ audit-2.1.3/src/auditd.c 2012-12-18 20:21:38.000000000 +0000 +@@ -22,6 +22,7 @@ + */ + + #include "config.h" ++#include "fixup.h" + #include <stdio.h> + #include <sys/types.h> + #include <unistd.h> +diff -Nuar -X exclude audit-2.1.3.orig/src/autrace.c audit-2.1.3/src/autrace.c +--- audit-2.1.3.orig/src/autrace.c 2011-08-15 17:31:00.000000000 +0000 ++++ audit-2.1.3/src/autrace.c 2012-12-18 20:21:43.000000000 +0000 +@@ -21,6 +21,7 @@ + */ + + #include "config.h" ++#include "fixup.h" + #include <stdio.h> + #include <string.h> + #include <sys/wait.h> +diff -Nuar -X exclude audit-2.1.3.orig/src/delete_all.c audit-2.1.3/src/delete_all.c +--- audit-2.1.3.orig/src/delete_all.c 2011-08-15 17:31:00.000000000 +0000 ++++ audit-2.1.3/src/delete_all.c 2012-12-18 20:21:48.000000000 +0000 +@@ -20,6 +20,7 @@ + * Steve Grubb <sgrubb@redhat.com> + */ + #include "config.h" ++#include "fixup.h" + #include <stdio.h> + #include <string.h> + #include <errno.h> +diff -Nuar -X exclude audit-2.1.3.orig/lib/fixup.h audit-2.1.3/lib/fixup.h +--- audit-2.1.3.orig/lib/fixup.h 1970-01-01 00:00:00.000000000 +0000 ++++ audit-2.1.3/lib/fixup.h 2012-12-18 20:21:02.000000000 +0000 +@@ -0,0 +1,17 @@ ++#ifndef _AUDIT_IA64_FIXUP_H_ ++#define _AUDIT_IA64_FIXUP_H_ ++ ++#ifdef __ia64__ /* what a pos */ ++# include <linux/types.h> ++# define _ASM_IA64_FPU_H ++#endif ++#include <signal.h> ++/* ++#ifdef HAVE_ASM_PTRACE_H ++# include <asm/ptrace.h> ++#endif ++#ifdef HAVE_LINUX_PTRACE_H ++# include <linux/ptrace.h> ++#endif ++*/ ++#endif +--- audit-2.1.3/src/ausearch.c 2012-12-22 03:09:54.000000000 +0000 ++++ audit-2.1.3/src/ausearch.c 2012-12-22 03:10:02.000000000 +0000 +@@ -22,6 +22,7 @@ + */ + + #include "config.h" ++#include "fixup.h" + #include <stdio.h> + #include <stdio_ext.h> + #include <string.h> +diff -Nuar audit-2.1.3.orig/audisp/audispd.c audit-2.1.3/audisp/audispd.c +--- audit-2.1.3.orig/audisp/audispd.c 2011-08-15 17:30:59.000000000 +0000 ++++ audit-2.1.3/audisp/audispd.c 2012-12-22 03:25:15.000000000 +0000 +@@ -21,6 +21,7 @@ + */ + + #include "config.h" ++#include "fixup.h" + #include <stdio.h> + #include <unistd.h> + #include <stdlib.h> +diff -Nuar audit-2.1.3.orig/audisp/plugins/prelude/audisp-prelude.c audit-2.1.3/audisp/plugins/prelude/audisp-prelude.c +--- audit-2.1.3.orig/audisp/plugins/prelude/audisp-prelude.c 2011-08-15 17:30:59.000000000 +0000 ++++ audit-2.1.3/audisp/plugins/prelude/audisp-prelude.c 2012-12-22 03:25:20.000000000 +0000 +@@ -21,6 +21,8 @@ + * + */ + ++#include "config.h" ++#include "fixup.h" + #include <stdio.h> + #include <stdlib.h> + #include <signal.h> +diff -Nuar audit-2.1.3.orig/audisp/plugins/remote/audisp-remote.c audit-2.1.3/audisp/plugins/remote/audisp-remote.c +--- audit-2.1.3.orig/audisp/plugins/remote/audisp-remote.c 2011-08-15 17:30:59.000000000 +0000 ++++ audit-2.1.3/audisp/plugins/remote/audisp-remote.c 2012-12-22 03:25:22.000000000 +0000 +@@ -22,6 +22,7 @@ + */ + + #include "config.h" ++#include "fixup.h" + #include <stdio.h> + #include <signal.h> + #include <syslog.h> +diff -Nuar audit-2.1.3.orig/contrib/plugin/audisp-example.c audit-2.1.3/contrib/plugin/audisp-example.c +--- audit-2.1.3.orig/contrib/plugin/audisp-example.c 2011-08-15 17:31:02.000000000 +0000 ++++ audit-2.1.3/contrib/plugin/audisp-example.c 2012-12-22 03:25:27.000000000 +0000 +@@ -37,6 +37,8 @@ + */ + + #define _GNU_SOURCE ++#include "config.h" ++#include "fixup.h" + #include <stdio.h> + #include <signal.h> + #include <string.h> +diff -Nuar audit-2.1.3.orig/contrib/skeleton.c audit-2.1.3/contrib/skeleton.c +--- audit-2.1.3.orig/contrib/skeleton.c 2011-08-15 17:31:02.000000000 +0000 ++++ audit-2.1.3/contrib/skeleton.c 2012-12-22 03:25:40.000000000 +0000 +@@ -7,6 +7,8 @@ + * gcc skeleton.c -o skeleton -laudit + */ + ++#include "config.h" ++#include "fixup.h" + #include <stdio.h> + #include <sys/types.h> + #include <sys/uio.h> |