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.

129 lines
4.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libgphoto/libtool-fix.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. diff -Nur libgphoto2-2.4.1-orig/configure libgphoto2-2.4.1/configure
  17. --- libgphoto2-2.4.1-orig/configure 2008-04-20 11:47:59.000000000 +0000
  18. +++ libgphoto2-2.4.1/configure 2008-04-20 11:48:16.000000000 +0000
  19. @@ -20504,9 +20504,9 @@
  20. fi
  21. if test $ac_cv_header_ltdl_h = yes; then
  22. - { echo "$as_me:$LINENO: checking for lt_dlcaller_register in -lltdl" >&5
  23. -echo $ECHO_N "checking for lt_dlcaller_register in -lltdl... $ECHO_C" >&6; }
  24. -if test "${ac_cv_lib_ltdl_lt_dlcaller_register+set}" = set; then
  25. + { echo "$as_me:$LINENO: checking for lt_dlinit in -lltdl" >&5
  26. +echo $ECHO_N "checking for lt_dlinit in -lltdl... $ECHO_C" >&6; }
  27. +if test "${ac_cv_lib_ltdl_lt_dlinit+set}" = set; then
  28. echo $ECHO_N "(cached) $ECHO_C" >&6
  29. else
  30. ac_check_lib_save_LIBS=$LIBS
  31. @@ -20524,11 +20524,11 @@
  32. #ifdef __cplusplus
  33. extern "C"
  34. #endif
  35. -char lt_dlcaller_register ();
  36. +char lt_dlinit ();
  37. int
  38. main ()
  39. {
  40. -return lt_dlcaller_register ();
  41. +return lt_dlinit ();
  42. ;
  43. return 0;
  44. }
  45. @@ -20551,21 +20551,21 @@
  46. test ! -s conftest.err
  47. } && test -s conftest$ac_exeext &&
  48. $as_test_x conftest$ac_exeext; then
  49. - ac_cv_lib_ltdl_lt_dlcaller_register=yes
  50. + ac_cv_lib_ltdl_lt_dlinit=yes
  51. else
  52. echo "$as_me: failed program was:" >&5
  53. sed 's/^/| /' conftest.$ac_ext >&5
  54. - ac_cv_lib_ltdl_lt_dlcaller_register=no
  55. + ac_cv_lib_ltdl_lt_dlinit=no
  56. fi
  57. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  58. conftest$ac_exeext conftest.$ac_ext
  59. LIBS=$ac_check_lib_save_LIBS
  60. fi
  61. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlcaller_register" >&5
  62. -echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlcaller_register" >&6; }
  63. -if test $ac_cv_lib_ltdl_lt_dlcaller_register = yes; then
  64. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlinit" >&5
  65. +echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlinit" >&6; }
  66. +if test $ac_cv_lib_ltdl_lt_dlinit = yes; then
  67. LTDLINCL=""
  68. LIBLTDL="-lltdl"
  69. diff -Nur libgphoto2-2.4.1-orig/libgphoto2_port/configure libgphoto2-2.4.1/libgphoto2_port/configure
  70. --- libgphoto2-2.4.1-orig/libgphoto2_port/configure 2008-04-20 11:47:59.000000000 +0000
  71. +++ libgphoto2-2.4.1/libgphoto2_port/configure 2008-04-20 11:48:27.000000000 +0000
  72. @@ -20074,9 +20074,9 @@
  73. fi
  74. if test $ac_cv_header_ltdl_h = yes; then
  75. - { echo "$as_me:$LINENO: checking for lt_dlcaller_register in -lltdl" >&5
  76. -echo $ECHO_N "checking for lt_dlcaller_register in -lltdl... $ECHO_C" >&6; }
  77. -if test "${ac_cv_lib_ltdl_lt_dlcaller_register+set}" = set; then
  78. + { echo "$as_me:$LINENO: checking for lt_dlinit in -lltdl" >&5
  79. +echo $ECHO_N "checking for lt_dlinit in -lltdl... $ECHO_C" >&6; }
  80. +if test "${ac_cv_lib_ltdl_lt_dlinit+set}" = set; then
  81. echo $ECHO_N "(cached) $ECHO_C" >&6
  82. else
  83. ac_check_lib_save_LIBS=$LIBS
  84. @@ -20094,11 +20094,11 @@
  85. #ifdef __cplusplus
  86. extern "C"
  87. #endif
  88. -char lt_dlcaller_register ();
  89. +char lt_dlinit ();
  90. int
  91. main ()
  92. {
  93. -return lt_dlcaller_register ();
  94. +return lt_dlinit ();
  95. ;
  96. return 0;
  97. }
  98. @@ -20121,21 +20121,21 @@
  99. test ! -s conftest.err
  100. } && test -s conftest$ac_exeext &&
  101. $as_test_x conftest$ac_exeext; then
  102. - ac_cv_lib_ltdl_lt_dlcaller_register=yes
  103. + ac_cv_lib_ltdl_lt_dlinit=yes
  104. else
  105. echo "$as_me: failed program was:" >&5
  106. sed 's/^/| /' conftest.$ac_ext >&5
  107. - ac_cv_lib_ltdl_lt_dlcaller_register=no
  108. + ac_cv_lib_ltdl_lt_dlinit=no
  109. fi
  110. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  111. conftest$ac_exeext conftest.$ac_ext
  112. LIBS=$ac_check_lib_save_LIBS
  113. fi
  114. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlcaller_register" >&5
  115. -echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlcaller_register" >&6; }
  116. -if test $ac_cv_lib_ltdl_lt_dlcaller_register = yes; then
  117. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlinit" >&5
  118. +echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlinit" >&6; }
  119. +if test $ac_cv_lib_ltdl_lt_dlinit = yes; then
  120. LTDLINCL=""
  121. LIBLTDL="-lltdl"