]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/driftnet/driftnet-nogui-0.1.6/arm.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / driftnet / driftnet-nogui-0.1.6 / arm.patch
1 --- driftnet-0.1.6/Makefile~    2002-07-09 19:26:41.000000000 +0000
2 +++ driftnet-0.1.6/Makefile     2004-10-20 21:51:48.000000000 +0000
3 @@ -13,14 +13,14 @@
4  #
5  
6  # Compiler to use.
7 -#CC = gcc
8 +CC = arm-linux-gcc
9  
10  # Basic compiler, linker flags; should not need any changes.
11  CFLAGS += -g -Wall
12  LDFLAGS += -g
13  
14  # You might need these if libpcap is installed somewhere random.
15 -CFLAGS += -I/usr/include/pcap
16 +#CFLAGS += -I/usr/include/pcap
17  #LDFLAGS += -L/path/to/libpcap.so
18  
19  # Required on Linux to get BSDish definitions of the TCP/IP structs.
20 @@ -31,14 +31,14 @@
21  
22  # Optional C compiler and linker flags. Typical driftnet builds have support
23  # for displaying captured images in an X window, and need the following flags:
24 -CFLAGS  += `gtk-config --cflags`
25 -LDLIBS  += -ljpeg -lungif `gtk-config --libs`
26 +#CFLAGS  += `gtk-config --cflags`
27 +#LDLIBS  += -ljpeg -lungif `gtk-config --libs`
28  
29  # Alternatively, you can build a version of driftnet which can only be used
30  # in `adjunct' mode as the back end for some other image-processing program. To
31  # use this, comment out the two preceding CFLAGS and LDLIBS lines and uncomment
32  # the following line:
33 -#CFLAGS += -DNO_DISPLAY_WINDOW
34 +CFLAGS += -DNO_DISPLAY_WINDOW
35  
36  # On systems with a C99 compiler, driftnet will use <stdint.h> for the
37  # definitions of types such as uint8_t. On other systems like Solaris, these
38 @@ -81,7 +81,7 @@
39         ( echo '.\" DO NOT EDIT THIS FILE-- edit driftnet.1.in instead' ; sed s/@@@VERSION@@@/$(VERSION)/ ) < driftnet.1.in > driftnet.1
40  
41  endianness: endian
42 -       ./endian > endianness
43 +
44  
45  endian: endian.c
46         $(CC) $(CFLAGS) -o endian endian.c
47 @@ -103,7 +103,7 @@
48         mv driftnet-$(VERSION).tar.gz ..
49         
50  depend: endianness
51 -       makedepend -- $(CFLAGS) `cat endianness` -- $(SRCS)
52 +       makedepend -- $(CFLAGS) -DDRIFTNET_LITTLE_ENDIAN -- $(SRCS)
53         touch depend
54         rm -f Makefile.bak
55