[git] Updated (1.5.5.4 -> 1.5.6.1)
[opensde-package-nopast.git] / network / arphound / gcc4.patch
blob6c4bd7066c682a3364ba6f177d0aad8a8ef42e5f
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../arphound/gcc4.patch
5 # Copyright (C) 2006 The OpenSDE Project
7 # More information can be found in the files COPYING and README.
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 # --- SDE-COPYRIGHT-NOTE-END ---
17 diff -ru arphound-1.3.2-orig/Makefile arphound-1.3.2/Makefile
18 --- arphound-1.3.2-orig/Makefile 2006-11-26 17:38:16.000000000 +0100
19 +++ arphound-1.3.2/Makefile 2006-11-26 17:40:05.000000000 +0100
20 @@ -13,7 +13,7 @@
21 @cd shared && make
23 arphound: binary
24 - $(CPP) -o arphound $(OBJ_SRC:%=src/%.o) $(OBJ_SHARED:%=shared/%.o) -lpcap -lpthread
25 + $(CXX) -o arphound $(OBJ_SRC:%=src/%.o) $(OBJ_SHARED:%=shared/%.o) -lpcap -lpthread
27 install:
28 @echo -n "Installing ArpHound... "
29 diff -ru arphound-1.3.2-orig/shared/Makefile arphound-1.3.2/shared/Makefile
30 --- arphound-1.3.2-orig/shared/Makefile 2006-11-26 17:38:16.000000000 +0100
31 +++ arphound-1.3.2/shared/Makefile 2006-11-26 17:40:34.000000000 +0100
32 @@ -9,7 +9,7 @@
33 ob: $(OBJ_SHARED:=.o)
35 .C.o:
36 - $(CPP) $(C_FLAGS) -c $<
37 + $(CXX) $(C_FLAGS) -c $<
39 .c.o:
40 $(CC) $(C_FLAGS) -c $<
41 diff -ru arphound-1.3.2-orig/src/Makefile arphound-1.3.2/src/Makefile
42 --- arphound-1.3.2-orig/src/Makefile 2006-11-26 17:38:16.000000000 +0100
43 +++ arphound-1.3.2/src/Makefile 2006-11-26 17:40:21.000000000 +0100
44 @@ -11,7 +11,7 @@
45 ob: $(OBJ_SRC:=.o)
47 .C.o:
48 - $(CPP) $(C_FLAGS) $(DEFINES) -c $<
49 + $(CXX) $(C_FLAGS) $(DEFINES) -c $<
51 .c.o:
52 $(CC) $(C_FLAGS) -c $<