summaryrefslogtreecommitdiffstats
path: root/source/l/glib2
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/glib2')
-rw-r--r--source/l/glib2/glib.allow.gtk-doc-1.32.diff11
-rwxr-xr-xsource/l/glib2/glib2.SlackBuild5
2 files changed, 15 insertions, 1 deletions
diff --git a/source/l/glib2/glib.allow.gtk-doc-1.32.diff b/source/l/glib2/glib.allow.gtk-doc-1.32.diff
new file mode 100644
index 000000000..e953d41c4
--- /dev/null
+++ b/source/l/glib2/glib.allow.gtk-doc-1.32.diff
@@ -0,0 +1,11 @@
+--- ./docs/reference/meson.build.orig 2020-09-10 05:42:41.475683000 -0500
++++ ./docs/reference/meson.build 2020-09-15 13:26:21.552796804 -0500
+@@ -52,7 +52,7 @@
+ endif
+ # Check we have the minimum gtk-doc version required. Older versions won't
+ # generate correct documentation.
+- dependency('gtk-doc', version : '>=1.32.1',
++ dependency('gtk-doc', version : '>=1.32',
+ fallback : ['gtk-doc', 'dummy_dep'],
+ default_options : ['tests=false'])
+ endif
diff --git a/source/l/glib2/glib2.SlackBuild b/source/l/glib2/glib2.SlackBuild
index 333fe5b6f..dd3ff57db 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:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -80,6 +80,9 @@ find . \
# Get the local timezone link from /etc/localtime-copied-from:
zcat $CWD/glib2.slackware.localtime.diff.gz | patch -p1 --verbose || exit 1
+# Allow the slightly older version of gtk-doc to avoid bundling a newer one:
+zcat $CWD/glib.allow.gtk-doc-1.32.diff.gz | patch -p1 --verbose || exit 1
+
# Configure, build, and install:
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"