openbsd-ports/www/gecko-mediaplayer/patches/patch-configure
dcoppa d5af7c5855 Update to gecko-mediaplayer-1.0.3.
dconf clue stick by ajacoutot@

Tested by Antti Harri on YouTube using the flashvideoreplacer
extension for firefox (thanks!)

please go ahead fgsch@
2011-04-28 11:49:56 +00:00

20 lines
1.0 KiB
Plaintext

$OpenBSD: patch-configure,v 1.6 2011/04/28 11:49:56 dcoppa Exp $
use -pthread instead of -lpthread for pthreads linkage
remove -ldl
fix GECKO_CFLAGS and GECKO_LIBS
--- configure.orig Thu Apr 21 16:59:11 2011
+++ configure Tue Apr 26 16:26:20 2011
@@ -7364,8 +7364,8 @@ fi
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_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -DOPENBSD"
+ GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX -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