summaryrefslogtreecommitdiff
path: root/source/ap/jove
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-09-10 21:28:36 +0000
committerEric Hameleers <alien@slackware.com>2019-09-11 08:59:49 +0200
commit5ff08990e972ccd99e36e94e44746710b95adba4 (patch)
tree04a09ed3f52ba082354d61ba078cc9f12d3444ae /source/ap/jove
parentf58aff2430624d43f64162ea66101f0ed804755f (diff)
downloadcurrent-5ff08990e972ccd99e36e94e44746710b95adba4.tar.gz
Tue Sep 10 21:28:36 UTC 201920190910212836
a/glibc-solibs-2.30-x86_64-1.txz: Upgraded. a/kernel-firmware-20190909_6c6918a-noarch-1.txz: Upgraded. a/kernel-generic-4.19.72-x86_64-1.txz: Upgraded. a/kernel-huge-4.19.72-x86_64-1.txz: Upgraded. a/kernel-modules-4.19.72-x86_64-1.txz: Upgraded. d/kernel-headers-4.19.72-x86-1.txz: Upgraded. k/kernel-source-4.19.72-noarch-1.txz: Upgraded. l/gdk-pixbuf2-2.38.2-x86_64-1.txz: Upgraded. l/glibc-2.30-x86_64-1.txz: Upgraded. l/glibc-i18n-2.30-x86_64-1.txz: Upgraded. l/glibc-profile-2.30-x86_64-1.txz: Upgraded. n/libmilter-8.15.2-x86_64-3.txz: Rebuilt. Use gethostbyname2() since RES_USE_INET6 is removed in glibc-2.30. n/libqmi-1.22.6-x86_64-1.txz: Upgraded. n/postfix-3.4.6-x86_64-2.txz: Rebuilt. Patched to fix removed macros in glibc-2.30. n/yptools-2.14-x86_64-12.txz: Rebuilt. Patched ypbind-mt for gettid() included in glibc-2.30. xap/blackbox-0.75-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
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
+