From fc5f522017e091b634a26aad59d29816fc167cc1 Mon Sep 17 00:00:00 2001 From: dsomero Date: Thu, 6 Sep 2012 14:53:45 -0400 Subject: development/regexxer: Patched for glib 2.32+. Signed-off-by: dsomero --- development/regexxer/glib-single-include.patch | 26 ++++++++++++++++++++++++++ development/regexxer/regexxer.SlackBuild | 4 ++++ 2 files changed, 30 insertions(+) create mode 100644 development/regexxer/glib-single-include.patch (limited to 'development/regexxer') diff --git a/development/regexxer/glib-single-include.patch b/development/regexxer/glib-single-include.patch new file mode 100644 index 0000000000..7570e6b99c --- /dev/null +++ b/development/regexxer/glib-single-include.patch @@ -0,0 +1,26 @@ +Index: regexxer-0.9/src/globalstrings.h +=================================================================== +--- regexxer-0.9.orig/src/globalstrings.h ++++ regexxer-0.9/src/globalstrings.h +@@ -21,7 +21,7 @@ + #ifndef REGEXXER_GLOBALSTRINGS_H_INCLUDED + #define REGEXXER_GLOBALSTRINGS_H_INCLUDED + +-#include /* for G_DIR_SEPARATOR_S */ ++#include /* for G_DIR_SEPARATOR_S */ + + namespace Regexxer + { +Index: regexxer-0.9/src/translation.h +=================================================================== +--- regexxer-0.9.orig/src/translation.h ++++ regexxer-0.9/src/translation.h +@@ -21,7 +21,7 @@ + #ifndef REGEXXER_TRANSLATION_H_INCLUDED + #define REGEXXER_TRANSLATION_H_INCLUDED + +-#include ++#include + #include + + #ifndef gettext_noop diff --git a/development/regexxer/regexxer.SlackBuild b/development/regexxer/regexxer.SlackBuild index 438a751f4b..c4ee246065 100644 --- a/development/regexxer/regexxer.SlackBuild +++ b/development/regexxer/regexxer.SlackBuild @@ -51,6 +51,10 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Starting with glib 2.32 it is now mandatory to +# include glib.h instead of individual headers. +patch -p1 -i $CWD/glib-single-include.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ -- cgit v1.2.3