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.

138 lines
4.4 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/gnome2/dia/png-hotfix.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./configure.orig 2004-12-06 02:08:09.273370376 +0100
  20. +++ ./configure 2004-12-06 02:10:24.354834872 +0100
  21. @@ -22383,52 +22383,52 @@
  22. png_ok=no
  23. fi
  24. -if test "$png_ok" = yes; then
  25. - echo "$as_me:$LINENO: checking for png_structp in png.h" >&5
  26. -echo $ECHO_N "checking for png_structp in png.h... $ECHO_C" >&6
  27. - old_LDFLAGS="${LDFLAGS}"
  28. - LDFLAGS="${LDFLAGS} -lz -lm"
  29. - cat >conftest.$ac_ext <<_ACEOF
  30. -#include <png.h>
  31. - png_structp pp;
  32. - png_infop info;
  33. - png_colorp cmap;
  34. - main() { void*foo = png_create_read_struct; }
  35. -_ACEOF
  36. -rm -f conftest.$ac_objext conftest$ac_exeext
  37. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  38. - (eval $ac_link) 2>conftest.er1
  39. - ac_status=$?
  40. - grep -v '^ *+' conftest.er1 >conftest.err
  41. - rm -f conftest.er1
  42. - cat conftest.err >&5
  43. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  44. - (exit $ac_status); } &&
  45. - { ac_try='test -z "$ac_c_werror_flag"
  46. - || test ! -s conftest.err'
  47. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  48. - (eval $ac_try) 2>&5
  49. - ac_status=$?
  50. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  51. - (exit $ac_status); }; } &&
  52. - { ac_try='test -s conftest$ac_exeext'
  53. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  54. - (eval $ac_try) 2>&5
  55. - ac_status=$?
  56. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  57. - (exit $ac_status); }; }; then
  58. - png_ok=yes
  59. -else
  60. - echo "$as_me: failed program was:" >&5
  61. -sed 's/^/| /' conftest.$ac_ext >&5
  62. -
  63. -png_ok=no
  64. -fi
  65. -rm -f conftest.err conftest.$ac_objext \
  66. - conftest$ac_exeext conftest.$ac_ext
  67. - LDFLAGS="${old_LDFLAGS}"
  68. - echo "$as_me:$LINENO: result: $png_ok" >&5
  69. -echo "${ECHO_T}$png_ok" >&6
  70. +#if test "$png_ok" = yes; then
  71. +# echo "$as_me:$LINENO: checking for png_structp in png.h" >&5
  72. +#echo $ECHO_N "checking for png_structp in png.h... $ECHO_C" >&6
  73. +# old_LDFLAGS="${LDFLAGS}"
  74. +# LDFLAGS="${LDFLAGS} -lz -lm"
  75. +# cat >conftest.$ac_ext <<_ACEOF
  76. +##include <png.h>
  77. +# png_structp pp;
  78. +# png_infop info;
  79. +# png_colorp cmap;
  80. +# main() { void*foo = png_create_read_struct; }
  81. +#_ACEOF
  82. +#rm -f conftest.$ac_objext conftest$ac_exeext
  83. +#if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  84. +# (eval $ac_link) 2>conftest.er1
  85. +# ac_status=$?
  86. +# grep -v '^ *+' conftest.er1 >conftest.err
  87. +# rm -f conftest.er1
  88. +# cat conftest.err >&5
  89. +# echo "$as_me:$LINENO: \$? = $ac_status" >&5
  90. +# (exit $ac_status); } &&
  91. +# { ac_try='test -z "$ac_c_werror_flag"
  92. +# || test ! -s conftest.err'
  93. +# { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  94. +# (eval $ac_try) 2>&5
  95. +# ac_status=$?
  96. +# echo "$as_me:$LINENO: \$? = $ac_status" >&5
  97. +# (exit $ac_status); }; } &&
  98. +# { ac_try='test -s conftest$ac_exeext'
  99. +# { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  100. +# (eval $ac_try) 2>&5
  101. +# ac_status=$?
  102. +# echo "$as_me:$LINENO: \$? = $ac_status" >&5
  103. +# (exit $ac_status); }; }; then
  104. +# png_ok=yes
  105. +#else
  106. +# echo "$as_me: failed program was:" >&5
  107. +#sed 's/^/| /' conftest.$ac_ext >&5
  108. +#
  109. +#png_ok=no
  110. +#fi
  111. +#rm -f conftest.err conftest.$ac_objext \
  112. +# conftest$ac_exeext conftest.$ac_ext
  113. +# LDFLAGS="${old_LDFLAGS}"
  114. +# echo "$as_me:$LINENO: result: $png_ok" >&5
  115. +#echo "${ECHO_T}$png_ok" >&6
  116. if test "$png_ok" = yes; then
  117. PNG_LIBS='-lpng -lz -lm'
  118. @@ -22437,7 +22437,7 @@
  119. _ACEOF
  120. fi
  121. -fi
  122. +#fi
  123. LIBS="${old_LIBS} ${PNG_LIBS}"
  124. @@ -25132,7 +25132,7 @@
  125. if test -z "$PYTHON"; then
  126. - for ac_prog in python python2.1 python2.0 python1.6 python1.5
  127. + for ac_prog in python python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
  128. do
  129. # Extract the first word of "$ac_prog", so it can be a program name with args.
  130. set dummy $ac_prog; ac_word=$2