openbsd-ports/www/gecko-mediaplayer/patches/patch-configure
dcoppa 9e08ba1bd0 update to 0.9.9.2
OK landry@, ajacoutot@
2010-03-29 12:16:07 +00:00

17 lines
967 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2010/03/29 12:17:42 dcoppa Exp $
use -pthread instead of -lpthread for pthreads linkage
remove -ldl
--- configure.orig Tue Mar 23 16:44:27 2010
+++ configure Tue Mar 23 16:45:20 2010
@@ -8711,7 +8711,7 @@ if test "${with_xulrunner_sdk+set}" = set; then
withval=$with_xulrunner_sdk;
XULRUNNER_SDK_PREFIX=$with_xulrunner_sdk
GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/plugin -I$XULRUNNER_SDK_PREFIX/include/nspr -I$XULRUNNER_SDK_PREFIX/include/xpcom -I$XULRUNNER_SDK_PREFIX/include/string -I$XULRUNNER_SDK_PREFIX/include/java"
- GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
+ GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -pthread"
# Check whether --enable-new-libxul was given.
if test "${enable_new_libxul+set}" = set; then
enableval=$enable_new_libxul; usenewlibxul=$enableval