David Runge pushed to branch main at Arch Linux / Packaging / Packages / ladspa


Commits:
d02fb34e by David Runge at 2023-09-02T18:58:14+02:00
upgpkg: 1.17-4

Rebuild to fix plugin underlinking: https://bugs.archlinux.org/task/76259

- - - - -


2 changed files:

- PKGBUILD
- + ladspa-1.17-plugin_underlinking.patch


Changes:

=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=ladspa
 pkgver=1.17
-pkgrel=3
+pkgrel=4
 pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)"
 arch=(x86_64)
 license=(LGPL-2.1)
@@ -16,16 +16,21 @@ makedepends=(libsndfile)
 optdepends=('libsndfile: for applyplugin')
 source=(
   https://ladspa.org/download/ladspa_sdk_$pkgver.tgz
+  $pkgname-1.17-plugin_underlinking.patch
   fix-memleak-in-plugin-scanning.patch
 )
 
sha512sums=('c096e70d245c50ffad379f2c9aab2735c205dfe7c27b5710cad6e43b39f8accc7b8bd2cd7ebbea2c399ad76018b3d4c701ed271de552d098b12ab218a58f0497'
+            
'9660937df8cfcd2005f8e6b4d7257a6d295a2d7e06979dd05ff2894461e91fc3f812497878673724ee9209bffd67fbb690fbdc3669ecb5932503d0770454301b'
             
'e80a575e6afe42f9d0ac1234a7832a29fb9362c7ab7b2d6b14cc3e6da6a9ba67af886cf09f1c0b78c161205084f705049fb4dc22fe2795efaeb7d94da90dc93e')
 
b2sums=('234f6c42e2736d250259b9473f70def136bcf57c2395d79e3a3cd6da715181dbfa87c1c35e8f0b840e0c5c00c39bfbb93d1ddd73b4c1547140caa080589d91b3'
+        
'a997afed65bd747c970e0110b1d9d8a3ea69e3ff30c7b9fa65177597661fc2043b252ea90b5eaac24dd5b770480bac7eac1eec31a98ccf0780f69828ca986ffa'
         
'b2235b41d9638cceb93a41452f1f0b710bc3f9264fe735972099244dfc8d98d354c7d15084d79b0bdfc4fa3f437f9368f81aa0ebdb7e39df5900fbbf172927c2')
 
 prepare() {
   cd ${pkgname}_sdk_$pkgver
   patch -Np0 -i "../fix-memleak-in-plugin-scanning.patch"
+  # fix underlinking of plugins
+  patch -Np1 -i ../$pkgname-1.17-plugin_underlinking.patch
   # add LDFLAGS for full RELRO
   sed -e "s#-O2#${CFLAGS} ${LDFLAGS}#" -i src/Makefile
 }


=====================================
ladspa-1.17-plugin_underlinking.patch
=====================================
@@ -0,0 +1,19 @@
+diff -ruN a/src/Makefile b/src/Makefile
+--- a/src/Makefile     2021-09-10 10:44:43.000000000 +0200
++++ b/src/Makefile     2023-09-02 18:54:57.552762072 +0200
+@@ -41,6 +41,7 @@
+               plugins/$*.o                                            \
+               -shared                                                 \
+               $(CFLAGS)                                               \
++              -lm                                                             
\
+               -fvisibility=hidden                                     \
+               -fvisibility-inlines-hidden                             \
+               -s                                                      \
+@@ -52,6 +53,7 @@
+               plugins/$*.o                                            \
+               -shared                                                 \
+               $(CXXFLAGS)                                             \
++              -lm                                                             
\
+               -fvisibility=hidden                                     \
+               -fvisibility-inlines-hidden                             \
+               -s                                                      \



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ladspa/-/commit/d02fb34e36ae6089017a1166d15e9264f254d0d4

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ladspa/-/commit/d02fb34e36ae6089017a1166d15e9264f254d0d4
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to