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.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libvncserver/libvncserver-0.9.9-client_examples_SDLvncviewer-honor-x-libraries-path.patch
  5. # Copyright (C) 2012 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. The Makefile doesn't honor if the configure option --x-libraries is used to set
  17. a non-standard path to the X libraries, leading to linking errors when trying to
  18. link against libx11.
  19. --- LibVNCServer-0.9.9/client_examples/Makefile.am.orig 2012-06-26 17:05:54.029070046 +0200
  20. +++ LibVNCServer-0.9.9/client_examples/Makefile.am 2012-06-26 17:02:02.717456204 +0200
  21. @@ -21,7 +21,7 @@
  22. SDLvncviewer_SOURCES=SDLvncviewer.c scrap.c scrap.h
  23. if HAVE_X11
  24. -X11_LIB=-lX11
  25. +X11_LIB=$(X_LIBS) -lX11
  26. endif
  27. # thanks to autoconf, this looks ugly
  28. --- LibVNCServer-0.9.9/client_examples/Makefile.in.orig 2012-06-26 17:02:12.226652758 +0200
  29. +++ LibVNCServer-0.9.9/client_examples/Makefile.in 2012-06-26 17:02:52.779550667 +0200
  30. @@ -273,7 +275,7 @@
  31. @HAVE_LIBSDL_TRUE@SDLVIEWER = SDLvncviewer
  32. @HAVE_LIBSDL_TRUE@SDLvncviewer_CFLAGS = $(SDL_CFLAGS)
  33. @HAVE_LIBSDL_TRUE@SDLvncviewer_SOURCES = SDLvncviewer.c scrap.c scrap.h
  34. -@HAVE_LIBSDL_TRUE@@HAVE_X11_TRUE@X11_LIB = -lX11
  35. +@HAVE_LIBSDL_TRUE@@HAVE_X11_TRUE@X11_LIB = $(X_LIBS) -lX11
  36. # thanks to autoconf, this looks ugly
  37. @HAVE_LIBSDL_TRUE@SDLvncviewer_LDADD = $(LDADD) $(SDL_LIBS) $(X11_LIB)