OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../arphound/gcc4.patch
  5. # Copyright (C) 2006 The OpenSDE 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. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -ru arphound-1.3.2-orig/Makefile arphound-1.3.2/Makefile
  17. --- arphound-1.3.2-orig/Makefile 2006-11-26 17:38:16.000000000 +0100
  18. +++ arphound-1.3.2/Makefile 2006-11-26 17:40:05.000000000 +0100
  19. @@ -13,7 +13,7 @@
  20. @cd shared && make
  21. arphound: binary
  22. - $(CPP) -o arphound $(OBJ_SRC:%=src/%.o) $(OBJ_SHARED:%=shared/%.o) -lpcap -lpthread
  23. + $(CXX) -o arphound $(OBJ_SRC:%=src/%.o) $(OBJ_SHARED:%=shared/%.o) -lpcap -lpthread
  24. install:
  25. @echo -n "Installing ArpHound... "
  26. diff -ru arphound-1.3.2-orig/shared/Makefile arphound-1.3.2/shared/Makefile
  27. --- arphound-1.3.2-orig/shared/Makefile 2006-11-26 17:38:16.000000000 +0100
  28. +++ arphound-1.3.2/shared/Makefile 2006-11-26 17:40:34.000000000 +0100
  29. @@ -9,7 +9,7 @@
  30. ob: $(OBJ_SHARED:=.o)
  31. .C.o:
  32. - $(CPP) $(C_FLAGS) -c $<
  33. + $(CXX) $(C_FLAGS) -c $<
  34. .c.o:
  35. $(CC) $(C_FLAGS) -c $<
  36. diff -ru arphound-1.3.2-orig/src/Makefile arphound-1.3.2/src/Makefile
  37. --- arphound-1.3.2-orig/src/Makefile 2006-11-26 17:38:16.000000000 +0100
  38. +++ arphound-1.3.2/src/Makefile 2006-11-26 17:40:21.000000000 +0100
  39. @@ -11,7 +11,7 @@
  40. ob: $(OBJ_SRC:=.o)
  41. .C.o:
  42. - $(CPP) $(C_FLAGS) $(DEFINES) -c $<
  43. + $(CXX) $(C_FLAGS) $(DEFINES) -c $<
  44. .c.o:
  45. $(CC) $(C_FLAGS) -c $<