pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
sndio: Create libsndio.so.$MAJ for non-Linux
Module Name: pkgsrc-wip
Committed By: snow flurry <snow%datagirl.xyz@localhost>
Pushed By: flurry
Date: Wed Jun 8 00:38:35 2022 -0700
Changeset: 00486b3d13f5a453ed04998eff50634c6071a78c
Modified Files:
sndio/distinfo
Added Files:
sndio/patches/patch-configure
Log Message:
sndio: Create libsndio.so.$MAJ for non-Linux
Kodi 19.x (CMake?) expects libsndio.so.$MAJ format when detecting
sndio. This patch creates that form of the .so file on systems other
than Linux.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=00486b3d13f5a453ed04998eff50634c6071a78c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
sndio/distinfo | 1 +
sndio/patches/patch-configure | 30 ++++++++++++++++++++++++++++++
2 files changed, 31 insertions(+)
diffs:
diff --git a/sndio/distinfo b/sndio/distinfo
index d670b94a7a..e1de6d331d 100644
--- a/sndio/distinfo
+++ b/sndio/distinfo
@@ -3,3 +3,4 @@ $NetBSD$
BLAKE2s (sndio-1.8.1.tar.gz) = 906ef717710f5d7b20b367a49f69a11ef231ebb2c0f8d0146ef608a0056cf087
SHA512 (sndio-1.8.1.tar.gz) = 4affeac5758768f9ebf7d823b8d2287695ff02bb4a990474412ab96cb8eef3784c19436a130efb4f7a204193ad479c0086f9bff7b3ac69e6077692dffaa62658
Size (sndio-1.8.1.tar.gz) = 155821 bytes
+SHA1 (patch-configure) = bded644c4bc5b7b38c1526ee01494fa4cda2fe10
diff --git a/sndio/patches/patch-configure b/sndio/patches/patch-configure
new file mode 100644
index 0000000000..e28c1dbe46
--- /dev/null
+++ b/sndio/patches/patch-configure
@@ -0,0 +1,30 @@
+$NetBSD$
+
+Create libsndio.so.${MAJ} on non-Linux platforms.
+
+--- configure.orig 2022-06-06 03:42:29.888294840 +0000
++++ configure
+@@ -75,6 +75,7 @@ case `uname` in
+ rmidi=yes
+ user=_sndio
+ so_link="libsndio.so"
++ so_link_maj="libsndio.so.\${MAJ}"
+ defs='-DHAVE_ARC4RANDOM -DHAVE_ISSETUGID \\\
+ -DHAVE_STRLCAT -DHAVE_STRLCPY \\\
+ -DHAVE_SOCK_CLOEXEC -DHAVE_CLOCK_GETTIME'
+@@ -83,6 +84,7 @@ case `uname` in
+ sun=yes
+ rmidi=yes
+ user=_sndiop
++ so_link_maj="libsndio.so.\${MAJ}"
+ defs='-DHAVE_ARC4RANDOM -DHAVE_ISSETUGID \\\
+ -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRTONUM \\\
+ -DHAVE_SOCK_CLOEXEC -DHAVE_CLOCK_GETTIME'
+@@ -93,6 +95,7 @@ case `uname` in
+ user=_sndio
+ so_ldflags="-Wl,-soname=libsndio.so.\${MAJ}.\${MIN}"
+ so_link="libsndio.so"
++ so_link_maj="libsndio.so.\${MAJ}"
+ defs='-DHAVE_ARC4RANDOM -DHAVE_ISSETUGID \\\
+ -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRTONUM \\\
+ -DHAVE_SOCK_CLOEXEC -DHAVE_CLOCK_GETTIME'
Home |
Main Index |
Thread Index |
Old Index