diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-10-22 20:25:29 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-10-22 22:31:29 +0200 |
commit | 54c99e477325092fe15728b798c31bf6d8df20dd (patch) | |
tree | 8eda58999d5c4e67d349d3cf8aefd21d32b9fbac /package/maradns/patches/patch-deadwood-3_2_09_src_Makefile | |
parent | cb176c4a58106318a34e165f3382d26ebba16a3a (diff) |
maradns: update to latest
Diffstat (limited to 'package/maradns/patches/patch-deadwood-3_2_09_src_Makefile')
-rw-r--r-- | package/maradns/patches/patch-deadwood-3_2_09_src_Makefile | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/package/maradns/patches/patch-deadwood-3_2_09_src_Makefile b/package/maradns/patches/patch-deadwood-3_2_09_src_Makefile new file mode 100644 index 000000000..b61b368dd --- /dev/null +++ b/package/maradns/patches/patch-deadwood-3_2_09_src_Makefile @@ -0,0 +1,72 @@ +--- maradns-2.0.13.orig/deadwood-3.2.09/src/Makefile 2015-01-24 09:09:04.000000000 +0100 ++++ maradns-2.0.13/deadwood-3.2.09/src/Makefile 2015-10-22 15:56:39.000000000 +0200 +@@ -1,4 +1,4 @@ +-# Makefile for Deadwood-2 (CentOS 5; may work with other other Linux and ++# Makefile for Deadwood-3 (CentOS 5; may work with other other Linux and + # *NIX systems) + + # The compiler that makes programs designed to run on the machine +@@ -41,31 +41,31 @@ version.h: + ./make.version.h + + DwStr.o: DwStr.c DwStr.h +- $(CC) $(FLAGS) -Wall -c -o DwStr.o DwStr.c ++ $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwStr.o DwStr.c + + DwCompress.o: DwCompress.c DwStr.h +- $(CC) $(FLAGS) -Wall -c -o DwCompress.o DwCompress.c ++ $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwCompress.o DwCompress.c + + DwDnsStr.o: DwDnsStr.c DwStr.h DwRecurse.h +- $(CC) $(FLAGS) -Wall -c -o DwDnsStr.o DwDnsStr.c ++ $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwDnsStr.o DwDnsStr.c + + DwMararc.o: DwMararc.c DwMararc.h +- $(CC) $(FLAGS) -Wall -c -o DwMararc.o DwMararc.c ++ $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwMararc.o DwMararc.c + + DwRadioGatun.o: DwRadioGatun.c DwRadioGatun.h DwStr.h +- $(CC) $(FLAGS) -Wall -c -o DwRadioGatun.o DwRadioGatun.c ++ $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwRadioGatun.o DwRadioGatun.c + + DwTcpSocket.o: DwTcpSocket.c DwStr.h DwSocket.h +- $(CC) $(FLAGS) -Wall -c -o DwTcpSocket.o DwTcpSocket.c ++ $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwTcpSocket.o DwTcpSocket.c + + DwUdpSocket.o: DwUdpSocket.c DwStr.h DwSocket.h +- $(CC) $(FLAGS) -Wall -c -o DwUdpSocket.o DwUdpSocket.c ++ $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwUdpSocket.o DwUdpSocket.c + + DwSocket.o: DwSocket.c DwStr.h DwSocket.h +- $(CC) $(FLAGS) -Wall -c -o DwSocket.o DwSocket.c ++ $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwSocket.o DwSocket.c + +-DwSys.o: DwSys.c DwStr.h version.h +- $(CC) $(FLAGS) -Wall -c -o DwSys.o DwSys.c ++DwSys.o: DwSys.c DwStr.h ++ $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwSys.o DwSys.c + + RandomPrime: RandomPrime.c + $(CC) -O3 -o RandomPrime RandomPrime.c +@@ -74,17 +74,17 @@ DwRandPrime.h: RandomPrime + if [ -e /dev/urandom ] ; then ./RandomPrime > DwRandPrime.h ; fi + + DwHash.o: DwHash.c DwStr.h DwRandPrime.h DwHash.h +- $(CC) $(FLAGS) -Wall -c -o DwHash.o DwHash.c ++ $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwHash.o DwHash.c + + DwRecurse.o: DwRecurse.c DwRecurse.h +- $(CC) $(FLAGS) -Wall -c -o DwRecurse.o DwRecurse.c ++ $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwRecurse.o DwRecurse.c + + DwDict.o: DwDict.c DwStr.h DwRandPrime.h DwDict.h +- $(CC) $(FLAGS) -Wall -c -o DwDict.o DwDict.c ++ $(CC) $(FLAGS) -DIPV6 -Wall -c -o DwDict.o DwDict.c + + Test: Test.c DwStr.o DwStr.h DwStr_functions.h $(OBJS) + $(CC) $(FLAGS) -Wall -o Test Test.c $(OBJS) + + Deadwood: DwMain.c $(OBJS) DwStr_functions.h version.h +- $(CC) $(FLAGS) -Wall -o Deadwood DwMain.c $(OBJS) -lrt ++ $(CC) $(FLAGS) -DIPV6 -Wall -o Deadwood DwMain.c $(OBJS) -lrt + |