mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/regexxer: Patched for glib 2.32+.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
ac027590f0
commit
fc5f522017
2 changed files with 30 additions and 0 deletions
26
development/regexxer/glib-single-include.patch
Normal file
26
development/regexxer/glib-single-include.patch
Normal file
|
@ -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 <glib/gutils.h> /* for G_DIR_SEPARATOR_S */
|
||||
+#include <glib.h> /* 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 <glib/gmacros.h>
|
||||
+#include <glib.h>
|
||||
#include <glibmm/ustring.h>
|
||||
|
||||
#ifndef gettext_noop
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue