audit/audit-1.3.1-python.patch
2006-12-22 01:14:20 +00:00

35 lines
1.2 KiB
Diff

diff -ur audit-1.3.1.orig/audisp/Makefile audit-1.3.1/audisp/Makefile
--- audit-1.3.1.orig/audisp/Makefile 2006-12-21 19:10:45.000000000 -0500
+++ audit-1.3.1/audisp/Makefile 2006-12-21 19:11:04.000000000 -0500
@@ -1,6 +1,6 @@
# Installation directories.
PREFIX ?= $(DESTDIR)/usr
-LIBDIR ?= $(PREFIX)/lib/python2.4/site-packages
+LIBDIR ?= $(PREFIX)/lib/python2.5/site-packages
SBINDIR ?= $(DESTDIR)/sbin
LIB=AuditMsg.py
diff -ur audit-1.3.1.orig/configure.ac audit-1.3.1/configure.ac
--- audit-1.3.1.orig/configure.ac 2006-12-21 19:10:45.000000000 -0500
+++ audit-1.3.1/configure.ac 2006-12-21 19:11:37.000000000 -0500
@@ -39,7 +39,7 @@
AM_INIT_AUTOMAKE
AM_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
-AM_PATH_PYTHON(2.4)
+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"