diff options
Diffstat (limited to 'network/openconnect')
-rw-r--r-- | network/openconnect/libxml-fix.patch | 10 | ||||
-rw-r--r-- | network/openconnect/openconnect.SlackBuild | 4 |
2 files changed, 13 insertions, 1 deletions
diff --git a/network/openconnect/libxml-fix.patch b/network/openconnect/libxml-fix.patch new file mode 100644 index 000000000000..f6ee59a16a4e --- /dev/null +++ b/network/openconnect/libxml-fix.patch @@ -0,0 +1,10 @@ +--- openconnect-internal.h.org 2023-05-19 18:12:15.000000000 +0200 ++++ openconnect-internal.h 2023-12-12 18:38:19.651357296 +0100 +@@ -85,6 +85,7 @@ + #define N_(s) s + + #include <libxml/tree.h> ++#include <libxml/parser.h> + #include <zlib.h> + + #ifdef _WIN32 diff --git a/network/openconnect/openconnect.SlackBuild b/network/openconnect/openconnect.SlackBuild index 25e9ac5f9a76..ce8ffab1c6bb 100644 --- a/network/openconnect/openconnect.SlackBuild +++ b/network/openconnect/openconnect.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=openconnect VERSION=${VERSION:-9.12} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -72,6 +72,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION +patch -p0 < $CWD/libxml-fix.patch chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -88,6 +89,7 @@ CFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --with-vpnc-script=/etc/vpnc/vpnc-script \ + --without-libpskc \ --build=$ARCH-slackware-linux make |