diff options
Diffstat (limited to '')
-rw-r--r-- | source/l/glib2/glib.g_str_equal.diff | 11 | ||||
-rwxr-xr-x | source/l/glib2/glib2.SlackBuild | 5 |
2 files changed, 1 insertions, 15 deletions
diff --git a/source/l/glib2/glib.g_str_equal.diff b/source/l/glib2/glib.g_str_equal.diff deleted file mode 100644 index 88fcdd3d9..000000000 --- a/source/l/glib2/glib.g_str_equal.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- ./glib/ghash.h.orig 2022-11-24 06:29:05.000000000 -0600 -+++ ./glib/ghash.h 2022-11-28 13:41:03.250650020 -0600 -@@ -162,7 +162,7 @@ - gconstpointer v2); - - /* Macro for optimization in the case it is not used as callback function */ --#define g_str_equal(v1, v2) (strcmp ((gconstpointer) (v1), (gconstpointer) (v2)) == 0) -+#define g_str_equal(v1, v2) (strcmp ((const char*) (gconstpointer) (v1),(const char*) (gconstpointer) (v2)) == 0) - - GLIB_AVAILABLE_IN_ALL - guint g_str_hash (gconstpointer v); diff --git a/source/l/glib2/glib2.SlackBuild b/source/l/glib2/glib2.SlackBuild index aa034997e..c3ff80303 100755 --- a/source/l/glib2/glib2.SlackBuild +++ b/source/l/glib2/glib2.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=glib2 VERSION=${VERSION:-$(echo glib-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -77,9 +77,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -# Fix C++ API: -zcat $CWD/glib.g_str_equal.diff.gz | patch -p1 --verbose || exit 1 - # Configure, build, and install: export CFLAGS="$SLKCFLAGS" export CXXFLAGS="$SLKCFLAGS" |