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.

43 lines
1.5 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../boomerang/progpath.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 ---
  16. --- boomerang/loader/BinaryFileFactory.cpp.vanilla 2000-01-01 00:00:00.000000000 +0000
  17. +++ boomerang/loader/BinaryFileFactory.cpp 2006-07-24 18:10:51.000000000 +0000
  18. @@ -105,7 +105,7 @@
  19. // Load the specific loader library
  20. #ifndef _WIN32 // Cygwin, Unix/Linux
  21. - libName = std::string("lib/lib") + libName;
  22. + libName = std::string("/usr/" "lib/lib") + libName;
  23. #ifdef __CYGWIN__
  24. libName += ".dll"; // Cygwin wants .dll, but is otherwise like Unix
  25. #else
  26. --- boomerang/boomerang.cpp.vanilla 2000-01-01 00:00:00.000000000 +0000
  27. +++ boomerang/boomerang.cpp 2006-07-24 17:40:50.000000000 +0000
  28. @@ -893,8 +893,13 @@
  29. break;
  30. case 'P':
  31. progPath = argv[++i];
  32. +#ifdef _MSC_VER
  33. if (progPath[progPath.length()-1] != '\\')
  34. progPath += "\\";
  35. +#else
  36. + if (progPath[progPath.length()-1] != '/')
  37. + progPath += "/";
  38. +#endif
  39. break;
  40. case 'a':
  41. assumeABI = true;