summaryrefslogtreecommitdiff
path: root/multimedia/mplayerxp/files/patch-ad
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-06-04 23:49:35 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-06-04 23:49:35 +0000
commit12c8a1eae2a0e27555b2c7d13751ca02934b6550 (patch)
tree5567386db37d510c6a9e966ad4d3afb049d7fe6b /multimedia/mplayerxp/files/patch-ad
parentUse CXX to link, since there are many places where CC is missing -lstdc++. (diff)
o Bump PORTREVISION
o Prefer mplayer internal DVD access routines rather than libdvdread due to problem reports from users. Prefer libdvdread if WITH_LIBDVDREAD o Change iconv interaction since users have been complaining since iconv was updated to 1.7 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=60631
Diffstat (limited to 'multimedia/mplayerxp/files/patch-ad')
-rw-r--r--multimedia/mplayerxp/files/patch-ad34
1 files changed, 32 insertions, 2 deletions
diff --git a/multimedia/mplayerxp/files/patch-ad b/multimedia/mplayerxp/files/patch-ad
index 1c25f3936d5b..074fbc9c7299 100644
--- a/multimedia/mplayerxp/files/patch-ad
+++ b/multimedia/mplayerxp/files/patch-ad
@@ -1,5 +1,5 @@
--- configure.orig Mon May 13 22:52:10 2002
-+++ configure Tue May 21 08:56:42 2002
++++ configure Tue Jun 4 23:08:36 2002
@@ -450,19 +450,10 @@
# Try to find the available options for the current CPU
@@ -67,7 +67,37 @@
echores "yes (using $_ld_pthread)"
-@@ -3570,7 +3531,7 @@
+@@ -3064,11 +3025,7 @@
+
+ echocheck "iconv"
+ if test "$_iconv" = auto ; then
+- if freebsd ; then
+- _iconv_tmp='#include <giconv.h>'
+- else
+ _iconv_tmp='#include <iconv.h>'
+- fi
+ cat > $TMPC << EOF
+ #include <stdio.h>
+ #include <unistd.h>
+@@ -3102,7 +3059,7 @@
+ EOF
+ _iconv=no
+ if freebsd ; then
+- cc_check -lm -lgiconv && _iconv=yes
++ cc_check -lm -liconv && _iconv=yes
+ elif bsdos ; then
+ cc_check -lm -liconv && _iconv=yes
+ else
+@@ -3111,7 +3068,7 @@
+ fi
+ if test "$_iconv" = yes ; then
+ _def_iconv='#define USE_ICONV 1'
+- freebsd && _ld_iconv='-lgiconv'
++ freebsd && _ld_iconv='-liconv'
+ bsdos && _ld_iconv='-liconv'
+ else
+ _def_iconv='#undef USE_ICONV'
+@@ -3570,7 +3527,7 @@
CFLAGS="$CFLAGS -D_REENTRANT"
elif bsd ; then
# FIXME bsd needs this so maybe other OS'es