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.

42 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../pkgconfig/pkg-config-0.23-sysroot.patch
  5. # Copyright (C) 2008 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. http://lists.freedesktop.org/archives/pkg-config/2008-January/000255.html
  17. pkg-config 0.23 PKG_CONFIG_SYSROOT_DIR bug
  18. Paul Bender <pebender@san.rr.com>
  19. Tue Jan 22 20:04:41 PST 2008
  20. There appears to be a bug in the handling of the new
  21. PKG_CONFIG_SYSROOT_DIR. When PKG_CONFIG_SYSROOT_DIR is set, on the all
  22. but the -I and -L options are removed from --cflags and --libs
  23. respectively. This does not seem like the right behavior.
  24. I have attached a patch that fixes the problem for me.
  25. diff -Naur pkg-config-0.23-old/pkg.c pkg-config-0.23-new/pkg.c
  26. --- pkg-config-0.23-old/pkg.c 2008-01-16 13:59:49.000000000 -0800
  27. +++ pkg-config-0.23-new/pkg.c 2008-01-22 15:00:55.000000000 -0800
  28. @@ -483,6 +483,10 @@
  29. g_string_append (str, pcsysrootdir);
  30. g_string_append (str, tmpstr+2);
  31. }
  32. + else
  33. + {
  34. + g_string_append (str, tmpstr);
  35. + }
  36. }
  37. else
  38. {