Update for python and buggy kernel headers

This commit is contained in:
Steve Grubb 2006-12-22 01:14:20 +00:00
parent 7af722908f
commit 22f12f8fb1
2 changed files with 13 additions and 2 deletions

View File

@ -17,7 +17,18 @@ diff -ur audit-1.3.1.orig/configure.ac audit-1.3.1/configure.ac
AM_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
-AM_PATH_PYTHON(2.4)
+AM_PATH_PYTHON(2.5)
+AM_PATH_PYTHON
echo .
echo Checking for programs
diff -ur audit-1.3.1.orig/src/ausearch-lookup.c audit-1.3.1/src/ausearch-lookup.c
--- audit-1.3.1.orig/src/ausearch-lookup.c 2006-12-21 19:10:45.000000000 -0500
+++ audit-1.3.1/src/ausearch-lookup.c 2006-12-21 20:10:06.000000000 -0500
@@ -24,6 +24,7 @@
#include "config.h"
#include <stdio.h>
#include <string.h>
+#include <asm/types.h> // to work around buggy kernel headers
#include <linux/net.h>
#include "ausearch-lookup.h"
#include "ausearch-options.h"

View File

@ -171,7 +171,7 @@ fi
%changelog
* Sun Dec 10 2006 Steve Grubb <sgrubb@redhat.com> 1.3.1-2
- rebuild again for python 2.5
- Make more adjustments for python 2.5
* Sun Dec 10 2006 Steve Grubb <sgrubb@redhat.com> 1.3.1-1
- Fix a couple parsing problems (#217952)