File: 001_freebsd_pthread.diff

package info (click to toggle)
freealut 1.1.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,148 kB
  • sloc: sh: 8,617; ansic: 2,738; makefile: 89
file content (16 lines) | stat: -rw-r--r-- 572 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix the build on GNU/kFreeBSD.
Forwarded: no
Author: Petr Salinger <Petr.Salinger@seznam.cz>
Last-Update: 2007-02-20

--- freealut-1.1.0.orig/configure.ac
+++ freealut-1.1.0/configure.ac
@@ -82,7 +82,7 @@
 AC_DEFINE([ALUT_BUILD_LIBRARY], [1], [Define to 1 if you want to build the ALUT DLL.])
 
 # Checks for libraries. (not perfect yet)
-AC_SEARCH_LIBS([pthread_self], [pthread])
+AC_SEARCH_LIBS([pthread_create], [pthread])
 AC_SEARCH_LIBS([alGetError], [openal32 openal])
 
 ################################################################################