summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-02-22 19:31:36 +0000
committer Eric Hameleers <alien@slackware.com>2020-02-23 08:59:46 +0100
commit68395436ce762ae02925b4b8cfe0aeb10d72f09a (patch)
treeed88d8c0b354126834f59d5a7fc58989a166cd9e /source
parentc2b213d184f11d3c6585997c13262ebcde3a58d0 (diff)
downloadcurrent-68395436ce762ae02925b4b8cfe0aeb10d72f09a.tar.gz
current-68395436ce762ae02925b4b8cfe0aeb10d72f09a.tar.xz
Sat Feb 22 19:31:36 UTC 202020200222193136
ap/lsscsi-0.31-x86_64-1.txz: Upgraded. l/libxkbcommon-0.10.0-x86_64-2.txz: Rebuilt. Rebuilt to add wayland support. n/dnsmasq-2.80-x86_64-4.txz: Rebuilt. Rebuilt with: -DHAVE_DNSSEC -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_CONNTRACK x/intel-vaapi-driver-2.4.0-x86_64-2.txz: Rebuilt. Rebuilt to add wayland support. x/libglvnd-1.3.1-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source')
-rwxr-xr-xsource/l/libxkbcommon/libxkbcommon.SlackBuild4
-rwxr-xr-xsource/n/dnsmasq/dnsmasq.SlackBuild13
-rw-r--r--source/n/dnsmasq/dnsmasq.nettle35.diff20
-rwxr-xr-xsource/x/intel-vaapi-driver/intel-vaapi-driver.SlackBuild2
-rwxr-xr-xsource/x/libglvnd/libglvnd.SlackBuild7
-rw-r--r--source/x/libglvnd/patches/193.patch100
6 files changed, 33 insertions, 113 deletions
diff --git a/source/l/libxkbcommon/libxkbcommon.SlackBuild b/source/l/libxkbcommon/libxkbcommon.SlackBuild
index 4d0b56d57..9650f55e1 100755
--- a/source/l/libxkbcommon/libxkbcommon.SlackBuild
+++ b/source/l/libxkbcommon/libxkbcommon.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libxkbcommon
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -103,7 +103,7 @@ meson setup \
--sysconfdir=/etc \
--localstatedir=/var \
--buildtype=release \
- -Denable-wayland=false \
+ -Denable-wayland=true \
.. || exit 1
"${NINJA:=ninja}" $NUMJOBS || exit 1
DESTDIR=$PKG $NINJA install || exit 1
diff --git a/source/n/dnsmasq/dnsmasq.SlackBuild b/source/n/dnsmasq/dnsmasq.SlackBuild
index aefcd2919..e34d3920f 100755
--- a/source/n/dnsmasq/dnsmasq.SlackBuild
+++ b/source/n/dnsmasq/dnsmasq.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2015, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2015, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,9 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=dnsmasq
VERSION=${VERSION:-$(echo dnsmasq-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
+
+EXTRA_BUILD_OPTS=${EXTRA_BUILD_OPTS:-"-DHAVE_DNSSEC -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_CONNTRACK"}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -70,8 +72,11 @@ zcat $CWD/dnsmasq.libidn2.diff.gz | patch -p1 --verbose --backup --suffix=.orig
# Fix build with Linux 5.4.x:
zcat $CWD/dnsmasq-2.80-SIOCGSTAMP.patch.gz | patch -p1 --verbose --backup --suffix=.orig || exit 1
-make $NUMJOBS all-i18n PREFIX=/usr MANDIR=/usr/man || exit 1
-make install-i18n PREFIX=/usr DESTDIR=$PKG MANDIR=/usr/man || exit 1
+# Fix build with nettle-3.5:
+zcat $CWD/dnsmasq.nettle35.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit 1
+
+make $NUMJOBS all-i18n PREFIX=/usr MANDIR=/usr/man COPTS="$EXTRA_BUILD_OPTS" || exit 1
+make install-i18n PREFIX=/usr DESTDIR=$PKG MANDIR=/usr/man COPTS="$EXTRA_BUILD_OPTS" || exit 1
chmod 0755 $PKG/usr/sbin/dnsmasq
mkdir -p $PKG/etc/dnsmasq.d
diff --git a/source/n/dnsmasq/dnsmasq.nettle35.diff b/source/n/dnsmasq/dnsmasq.nettle35.diff
new file mode 100644
index 000000000..f90b1a490
--- /dev/null
+++ b/source/n/dnsmasq/dnsmasq.nettle35.diff
@@ -0,0 +1,20 @@
+--- ./src/crypto.c.orig 2018-10-18 13:21:55.000000000 -0500
++++ ./src/crypto.c 2020-02-22 13:04:53.071018567 -0600
+@@ -294,7 +294,7 @@
+ if (!(key_256 = whine_malloc(sizeof(struct ecc_point))))
+ return 0;
+
+- nettle_ecc_point_init(key_256, &nettle_secp_256r1);
++ nettle_ecc_point_init(key_256, nettle_get_secp_256r1());
+ }
+
+ key = key_256;
+@@ -307,7 +307,7 @@
+ if (!(key_384 = whine_malloc(sizeof(struct ecc_point))))
+ return 0;
+
+- nettle_ecc_point_init(key_384, &nettle_secp_384r1);
++ nettle_ecc_point_init(key_384, nettle_get_secp_384r1());
+ }
+
+ key = key_384;
diff --git a/source/x/intel-vaapi-driver/intel-vaapi-driver.SlackBuild b/source/x/intel-vaapi-driver/intel-vaapi-driver.SlackBuild
index e28710829..4af90f2e2 100755
--- a/source/x/intel-vaapi-driver/intel-vaapi-driver.SlackBuild
+++ b/source/x/intel-vaapi-driver/intel-vaapi-driver.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=intel-vaapi-driver
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
diff --git a/source/x/libglvnd/libglvnd.SlackBuild b/source/x/libglvnd/libglvnd.SlackBuild
index ef5d65ddf..7c0089ecb 100755
--- a/source/x/libglvnd/libglvnd.SlackBuild
+++ b/source/x/libglvnd/libglvnd.SlackBuild
@@ -1,9 +1,7 @@
#!/bin/bash
-# Slackware build script for libglvnd
-
# Copyright 2019 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2019 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2019, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -77,9 +75,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# Fix headers:
-zcat $CWD/patches/193.patch.gz | patch -p1 --verbose || exit 1
-
if [ ! -r configure ]; then
NOCONFIGURE=1 ./autogen.sh
fi
diff --git a/source/x/libglvnd/patches/193.patch b/source/x/libglvnd/patches/193.patch
deleted file mode 100644
index 51b8fd7b4..000000000
--- a/source/x/libglvnd/patches/193.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-From 158cd95a086398b60310227f2feca31838576750 Mon Sep 17 00:00:00 2001
-From: Kyle Brenneman <kbrenneman@nvidia.com>
-Date: Fri, 18 Oct 2019 09:30:30 -0600
-Subject: [PATCH 1/2] EGL: Set EGL_NO_X11 macro if --disable-x11 is used.
-
-Change the configure script so that it will set the macro EGL_NO_X11 if X11 is
-disabled instead of setting USE_X11 if X11 is enabled.
-
-Using EGL_NO_X11 means that EGL/eglplatform.h won't try to include the Xlib
-headers.
----
- configure.ac | 6 +++---
- src/EGL/libegl.c | 8 ++++----
- 2 files changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index eb68d3b..ebe497c 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -174,10 +174,10 @@ dnl
- dnl Checks for libraries.
- AX_PTHREAD()
-
--if test "x$enable_x11" = "xyes" ; then
-+if test "x$enable_x11" != "xyes" ; then
- PKG_CHECK_MODULES([X11], [x11])
-- AC_DEFINE([USE_X11], 1,
-- [Define to 1 if X11 support is enabled.])
-+ AC_DEFINE([EGL_NO_X11], 1,
-+ [Define to 1 if X11 support is disabled.])
- fi
- if test "x$enable_glx" = "xyes" ; then
- PKG_CHECK_MODULES([XEXT], [xext])
-diff --git a/src/EGL/libegl.c b/src/EGL/libegl.c
-index 5f742cb..c0e4dd8 100644
---- a/src/EGL/libegl.c
-+++ b/src/EGL/libegl.c
-@@ -36,7 +36,7 @@
- #include <unistd.h>
- #include <sys/mman.h>
-
--#if defined(USE_X11)
-+#if !defined(EGL_NO_X11)
- #include <X11/Xlib.h>
- #endif
-
-@@ -180,7 +180,7 @@ static EGLBoolean IsGbmDisplay(void *native_display)
-
- static EGLBoolean IsX11Display(void *dpy)
- {
--#if defined(USE_X11)
-+#if !defined(EGL_NO_X11)
- void *alloc;
- void *handle;
- void *XAllocID = NULL;
-@@ -197,9 +197,9 @@ static EGLBoolean IsX11Display(void *dpy)
- }
-
- return (XAllocID != NULL && XAllocID == alloc);
--#else // defined(USE_X11)
-+#else // !defined(EGL_NO_X11)
- return EGL_FALSE;
--#endif // defined(USE_X11)
-+#endif // !defined(EGL_NO_X11)
- }
-
- static EGLBoolean IsWaylandDisplay(void *native_display)
---
-2.22.0
-
-
-From 0b09d6222265be115d3102348b5da68ae0e92f77 Mon Sep 17 00:00:00 2001
-From: Kyle Brenneman <kbrenneman@nvidia.com>
-Date: Sat, 19 Oct 2019 08:38:25 -0600
-Subject: [PATCH 2/2] configure: Fix the pkg-config check for Xlib.
-
-Fix an error in the previous commit so that the configure script runs
-pkg-config for x11 when it's enabled, not when it's disabled.
----
- configure.ac | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index ebe497c..31188b9 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -174,8 +174,9 @@ dnl
- dnl Checks for libraries.
- AX_PTHREAD()
-
--if test "x$enable_x11" != "xyes" ; then
-+if test "x$enable_x11" = "xyes" ; then
- PKG_CHECK_MODULES([X11], [x11])
-+else
- AC_DEFINE([EGL_NO_X11], 1,
- [Define to 1 if X11 support is disabled.])
- fi
---
-2.22.0
-