mirror of the now-defunct rocklinux.org
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.

127 lines
4.2 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/jsaw/epplets-extra16/e-xmms.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- E-Xmms-0.3/configure.orig-rock-maint 2003-08-29 09:40:58.000000000 +0200
  23. +++ E-Xmms-0.3/configure 2003-08-29 10:16:32.000000000 +0200
  24. @@ -3702,51 +3702,6 @@
  25. fi
  26. -echo $ac_n "checking for Epplet_Init in -lepplet""... $ac_c" 1>&6
  27. -echo "configure:3707: checking for Epplet_Init in -lepplet" >&5
  28. -ac_lib_var=`echo epplet'_'Epplet_Init | sed 'y%./+-%__p_%'`
  29. -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  30. - echo $ac_n "(cached) $ac_c" 1>&6
  31. -else
  32. - ac_save_LIBS="$LIBS"
  33. -LIBS="-lepplet $EPPLET_LIBS $LIBS"
  34. -cat > conftest.$ac_ext <<EOF
  35. -#line 3715 "configure"
  36. -#include "confdefs.h"
  37. -/* Override any gcc2 internal prototype to avoid an error. */
  38. -/* We use char because int might match the return type of a gcc2
  39. - builtin and then its argument prototype would still apply. */
  40. -char Epplet_Init();
  41. -
  42. -int main() {
  43. -Epplet_Init()
  44. -; return 0; }
  45. -EOF
  46. -if { (eval echo configure:3726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  47. - rm -rf conftest*
  48. - eval "ac_cv_lib_$ac_lib_var=yes"
  49. -else
  50. - echo "configure: failed program was:" >&5
  51. - cat conftest.$ac_ext >&5
  52. - rm -rf conftest*
  53. - eval "ac_cv_lib_$ac_lib_var=no"
  54. -fi
  55. -rm -f conftest*
  56. -LIBS="$ac_save_LIBS"
  57. -
  58. -fi
  59. -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  60. - echo "$ac_t""yes" 1>&6
  61. - EPPLET_LIBS=-lepplet
  62. -else
  63. - echo "$ac_t""no" 1>&6
  64. -
  65. -echo "Error : cannot link epplet library"
  66. -{ echo "configure: error: Fatal Error : Epplet library file libepplet.so not found" 1>&2; exit 1; }
  67. -fi
  68. -
  69. -
  70. -
  71. # Extract the first word of "imlib-config", so it can be a program name with args.
  72. set dummy imlib-config; ac_word=$2
  73. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  74. @@ -4083,6 +4038,50 @@
  75. fi
  76. +
  77. +echo $ac_n "checking for Epplet_Init in -lepplet""... $ac_c" 1>&6
  78. +echo "configure:3707: checking for Epplet_Init in -lepplet" >&5
  79. +ac_lib_var=`echo epplet'_'Epplet_Init | sed 'y%./+-%__p_%'`
  80. +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  81. + echo $ac_n "(cached) $ac_c" 1>&6
  82. +else
  83. + ac_save_LIBS="$LIBS"
  84. +LIBS="-lepplet `$IMLIB_CONFIG --libs` -L$E16/lib $EPPLET_LIBS $LIBS"
  85. +cat > conftest.$ac_ext <<EOF
  86. +#line 3715 "configure"
  87. +#include "confdefs.h"
  88. +/* Override any gcc2 internal prototype to avoid an error. */
  89. +/* We use char because int might match the return type of a gcc2
  90. + builtin and then its argument prototype would still apply. */
  91. +char Epplet_Init();
  92. +
  93. +int main() {
  94. +Epplet_Init()
  95. +; return 0; }
  96. +EOF
  97. +if { (eval echo configure:3726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  98. + rm -rf conftest*
  99. + eval "ac_cv_lib_$ac_lib_var=yes"
  100. +else
  101. + echo "configure: failed program was:" >&5
  102. + cat conftest.$ac_ext >&5
  103. + rm -rf conftest*
  104. + eval "ac_cv_lib_$ac_lib_var=no"
  105. +fi
  106. +rm -f conftest*
  107. +LIBS="$ac_save_LIBS"
  108. +
  109. +fi
  110. +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  111. + echo "$ac_t""yes" 1>&6
  112. + EPPLET_LIBS=-lepplet
  113. +else
  114. + echo "$ac_t""no" 1>&6
  115. +
  116. +echo "Error : cannot link epplet library"
  117. +{ echo "configure: error: Fatal Error : Epplet library file libepplet.so not found" 1>&2; exit 1; }
  118. +fi
  119. +
  120. #
  121. # ok enlightenment d00ds want to ignore civilization and install
  122. # everything in one place. The rest of use prefer sanity.