diff options
author | dholland <dholland> | 2011-07-02 19:05:06 +0000 |
---|---|---|
committer | dholland <dholland> | 2011-07-02 19:05:06 +0000 |
commit | 9deaea0f6b6cb75f0f5ad9341aaa0fc8eeb3dc94 (patch) | |
tree | 886a4d16fe3ce3f6eaf9f044b6d5996aec5c56a9 /www/amaya/patches | |
parent | 0c701f8b226951b781beacc8b394fc90ac2d0ee9 (diff) | |
download | pkgsrc-9deaea0f6b6cb75f0f5ad9341aaa0fc8eeb3dc94.tar.gz |
Switch this to using pkgsrc wxWidgets, since pkgsrc now has the necessary
version and the builtin copy doesn't build any more. Still doesn't compile,
though, as it is having png issues.
Diffstat (limited to 'www/amaya/patches')
-rw-r--r-- | www/amaya/patches/patch-ap | 178 |
1 files changed, 0 insertions, 178 deletions
diff --git a/www/amaya/patches/patch-ap b/www/amaya/patches/patch-ap deleted file mode 100644 index cb70f965dfa..00000000000 --- a/www/amaya/patches/patch-ap +++ /dev/null @@ -1,178 +0,0 @@ -$NetBSD: patch-ap,v 1.3 2011/07/02 18:54:49 dholland Exp $ - ---- wxWidgets/configure.orig 2007-05-14 09:08:25.000000000 +0000 -+++ wxWidgets/configure -@@ -23470,43 +23470,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - SEARCH_INCLUDE="\ -- /usr/local/include \ -- \ -- /usr/Motif-2.1/include \ -- /usr/Motif-1.2/include \ -- /usr/include/Motif1.2 \ -- \ -- /usr/dt/include \ -- /usr/openwin/include \ -- \ -- /usr/include/Xm \ -- \ -- /usr/X11R6/include \ -- /usr/X11R6.4/include \ -- /usr/X11R5/include \ -- /usr/X11R4/include \ -- \ -- /usr/include/X11R6 \ -- /usr/include/X11R5 \ -- /usr/include/X11R4 \ -- \ -- /usr/local/X11R6/include \ -- /usr/local/X11R5/include \ -- /usr/local/X11R4/include \ -- \ -- /usr/local/include/X11R6 \ -- /usr/local/include/X11R5 \ -- /usr/local/include/X11R4 \ -- \ -- /usr/X11/include \ -- /usr/include/X11 \ -- /usr/local/X11/include \ -- /usr/local/include/X11 \ -- \ -- /usr/XFree86/include/X11 \ -- /usr/pkg/include \ -- \ -- /usr/openwin/share/include" -+ ${BUILDLINK_DIR}/include \ -+" - - echo "$as_me:$LINENO: checking for libraries directory" >&5 - echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6 -@@ -23596,16 +23561,16 @@ esac - echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5 - echo "${ECHO_T}$wx_cv_std_libpath" >&6 - --SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath" -+SEARCH_LIB="${BUILDLINK_DIR}/lib" - - if test "$build" != "$host" -a "$GCC" = yes; then - if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then - cross_root=`dirname $cross_root` - cross_root=`dirname $cross_root` - -- SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"` -- SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"` -- SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include" -+# SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"` -+# SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"` -+# SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include" - - if test -z "$PKG_CONFIG_PATH"; then - PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig" -@@ -23615,7 +23580,7 @@ if test "$build" != "$host" -a "$GCC" = - if test -z "$x_includes" -o "$x_includes" = NONE; then - - ac_find_includes= --for ac_dir in $SEARCH_INCLUDE /usr/include; -+for ac_dir in $SEARCH_INCLUDE; - do - if test -f "$ac_dir/X11/Intrinsic.h"; then - ac_find_includes=$ac_dir -@@ -24916,9 +24881,9 @@ echo "${ECHO_T}$ac_cv_header_png_h" >&6 - - - if test "$ac_cv_header_png_h" = "yes"; then -- echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5 --echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6 --if test "${ac_cv_lib_png_png_check_sig+set}" = set; then -+ echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5 -+echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6 -+if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - ac_check_lib_save_LIBS=$LIBS -@@ -24936,11 +24901,11 @@ extern "C" - #endif - /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ --char png_check_sig (); -+char png_sig_cmp (); - int - main () - { --png_check_sig (); -+png_sig_cmp (); - ; - return 0; - } -@@ -24966,20 +24931,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then -- ac_cv_lib_png_png_check_sig=yes -+ ac_cv_lib_png_png_sig_cmp=yes - else - echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - --ac_cv_lib_png_png_check_sig=no -+ac_cv_lib_png_png_sig_cmp=no - fi - rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5 --echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6 --if test $ac_cv_lib_png_png_check_sig = yes; then -+echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5 -+echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6 -+if test $ac_cv_lib_png_png_sig_cmp = yes; then - PNG_LINK=" -lpng -lz" - fi - -@@ -30134,7 +30099,7 @@ echo "$as_me: error: Unicode configurati - echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6 - - ac_find_includes= --for ac_dir in $SEARCH_INCLUDE /usr/include; -+for ac_dir in $SEARCH_INCLUDE; - do - if test -f "$ac_dir/Xm/Xm.h"; then - ac_find_includes=$ac_dir -@@ -31685,7 +31650,7 @@ echo "$as_me: WARNING: wxGLCanvas not im - echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6 - - ac_find_includes= --for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include; -+for ac_dir in $SEARCH_INCLUDE; - do - if test -f "$ac_dir/GL/gl.h"; then - ac_find_includes=$ac_dir -@@ -31908,7 +31873,7 @@ if test $ac_cv_header_GL_glu_h = yes; th - echo $ECHO_N "checking for -lGL... $ECHO_C" >&6 - - ac_find_libraries= -- for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib; -+ for ac_dir in $SEARCH_LIB; - do - for ac_extension in a so sl dylib dll.a; do - if test -f "$ac_dir/libGL.$ac_extension"; then -@@ -45541,7 +45506,7 @@ fi - - if test "$wxUSE_MAC" = 1 ; then - if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then -- if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then -+ if test "x$wxUSE_UNIVERSAL_BINARY" = xyes; then - OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk" - else - OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"} -@@ -46566,7 +46531,7 @@ echo "${ECHO_T}$bakefile_cv_gcc31" >&6 - SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o" - fi - -- if test "x$GCC" == "xyes"; then -+ if test "x$GCC" = "xyes"; then - PIC_FLAG="-dynamic -fPIC" - fi - if test "x$XLCC" = "xyes"; then |