summaryrefslogtreecommitdiff
path: root/source/ap/jove
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/jove')
-rwxr-xr-xsource/ap/jove/jove.SlackBuild3
-rw-r--r--source/ap/jove/jove.glibc-2.30.diff17
2 files changed, 20 insertions, 0 deletions
diff --git a/source/ap/jove/jove.SlackBuild b/source/ap/jove/jove.SlackBuild
index b3a71e76..f30d7ce7 100755
--- a/source/ap/jove/jove.SlackBuild
+++ b/source/ap/jove/jove.SlackBuild
@@ -79,6 +79,9 @@ find . \
zcat $CWD/jove.makefile.diff.gz | patch -p1 --verbose --backup || exit 1
+# Patch due to removal of stropts.h:
+zcat $CWD/jove.glibc-2.30.diff.gz | patch -p1 --verbose --backup || exit 1
+
# More patching needed now:
sed -i -e "s#/lib/jove#/lib${LIBDIRSUFFIX}/jove#" \
-e "s#^OPTFLAGS = .*#OPTFLAGS = $SLKCFLAGS#" Makefile
diff --git a/source/ap/jove/jove.glibc-2.30.diff b/source/ap/jove/jove.glibc-2.30.diff
new file mode 100644
index 00000000..684e73d4
--- /dev/null
+++ b/source/ap/jove/jove.glibc-2.30.diff
@@ -0,0 +1,17 @@
+--- ./iproc.c.orig 2008-05-20 21:35:18.000000000 -0500
++++ ./iproc.c 2019-08-19 17:28:01.899194246 -0500
+@@ -536,14 +536,6 @@
+
+ # ifdef SVR4_PTYS
+ # include <stdlib.h> /* for grantpt and unlockpt, at least in Solaris 2.3 */
+-# if _XOPEN_SOURCE >= 500
+- /* Linux/glibc no longer pretends to support STREAMS (XSR) (2008) */
+-# if _XOPEN_STREAMS != -1
+-# include <stropts.h>
+-# endif
+-# else
+-# include <sys/stropts.h>
+-# endif
+ extern char *ptsname proto((int /*filedes*/)); /* get name of slave */
+ # endif
+