diff options
author | Marek Wodzinski <majek@w7i.pl> | 2023-12-12 19:05:05 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-13 08:14:26 +0700 |
commit | 410081a5a32c65b437b1d9badf3f160b876ad5fe (patch) | |
tree | 3b040b9c510d7e14c121c74d05b7c62591812024 /network/openconnect | |
parent | 71fdeb6eb21788265bfa28be1e9aad262fd41fed (diff) |
network/openconnect: Fix for new libxml2-2.12.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 |