]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/driftnet/driftnet-nogui-0.1.6/arm.patch.old
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.old
1 --- ./driftnet-0.1.6/Makefile~  2002-07-09 19:26:41.000000000 +0000
2 +++ ./driftnet-0.1.6/Makefile   2004-10-16 11:33:48.238088984 +0000
3 @@ -13,7 +13,7 @@
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 @@ -31,8 +31,8 @@
13  
14  # Optional C compiler and linker flags. Typical driftnet builds have support
15  # for displaying captured images in an X window, and need the following flags:
16 -CFLAGS  += `gtk-config --cflags`
17 -LDLIBS  += -ljpeg -lungif `gtk-config --libs`
18 +#CFLAGS  += `gtk-config --cflags`
19 +#LDLIBS  += -ljpeg -lungif `gtk-config --libs`
20  
21  # Alternatively, you can build a version of driftnet which can only be used
22  # in `adjunct' mode as the back end for some other image-processing program. To
23 @@ -43,7 +43,7 @@
24  # On systems with a C99 compiler, driftnet will use <stdint.h> for the
25  # definitions of types such as uint8_t. On other systems like Solaris, these
26  # are in <sys/types.h>, and you should uncomment this line.
27 -#CFLAGS += -DUSE_SYS_TYPES_H
28 +CFLAGS += -DUSE_SYS_TYPES_H
29  
30  # On Solaris, it is necessary to link against -lposix4 for the definition of
31  # nanosleep; uncomment the below.
32 @@ -81,7 +81,7 @@
33         ( echo '.\" DO NOT EDIT THIS FILE-- edit driftnet.1.in instead' ; sed s/@@@VERSION@@@/$(VERSION)/ ) < driftnet.1.in > driftnet.1
34  
35  endianness: endian
36 -       ./endian > endianness
37 +
38  
39  endian: endian.c
40         $(CC) $(CFLAGS) -o endian endian.c
41 @@ -103,7 +103,7 @@
42         mv driftnet-$(VERSION).tar.gz ..
43         
44  depend: endianness
45 -       makedepend -- $(CFLAGS) `cat endianness` -- $(SRCS)
46 +       makedepend -- $(CFLAGS) -DDRIFTNET_LITTLE_ENDIAN -- $(SRCS)
47         touch depend
48         rm -f Makefile.bak
49