From 57f40bfb5da9f75c6f6d57fa87bec339c57101ea Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 25 Apr 2025 15:46:07 +0200 Subject: [PATCH] serf: rebuild and adjust shared lib name With newer scons we otherwise get "liblib" prefixes. It's not clear if that is a msys specific scons issue, or if this has changed in scons. It looks like trunk serf has updated all this code, so maybe it is fixed there, we'll see. --- serf/05-disable-SHLIBVERSION.patch | 2 +- serf/PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/serf/05-disable-SHLIBVERSION.patch b/serf/05-disable-SHLIBVERSION.patch index 21d6a4be..65e98513 100644 --- a/serf/05-disable-SHLIBVERSION.patch +++ b/serf/05-disable-SHLIBVERSION.patch @@ -11,7 +11,7 @@ diff -durN serf-1.3.9.orig/SConstruct serf-1.3.9/SConstruct +# env['SHLIBVERSION'] = '%d.%d.%d' % (MAJOR, MINOR, 0) -LIBNAME = 'libserf-%d' % (MAJOR,) -+LIBNAME = 'libserf-%d-0' % (MAJOR,) ++LIBNAME = 'serf-%d-0' % (MAJOR,) if sys.platform != 'win32': LIBNAMESTATIC = LIBNAME else: diff --git a/serf/PKGBUILD b/serf/PKGBUILD index f2739ae8..c414da7e 100644 --- a/serf/PKGBUILD +++ b/serf/PKGBUILD @@ -3,7 +3,7 @@ pkgbase=serf pkgname=("lib${pkgbase}" "lib${pkgbase}-devel") pkgver=1.3.10 -pkgrel=1 +pkgrel=2 pkgdesc="High-performance asynchronous HTTP client library" arch=('i686' 'x86_64') url="https://serf.apache.org/" @@ -20,7 +20,7 @@ source=(https://archive.apache.org/dist/serf/${pkgbase}-${pkgver}.tar.bz2 07-sspi-auth.patch) sha256sums=('be81ef08baa2516ecda76a77adf7def7bc3227eeb578b9a33b45f7b41dc064e6' '87767cd9b5e568a10f234df46f413a408613965e9d1b8cde1c0145f7eb20f0f1' - '1efab80c71b6987ed504d307c39a623aef849bc7cc39c6aeac3d9338f7459be8' + '8057f20b42f5ca49c886aecc33b0686f3505f0d75918a8ec552424c10fd69e35' '313b272609729d80dedf608f9f1939526e687fdf4a1b50e1a66505c93c2ee56f' '84a43b3b6d3024195fdc69d215898ac426286329025bfa239ebe27a5c7507bc0')