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
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
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
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
36 - $(CPP) $(C_FLAGS) -c $<
37 + $(CXX) $(C_FLAGS) -c $<
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
48 - $(CPP) $(C_FLAGS) $(DEFINES) -c $<
49 + $(CXX) $(C_FLAGS) $(DEFINES) -c $<
52 $(CC) $(C_FLAGS) -c $<