Dash:
[t2-trunk.git] / package / network / arphound / hotfix.patch
blobeccc60a1334622886cfb6b6af4ac43bee9fd2d64
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../arphound/build.patch
5 # Copyright (C) 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- arphound-1.3.1/src/Makefile.orig 2006-04-28 15:46:56.000000000 +0200
18 +++ arphound-1.3.1/src/Makefile 2006-04-28 15:46:23.000000000 +0200
19 @@ -11,7 +11,7 @@
20 ob: $(OBJ_SRC:=.o)
22 .C.o:
23 - $(CPP) $(C_FLAGS) $(DEFINES) -c $<
24 + $(CXX) $(C_FLAGS) $(DEFINES) -c $<
26 .c.o:
27 $(CC) $(C_FLAGS) -c $<
28 --- arphound-1.3.1/shared/Makefile.orig 2006-04-28 15:47:52.000000000 +0200
29 +++ arphound-1.3.1/shared/Makefile 2006-04-28 15:48:02.000000000 +0200
30 @@ -9,7 +9,7 @@
31 ob: $(OBJ_SHARED:=.o)
33 .C.o:
34 - $(CPP) $(C_FLAGS) -c $<
35 + $(CXX) $(C_FLAGS) -c $<
37 .c.o:
38 $(CC) $(C_FLAGS) -c $<
39 --- arphound-1.3.1/Makefile.common.orig 2006-04-28 15:41:25.000000000 +0200
40 +++ arphound-1.3.1/Makefile.common 2006-04-28 15:45:59.000000000 +0200
41 @@ -24,9 +24,9 @@
43 # Build
44 .SUFFIXES = .C .c .o
45 -CPP = g++
46 +CXX = g++
47 CC = gcc
48 -C_FLAGS = -O3 -Wno-deprecated -w
49 +C_FLAGS = -O3 -w
50 OBJ_SHARED = lc dnsquery bsocket_l log pidfile parseconfig
51 OBJ_SRC = arphound
53 --- arphound-1.3.1/Makefile.orig 2006-04-28 15:47:21.000000000 +0200
54 +++ arphound-1.3.1/Makefile 2006-04-28 15:47:32.000000000 +0200
55 @@ -13,7 +13,7 @@
56 @cd shared && make
58 arphound: binary
59 - $(CPP) -o arphound $(OBJ_SRC:%=src/%.o) $(OBJ_SHARED:%=shared/%.o) -lpcap -lpthread
60 + $(CXX) -o arphound $(OBJ_SRC:%=src/%.o) $(OBJ_SHARED:%=shared/%.o) -lpcap -lpthread
62 install:
63 @echo -n "Installing ArpHound... "