projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for 2.6.27 kernel
[openwrt.git]
/
package
/
libpcap
/
patches
/
100-shared-lib.patch
diff --git
a/package/libpcap/patches/100-shared-lib.patch
b/package/libpcap/patches/100-shared-lib.patch
index
54cc774
..
aae77f8
100644
(file)
--- a/
package/libpcap/patches/100-shared-lib.patch
+++ b/
package/libpcap/patches/100-shared-lib.patch
@@
-1,13
+1,12
@@
-diff -urN libpcap-0.9.4.orig/Makefile.in libpcap-0.9.4/Makefile.in
---- libpcap-0.9.4.orig/Makefile.in 2003-12-15 02:35:03.000000000 +0100
-+++ libpcap-0.9.4/Makefile.in 2006-02-05 16:56:18.000000000 +0100
+--- a/Makefile.in
++++ b/Makefile.in
@@ -37,6 +37,15 @@
srcdir = @srcdir@
VPATH = @srcdir@
+# some defines for shared library compilation
+MAJ=0.9
@@ -37,6 +37,15 @@
srcdir = @srcdir@
VPATH = @srcdir@
+# some defines for shared library compilation
+MAJ=0.9
-+MIN=
4
++MIN=
8
+VERSION=$(MAJ).$(MIN)
+LIBNAME=pcap
+LIBRARY=lib$(LIBNAME).a
+VERSION=$(MAJ).$(MIN)
+LIBNAME=pcap
+LIBRARY=lib$(LIBNAME).a
@@
-17,7
+16,7
@@
diff -urN libpcap-0.9.4.orig/Makefile.in libpcap-0.9.4/Makefile.in
#
# You shouldn't need to edit anything below.
#
#
# You shouldn't need to edit anything below.
#
-@@ -5
0,6 +59
,7 @@
+@@ -5
2,6 +61
,7 @@
# Standard CFLAGS
CFLAGS = $(CCOPT) $(INCLS) $(DEFS)
# Standard CFLAGS
CFLAGS = $(CCOPT) $(INCLS) $(DEFS)
@@
-25,7
+24,7
@@
diff -urN libpcap-0.9.4.orig/Makefile.in libpcap-0.9.4/Makefile.in
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
-@@ -7
0,7 +80
,12 @@
+@@ -7
2,7 +82
,12 @@
.c.o:
@rm -f $@
$(CC) $(CFLAGS) -c $(srcdir)/$*.c
.c.o:
@rm -f $@
$(CC) $(CFLAGS) -c $(srcdir)/$*.c
@@
-38,7
+37,7
@@
diff -urN libpcap-0.9.4.orig/Makefile.in libpcap-0.9.4/Makefile.in
PSRC = pcap-@V_PCAP@.c
FSRC = fad-@V_FINDALLDEVS@.c
SSRC = @SSRC@
PSRC = pcap-@V_PCAP@.c
FSRC = fad-@V_FINDALLDEVS@.c
SSRC = @SSRC@
-@@ -8
4,6 +99
,7 @@
+@@ -8
6,6 +101
,7 @@
# We would like to say "OBJ = $(SRC:.c=.o)" but Ultrix's make cannot
# hack the extra indirection
OBJ = $(PSRC:.c=.o) $(FSRC:.c=.o) $(CSRC:.c=.o) $(SSRC:.c=.o) $(GENSRC:.c=.o) $(LIBOBJS)
# We would like to say "OBJ = $(SRC:.c=.o)" but Ultrix's make cannot
# hack the extra indirection
OBJ = $(PSRC:.c=.o) $(FSRC:.c=.o) $(CSRC:.c=.o) $(SSRC:.c=.o) $(GENSRC:.c=.o) $(LIBOBJS)
@@
-46,7
+45,7
@@
diff -urN libpcap-0.9.4.orig/Makefile.in libpcap-0.9.4/Makefile.in
HDR = pcap.h pcap-int.h pcap-namedb.h pcap-nit.h pcap-pf.h \
ethertype.h gencode.h gnuc.h
GENHDR = \
HDR = pcap.h pcap-int.h pcap-namedb.h pcap-nit.h pcap-pf.h \
ethertype.h gencode.h gnuc.h
GENHDR = \
-@@ -9
5,15 +111
,23 @@
+@@ -9
7,15 +113
,23 @@
TAGFILES = \
$(SRC) $(HDR) $(TAGHDR)
TAGFILES = \
$(SRC) $(HDR) $(TAGHDR)
@@
-72,7
+71,7
@@
diff -urN libpcap-0.9.4.orig/Makefile.in libpcap-0.9.4/Makefile.in
shared: libpcap.$(DYEXT)
#
shared: libpcap.$(DYEXT)
#
-@@ -1
29,6 +153
,10 @@
+@@ -1
31,6 +155
,10 @@
scanner.o: scanner.c tokdefs.h
$(CC) $(CFLAGS) -c scanner.c
scanner.o: scanner.c tokdefs.h
$(CC) $(CFLAGS) -c scanner.c
@@
-83,7
+82,7
@@
diff -urN libpcap-0.9.4.orig/Makefile.in libpcap-0.9.4/Makefile.in
pcap.o: version.h
tokdefs.h: grammar.c
pcap.o: version.h
tokdefs.h: grammar.c
-@@ -14
2,9 +170
,16 @@
+@@ -14
4,9 +172
,16 @@
@rm -f $@
$(CC) $(CFLAGS) -Dyylval=pcap_lval -c grammar.c
@rm -f $@
$(CC) $(CFLAGS) -Dyylval=pcap_lval -c grammar.c
@@
-100,7
+99,7
@@
diff -urN libpcap-0.9.4.orig/Makefile.in libpcap-0.9.4/Makefile.in
snprintf.o: $(srcdir)/missing/snprintf.c
$(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/snprintf.c
snprintf.o: $(srcdir)/missing/snprintf.c
$(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/snprintf.c
-@@ -17
0,10 +205
,17 @@
+@@ -17
2,10 +207
,17 @@
bpf_filter.o: bpf_filter.c
$(CC) $(CFLAGS) -c bpf_filter.c
bpf_filter.o: bpf_filter.c
$(CC) $(CFLAGS) -c bpf_filter.c
This page took
0.022493 seconds
and
4
git commands to generate.