Bug#403811: openal: wrongly linked on GNU/kFreeBSD (missing -pthread)

Petr Salinger Petr.Salinger at seznam.cz
Tue Dec 19 22:31:20 CET 2006


Package: openal
Severity: important
Version: 1:0.0.8-2
Tags: patch


Hi,

unfortunately the current version is not built correctly on GNU/kFreeBSD.

It should be linked using "-pthread" in the same way as linux,
see bellow for patch against acx_pthread.m4/configure.

It would also be nice if you can ask upstream
to include this change.

Thanks in advance

                         Petr



--- admin/autotools/m4/acx_pthread.m4~
+++ admin/autotools/m4/acx_pthread.m4
@@ -122,7 +122,7 @@
          ;;


-        *linux*)
+        *linux*|*-k*bsd*-gnu)

          # On Linux we want to actually link to pthread library, so test lib first




--- configure~  2006-12-19 22:50:16.000000000 +0100
+++ configure   2006-12-19 22:50:16.000000000 +0100
@@ -20678,7 +20678,7 @@
          ;;


-        *linux*)
+        *linux*|*-k*bsd*-gnu)

          # On Linux we want to actually link to pthread library, so test lib first






More information about the Pkg-games-devel mailing list