aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mplayerxp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-01-24 20:59:32 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-01-24 20:59:32 +0000
commit7fe480b9e2b33dab3ad3d94820f5ca0490a08cd6 (patch)
tree14bea62e1e1ff221b3b4295e73c69381fe0de4a5 /multimedia/mplayerxp
parent8ac6cd84c93de29ab00f282142c16234175161b3 (diff)
downloadports-7fe480b9e2b33dab3ad3d94820f5ca0490a08cd6.tar.gz
ports-7fe480b9e2b33dab3ad3d94820f5ca0490a08cd6.zip
Notes
Diffstat (limited to 'multimedia/mplayerxp')
-rw-r--r--multimedia/mplayerxp/Makefile4
-rw-r--r--multimedia/mplayerxp/files/patch-loader-win32.c11
2 files changed, 14 insertions, 1 deletions
diff --git a/multimedia/mplayerxp/Makefile b/multimedia/mplayerxp/Makefile
index 6f3639edcc11..07cb8bb49a42 100644
--- a/multimedia/mplayerxp/Makefile
+++ b/multimedia/mplayerxp/Makefile
@@ -30,6 +30,7 @@ USE_XLIB= yes
USE_GMAKE= yes
HAS_CONFIGURE= yes
WANT_SDL= yes
+USE_LDCONFIG= yes
MAN1= mplayerxp.1
@@ -38,7 +39,7 @@ WIN32_CODEC_PREFIX= ${LOCALBASE}/lib/win32
.include <bsd.port.pre.mk>
# add this after <bsd.port.pre.mk> so that we inherit /etc/make.conf
-CONFIGURE_ARGS+= --with-extralibdir=${LOCALBASE}/lib \
+CONFIGURE_ARGS+= --with-extralibdir=${LOCALBASE}/lib \
--with-extraincdir=${LOCALBASE}/include \
--with-x11incdir=${X11BASE}/include \
--with-x11libdir=${X11BASE}/lib \
@@ -51,6 +52,7 @@ CONFIGURE_ARGS+= --with-extralibdir=${LOCALBASE}/lib \
--disable-rtc \
--disable-vm \
--disable-tv-v4l
+CONFIGURE_ENV+= LANG=C
# insure CC,LD safeness
MAKE_ARGS+= CC="${CC}" LD="${LD}"
diff --git a/multimedia/mplayerxp/files/patch-loader-win32.c b/multimedia/mplayerxp/files/patch-loader-win32.c
new file mode 100644
index 000000000000..8644577722ab
--- /dev/null
+++ b/multimedia/mplayerxp/files/patch-loader-win32.c
@@ -0,0 +1,11 @@
+--- loader/win32.c.orig Thu Jan 18 11:06:11 2007
++++ loader/win32.c Thu Jan 18 11:06:32 2007
+@@ -66,7 +66,7 @@
+ #include <kstat.h>
+ #endif
+
+-#if HAVE_VSSCANF
++#if 1
+ int vsscanf( const char *str, const char *format, va_list ap);
+ #else
+ /* system has no vsscanf. try to provide one */