aboutsummaryrefslogtreecommitdiff
path: root/dev/cpp/glibmm
diff options
context:
space:
mode:
Diffstat (limited to 'dev/cpp/glibmm')
-rw-r--r--dev/cpp/glibmm/glibmm.SlackBuild6
-rw-r--r--dev/cpp/glibmm/glibmm.diff20
2 files changed, 23 insertions, 3 deletions
diff --git a/dev/cpp/glibmm/glibmm.SlackBuild b/dev/cpp/glibmm/glibmm.SlackBuild
index 92558ea5..84b66026 100644
--- a/dev/cpp/glibmm/glibmm.SlackBuild
+++ b/dev/cpp/glibmm/glibmm.SlackBuild
@@ -16,7 +16,7 @@
#
# slackbuild for glibmm, by Silvio Rhatto
# requires: libsigc++ glib
-# tested: glibmm-2.12.10
+# tested: glibmm-2.16.4
#
# Look for slackbuildrc
@@ -31,7 +31,7 @@ CWD="$(pwd)"
SRC_NAME="glibmm"
PKG_NAME="glibmm"
ARCH=${ARCH:=i486}
-SRC_VERSION=${VERSION:=2.12.10}
+SRC_VERSION=${VERSION:=2.16.4}
PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')"
BUILD=${BUILD:=1rha}
SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME
@@ -78,7 +78,7 @@ mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR
# Dowload source if necessary
SRC="$SRC_NAME-$VERSION.tar.bz2"
-URL="http://ftp.acc.umu.se/pub/GNOME/sources/glibmm/2.12/$SRC"
+URL="http://ftp.acc.umu.se/pub/GNOME/sources/glibmm/2.16/$SRC"
if [ ! -s "$SRC_DIR/$SRC" ] || ! bunzip2 -t "$SRC_DIR/$SRC" 2> /dev/null; then
wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
diff --git a/dev/cpp/glibmm/glibmm.diff b/dev/cpp/glibmm/glibmm.diff
new file mode 100644
index 00000000..e115024a
--- /dev/null
+++ b/dev/cpp/glibmm/glibmm.diff
@@ -0,0 +1,20 @@
+--- glibmm-2.12.10-orig/glib/glibmm/convert.cc 2007-06-10 11:42:32.000000000 -0300
++++ glibmm-2.12.10/glib/glibmm/convert.cc 2008-12-10 21:05:07.000000000 -0200
+@@ -27,6 +27,7 @@
+ #include <glib/gconvert.h>
+ #include <glib/gmessages.h>
+ #include <glib/gunicode.h>
++#include <glib/gtestutils.h>
+ #include <glibmm/utility.h>
+
+
+--- glibmm-2.12.10-orig/glib/glibmm/date.cc 2007-06-10 11:42:33.000000000 -0300
++++ glibmm-2.12.10/glib/glibmm/date.cc 2008-12-10 21:05:50.000000000 -0200
+@@ -32,6 +32,7 @@
+
+ #include <glibmm/convert.h>
+ #include <glibmm/utility.h>
++#include <glib/gtestutils.h>
+
+ #include <glibmmconfig.h>
+ GLIBMM_USING_STD(max)