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.

37 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../mythtv/mythtv-0.24-libmythhdhomerun-use-ldflags.patch
  5. # Copyright (C) 2011 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: Fix to use extra LDFLAGS while linking libmythhdhomerun
  17. MythTV provides a configure option '--extra-ldflags' to pass extra LDFLAGS
  18. which is handy if a library is not installed in a path supported by default.
  19. On OpenSDE based systems X11R7 gets installed with the prefix '/usr/X11R7'
  20. so libraries are installed in '/usr/X11R7/lib', which is not found by the
  21. MythTV build system, thus we are passing '-L/usr/X11R7/lib' using the
  22. '--extra-ldflags' configure option.
  23. This seems to work fairly well, besides with libmythhdhomerun which is not
  24. honoring the provided extra LDFLAGS.
  25. --- mythtv-0.24/libs/libmythhdhomerun/libmythhdhomerun.pro.orig 2011-04-08 12:48:54.436075914 +0200
  26. +++ mythtv-0.24/libs/libmythhdhomerun/libmythhdhomerun.pro 2011-04-08 12:14:57.184075914 +0200
  27. @@ -33,6 +33,6 @@
  28. LIBS += -lws2_32 -liphlpapi -lpthread
  29. }
  30. -LIBS += $$EXTRALIBS
  31. +LIBS += $$LDFLAGS $$EXTRALIBS
  32. include ( ../libs-targetfix.pro )