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.

45 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../erlang-otp/wx-CXX.patch
  5. # Copyright (C) 2010 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. Description:
  17. CPP is not a good variable name to choose for defining the C++ compiler,
  18. because it is often used for the C Preprocessor (CPP).
  19. This patch is renaming the CPP variable to CXX, which should be more
  20. standard behavior.
  21. diff -ruN otp_src_R13B04-orig/lib/wx/c_src/Makefile.in otp_src_R13B04/lib/wx/c_src/Makefile.in
  22. --- otp_src_R13B04-orig/lib/wx/c_src/Makefile.in 2010-02-19 19:05:57.000000000 +0100
  23. +++ otp_src_R13B04/lib/wx/c_src/Makefile.in 2010-08-23 13:54:00.028057277 +0200
  24. @@ -82,8 +82,8 @@
  25. COMMON_CFLAGS = @DEFS@ $(ERL_INCS)
  26. CC = @CC@
  27. -CPP = @CXX@
  28. -LD = $(CPP)
  29. +CXX = @CXX@
  30. +LD = $(CXX)
  31. LDFLAGS = @LDFLAGS@
  32. RESCOMP = @WX_RESCOMP@
  33. @@ -107,7 +107,7 @@
  34. endif
  35. CC_O = $(CC) -c $(CFLAGS) $(COMMON_CFLAGS)
  36. -CPP_O = $(CPP) -c $(CPP_FLAGS) $(COMMON_CFLAGS)
  37. +CPP_O = $(CXX) -c $(CPP_FLAGS) $(COMMON_CFLAGS)
  38. # Targets