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.

61 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../flightgear/X11.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. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- FlightGear-0.9.9/configure.orig 2006-02-13 17:19:28.000000000 +0100
  17. +++ FlightGear-0.9.9/configure 2006-02-15 02:56:21.000000000 +0100
  18. @@ -4556,11 +4556,11 @@
  19. ;;
  20. *)
  21. - if test -d /usr/X11R6 ; then
  22. - EXTRA_DIR1="/usr/X11R6"
  23. + if test -d /usr/X11 ; then
  24. + EXTRA_DIR1="/usr/X11"
  25. fi
  26. - if test -d /opt/X11R6 ; then
  27. - EXTRA_DIR2="/opt/X11R6"
  28. + if test -d /opt/X11 ; then
  29. + EXTRA_DIR2="/opt/X11"
  30. fi
  31. EXTRA_DIRS="${EXTRA_DIRS} $EXTRA_DIR1 $EXTRA_DIR2 /usr/local"
  32. ;;
  33. @@ -4601,7 +4601,7 @@
  34. fi
  35. - mylibdir="${exdir}/lib${subexdir}"
  36. + mylibdir="${exdir}/lib${libsuff}${subexdir}"
  37. mylibdir="$mylibdir"
  38. if test -r $mylibdir ; then
  39. @@ -5166,7 +5166,7 @@
  40. sed 's/^/| /' conftest.$ac_ext >&5
  41. LIBS=$ac_save_LIBS
  42. -for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  43. +for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib${libsuff}/g`
  44. do
  45. # Don't even attempt the hair of trying to link an X program!
  46. for ac_extension in a so sl; do
  47. @@ -8934,7 +8934,7 @@
  48. conftest$ac_exeext conftest.$ac_ext
  49. if test "$ac_cv_search_glutGetModifiers" = no; then
  50. for ac_lib in glut freeglut ; do
  51. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  52. + LIBS="-L$ac_x_libraries -l$ac_lib $ac_func_search_save_LIBS"
  53. cat >conftest.$ac_ext <<_ACEOF
  54. /* confdefs.h. */
  55. _ACEOF