From 6aa13f19204f6d4e8100adc40da58a54864cbd6c Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Thu, 28 Aug 2003 12:29:20 +0000 Subject: [PATCH] maybe fix kernel compilation? Sent by Alan on rock-linux. git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1238 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/iproute2/new-kernels.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/base/iproute2/new-kernels.patch diff --git a/package/base/iproute2/new-kernels.patch b/package/base/iproute2/new-kernels.patch new file mode 100644 index 000000000..8d4d5467f --- /dev/null +++ b/package/base/iproute2/new-kernels.patch @@ -0,0 +1,22 @@ + +This should fix the compilation for new kernels. + + - alan.rock@glaramara.freeserve.co.uk + +diff -Naur iproute2.rockpatched/Makefile iproute2/Makefile +--- iproute2.rockpatched/Makefile 2003-08-27 13:53:08.000000000 +0100 ++++ iproute2/Makefile 2003-08-27 13:53:35.000000000 +0100 +@@ -20,11 +20,11 @@ + + ifeq ($(LIBC_INCLUDE)/socketbits.h,$(wildcard $(LIBC_INCLUDE)/socketbits.h)) + ifeq ($(LIBC_INCLUDE)/net/if_packet.h,$(wildcard $(LIBC_INCLUDE)/net/if_packet.h)) +- GLIBCFIX=-I../include-glibc -include ../include-glibc/glibc-bugs.h ++ GLIBCFIX=-include ../include-glibc/glibc-bugs.h + endif + endif + ifeq ($(LIBC_INCLUDE)/bits/socket.h,$(wildcard $(LIBC_INCLUDE)/bits/socket.h)) +- GLIBCFIX=-I../include-glibc -include ../include-glibc/glibc-bugs.h ++ GLIBCFIX=-include ../include-glibc/glibc-bugs.h + endif + + CC = gcc