diff --git a/l/wxwidgets-gtk/patch-gsocket.diff b/l/wxwidgets-gtk/patch-gsocket.diff new file mode 100644 index 00000000..02393c6b --- /dev/null +++ b/l/wxwidgets-gtk/patch-gsocket.diff @@ -0,0 +1,14 @@ +diff -Naur wxGTK-2.8.10.orig/src/gtk/gsockgtk.cpp wxGTK-2.8.10.mod/src/gtk/gsockgtk.cpp +--- wxGTK-2.8.10.orig/src/gtk/gsockgtk.cpp 2009-03-06 13:18:08.000000000 +0100 ++++ wxGTK-2.8.10.mod/src/gtk/gsockgtk.cpp 2010-02-07 18:11:13.533613008 +0100 +@@ -15,8 +15,10 @@ + #include + #include + ++#define GSocket GlibGSocket + #include + #include ++#undef GSocket + + #include "wx/gsocket.h" + #include "wx/unix/gsockunx.h" diff --git a/l/wxwidgets-gtk/wxwidgets-gtk.SlackBuild b/l/wxwidgets-gtk/wxwidgets-gtk.SlackBuild index 0fcd84bd..a9927e8b 100755 --- a/l/wxwidgets-gtk/wxwidgets-gtk.SlackBuild +++ b/l/wxwidgets-gtk/wxwidgets-gtk.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash # Build script for Slackware -# Copyright (C) 2008,2009 Damien Goutte-Gattat +# Copyright (C) 2008,2009,2010 Damien Goutte-Gattat # # Redistribution and use of this script, with or without modifications, # is permitted provided that the following conditions are met: @@ -35,7 +35,7 @@ WGET=${WGET:-http://downloads.sourceforge.net/wxwindows/$ARCHIVE} # Build infos NAMEPKG=${NAMEPKG:-wxwidgets-gtk} -BUILD=${BUILD:-1GGD} +BUILD=${BUILD:-2GGD} ARCH=${ARCH:-i486} JOBS=${JOBS:-1} EXT=${EXT:-txz} @@ -85,6 +85,7 @@ cd $TMP echo "Building $ARCHIVE..." tar xf $CWD/$ARCHIVE cd $NAME +patch -p 1 < $CWD/patch-gsocket.diff CFLAGS=$CPUOPT \ CXXFLAGS=$CPUOPT \ ./configure \