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.

125 lines
4.0 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/gnome24/dia/png-hotfix.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 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. --- dia-0.92.2/configure.orig 2003-11-18 11:57:25.000000000 +0100
  20. +++ dia-0.92.2/configure 2003-11-18 18:33:27.000000000 +0100
  21. @@ -20979,41 +20979,42 @@
  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>&5
  39. - ac_status=$?
  40. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  41. - (exit $ac_status); } &&
  42. - { ac_try='test -s conftest$ac_exeext'
  43. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  44. - (eval $ac_try) 2>&5
  45. - ac_status=$?
  46. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  47. - (exit $ac_status); }; }; then
  48. - png_ok=yes
  49. -else
  50. - echo "$as_me: failed program was:" >&5
  51. -sed 's/^/| /' conftest.$ac_ext >&5
  52. -
  53. -png_ok=no
  54. -fi
  55. -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  56. - LDFLAGS="${old_LDFLAGS}"
  57. - echo "$as_me:$LINENO: result: $png_ok" >&5
  58. -echo "${ECHO_T}$png_ok" >&6
  59. +# if test "$png_ok" = yes; then
  60. +# echo "$as_me:$LINENO: checking for png_structp in png.h" >&5
  61. +# echo $ECHO_N "checking for png_structp in png.h... $ECHO_C" >&6
  62. +# old_LDFLAGS="${LDFLAGS}"
  63. +# LDFLAGS="${LDFLAGS} -lz -lm"
  64. +# cat >conftest.$ac_ext <<_ACEOF
  65. +# #include <png.h>
  66. +# png_structp pp;
  67. +# png_infop info;
  68. +# png_colorp cmap;
  69. +# main() { void*foo = png_create_read_struct; }
  70. +# _ACEOF
  71. +# rm -f conftest.$ac_objext conftest$ac_exeext
  72. +# if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  73. +# (eval $ac_link) 2>&5
  74. +# ac_status=$?
  75. +# echo "$as_me:$LINENO: \$? = $ac_status" >&5
  76. +# (exit $ac_status); } &&
  77. +# { ac_try='test -s conftest$ac_exeext'
  78. +# { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  79. +# (eval $ac_try) 2>&5
  80. +# ac_status=$?
  81. +# echo "$as_me:$LINENO: \$? = $ac_status" >&5
  82. +# (exit $ac_status); }; }; then
  83. +# png_ok=yes
  84. +# else
  85. +# echo "$as_me: failed program was:" >&5
  86. +# sed 's/^/| /' conftest.$ac_ext >&5
  87. +
  88. +# png_ok=no
  89. +# fi
  90. +
  91. +#rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  92. +# LDFLAGS="${old_LDFLAGS}"
  93. +# echo "$as_me:$LINENO: result: $png_ok" >&5
  94. +#echo "${ECHO_T}$png_ok" >&6
  95. if test "$png_ok" = yes; then
  96. PNG_LIBS='-lpng -lz -lm'
  97. @@ -21022,7 +21023,7 @@
  98. _ACEOF
  99. fi
  100. -fi
  101. +#fi
  102. LIBS="${old_LIBS} ${PNG_LIBS}"
  103. @@ -23431,7 +23432,7 @@
  104. if test -z "$PYTHON"; then
  105. - for ac_prog in python python2.1 python2.0 python1.6 python1.5
  106. + for ac_prog in python python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
  107. do
  108. # Extract the first word of "$ac_prog", so it can be a program name with args.
  109. set dummy $ac_prog; ac_word=$2
  110. @@ -23546,7 +23547,6 @@
  111. echo "$as_me:$LINENO: result: looks good" >&5
  112. echo "${ECHO_T}looks good" >&6
  113. -
  114. py_mod_var=`echo gtk'_' | sed 'y%./+-%__p_%'`
  115. echo "$as_me:$LINENO: checking for python module gtk" >&5
  116. echo $ECHO_N "checking for python module gtk... $ECHO_C" >&6