dhcp: fix build with linux3.x.

This commit is contained in:
Arne Fitzenreiter
2012-08-03 20:32:32 +02:00
parent c43ee7b069
commit b07deb3806
2 changed files with 13 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
@@ -70,6 +70,7 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/dhcp-3.1_linux3.patch
cd $(DIR_APP) && ./configure
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make LIBDIR=/usr/lib INCDIR=/usr/include install

View File

@@ -0,0 +1,11 @@
diff -Naur dhcp-3.1-ESV-R3.org/configure dhcp-3.1-ESV-R3/configure
--- dhcp-3.1-ESV-R3.org/configure 2005-03-17 21:14:55.000000000 +0100
+++ dhcp-3.1-ESV-R3/configure 2012-06-17 12:19:29.000000000 +0200
@@ -104,6 +104,7 @@
2) sysname=linux-2.2 ;;
*) sysname=linux-2.2 ;;
esac;;
+ 3) sysname=linux-2.2 ;;
esac;;
SunOS)
release=`uname -r`