Fix peeguardian compilation against libipq other programs should also use those libra...
[openwrt/svn-archive/archive.git] / net / peerguardian / patches / 002-new_libipq.patch
1 diff -urN pglinux-1.5beta/Makefile.am pglinux-1.5beta.new/Makefile.am
2 --- pglinux-1.5beta/Makefile.am 2005-04-02 07:39:56.000000000 +0200
3 +++ pglinux-1.5beta.new/Makefile.am 2008-12-14 18:25:45.000000000 +0100
4 @@ -3,7 +3,7 @@
5 mybin_PROGRAMS = peerguardnf pgtext
6 peerguardnf_SOURCES=Main.cpp PeerGuard.cpp BlockList.cpp Blocker_Linux.cpp Blocker_BSD.cpp HttpServer.cpp HttpRequest.cpp sha1.cpp
7 pgtext_SOURCES=pgtext.cpp
8 -peerguardnf_LDADD=-lipq -lpthread
9 +peerguardnf_LDADD=-lnetfilter_queue_libipq -lnetfilter_queue -lnfnetlink -lpthread
10 pgtext_LDADD=-lncurses -lpthread
11 peerguardnf_LDFLAGS=$(all_includes) -I/usr/include/libipq
12 AM_CPPFLAGS=$(ALL_INCLUDES) -I/usr/include/libipq
13 diff -urN pglinux-1.5beta/Makefile.in pglinux-1.5beta.new/Makefile.in
14 --- pglinux-1.5beta/Makefile.in 2005-03-31 09:40:29.000000000 +0200
15 +++ pglinux-1.5beta.new/Makefile.in 2008-12-14 18:25:25.000000000 +0100
16 @@ -72,7 +72,7 @@
17 mybin_PROGRAMS = peerguardnf pgtext
18 peerguardnf_SOURCES = Main.cpp PeerGuard.cpp BlockList.cpp Blocker_Linux.cpp Blocker_BSD.cpp HttpServer.cpp HttpRequest.cpp sha1.cpp
19 pgtext_SOURCES = pgtext.cpp
20 -peerguardnf_LDADD = -lipq -lpthread
21 +peerguardnf_LDADD = -lnetfilter_queue_libipq -lnetfilter_queue -lnfnetlink -lpthread
22 pgtext_LDADD = -lncurses -lpthread
23 peerguardnf_LDFLAGS = $(all_includes) -I/usr/include/libipq
24 AM_CPPFLAGS = $(ALL_INCLUDES) -I/usr/include/libipq