pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/openal-soft
Module Name: pkgsrc
Committed By: kikadf
Date: Tue Jan 20 13:47:49 UTC 2026
Modified Files:
pkgsrc/audio/openal-soft: distinfo
pkgsrc/audio/openal-soft/patches: patch-CMakeLists.txt
Log Message:
openal-soft: fix build on NetBSD<11
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/audio/openal-soft/distinfo
cvs rdiff -u -r1.9 -r1.10 \
pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/openal-soft/distinfo
diff -u pkgsrc/audio/openal-soft/distinfo:1.27 pkgsrc/audio/openal-soft/distinfo:1.28
--- pkgsrc/audio/openal-soft/distinfo:1.27 Tue Dec 23 12:21:08 2025
+++ pkgsrc/audio/openal-soft/distinfo Tue Jan 20 13:47:49 2026
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.27 2025/12/23 12:21:08 abs Exp $
+$NetBSD: distinfo,v 1.28 2026/01/20 13:47:49 kikadf Exp $
BLAKE2s (openal-soft-1.25.0.tar.bz2) = e25bd911242c3d6bc367dc4c720b44ed65dc034e1a297cb58804705c9dc07e7d
SHA512 (openal-soft-1.25.0.tar.bz2) = 014bd95268dd220816e9cc04b24cd0dbc4a2fdaf371c02d53c7b49fd2c6c120055c8d7a48ac02f3532ef592e1d31ba43b9e5b8ead89e1b0daff1f907a3a9580f
Size (openal-soft-1.25.0.tar.bz2) = 1111903 bytes
-SHA1 (patch-CMakeLists.txt) = 798b2f67fa7e3198144bf9ff19b1bb20cd2879d0
+SHA1 (patch-CMakeLists.txt) = 5440e78b4558ff165823c8274131fa0c30c7c563
SHA1 (patch-alc_alconfig.cpp) = 5fe00b60f6f31165be951324659f5c7ee1898859
SHA1 (patch-alc_backends_alsa.cpp) = 3ee7f86e544d9b33ccbe9422eb87b9540623053a
SHA1 (patch-common_alformat.hpp) = 7c0b567b5c0e9b941f179029b08a76a2f5891b40
Index: pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt
diff -u pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt:1.9 pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt:1.10
--- pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt:1.9 Wed Oct 29 07:57:08 2025
+++ pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt Tue Jan 20 13:47:49 2026
@@ -1,10 +1,25 @@
-$NetBSD: patch-CMakeLists.txt,v 1.9 2025/10/29 07:57:08 tnn Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.10 2026/01/20 13:47:49 kikadf Exp $
Disable libsndfile.
+Fix ld error on NetBSD<11:
+[ 97%] Linking CXX shared library libopenal.so
+/usr/bin/ld: CMakeFiles/OpenAL.dir/alc/alc.cpp.o: relocation R_X86_64_PC32 against protected symbol
+`alcCreateContext' can not be used when making a shared object
+/usr/bin/ld: final link failed: bad value
---- CMakeLists.txt.orig 2025-03-29 04:08:24.000000000 +0000
+--- CMakeLists.txt.orig 2025-12-22 09:17:45.000000000 +0000
+++ CMakeLists.txt
-@@ -1708,7 +1708,7 @@ if(ALSOFT_UTILS)
+@@ -501,6 +501,9 @@ if(NOT LIBTYPE STREQUAL "STATIC")
+ set(CMAKE_C_VISIBILITY_PRESET hidden)
+ set(CMAKE_CXX_VISIBILITY_PRESET hidden)
+ endif()
++ if(CMAKE_SYSTEM_NAME STREQUAL "NetBSD" AND CMAKE_HOST_SYSTEM_VERSION LESS 110000)
++ set(EXPORT_DECL "__attribute__((visibility(\"default\")))")
++ endif()
+
+ set(CMAKE_REQUIRED_FLAGS "${OLD_REQUIRED_FLAGS}")
+ endif()
+@@ -1910,7 +1913,7 @@ if(ALSOFT_UTILS)
set(EXTRA_INSTALLS ${EXTRA_INSTALLS} openal-info)
endif()
@@ -13,7 +28,7 @@ Disable libsndfile.
add_executable(uhjdecoder utils/uhjdecoder.cpp)
target_compile_definitions(uhjdecoder PRIVATE ${CPP_DEFS})
target_include_directories(uhjdecoder
-@@ -1813,7 +1813,7 @@ if(ALSOFT_EXAMPLES)
+@@ -2050,7 +2053,7 @@ if(ALSOFT_EXAMPLES)
message(STATUS "Building example programs")
Home |
Main Index |
Thread Index |
Old Index