aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mplayerxp/files
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-08-07 23:08:25 +0800
committerlioux <lioux@FreeBSD.org>2002-08-07 23:08:25 +0800
commit7da4c3a7647c5537ed79906ce9b762ce0453ff69 (patch)
tree23511ee12950ac25db2e51d5d20dec5f8968bdaa /multimedia/mplayerxp/files
parent0c061f8c5ad0d1eae74fb60329a5121679ffbb8d (diff)
downloadfreebsd-ports-graphics-7da4c3a7647c5537ed79906ce9b762ce0453ff69.tar.gz
freebsd-ports-graphics-7da4c3a7647c5537ed79906ce9b762ce0453ff69.tar.zst
freebsd-ports-graphics-7da4c3a7647c5537ed79906ce9b762ce0453ff69.zip
Update to 0.90 pre 6
Submitted by: maintainer
Diffstat (limited to 'multimedia/mplayerxp/files')
-rw-r--r--multimedia/mplayerxp/files/patch-ad40
-rw-r--r--multimedia/mplayerxp/files/patch-ae8
2 files changed, 30 insertions, 18 deletions
diff --git a/multimedia/mplayerxp/files/patch-ad b/multimedia/mplayerxp/files/patch-ad
index 6550647eebf..be62aea4349 100644
--- a/multimedia/mplayerxp/files/patch-ad
+++ b/multimedia/mplayerxp/files/patch-ad
@@ -1,6 +1,6 @@
---- configure.orig Mon Jun 10 20:46:18 2002
-+++ configure Mon Jun 10 20:48:32 2002
-@@ -469,19 +469,10 @@
+--- configure.orig Mon Aug 5 19:23:22 2002
++++ configure Wed Aug 7 12:47:05 2002
+@@ -480,19 +480,10 @@
# Try to find the available options for the current CPU
if x86 || ppc; then
@@ -20,7 +20,18 @@
pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | head -1`
pvendor=`$_cpuinfo | grep 'vendor_id' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1`
-@@ -1485,13 +1476,7 @@
+@@ -1246,8 +1237,8 @@
+ ;;
+
+ *)
+- echo "Unknown parameter: $ac_option"
+- exit
++ echo -n "Unknown parameter: $ac_option"
++ echo " (ignoring)"
+ ;;
+
+ esac
+@@ -1588,13 +1579,7 @@
echocheck "memalign()"
@@ -34,7 +45,7 @@
if test "$_memalign" = yes ; then
_def_memalign='#define HAVE_MEMALIGN 1'
else
-@@ -1568,31 +1553,7 @@
+@@ -1671,31 +1656,7 @@
echocheck "pthread"
@@ -57,47 +68,48 @@
- elif ( cc_check -pthread ) ; then
- _ld_pthread='-pthread'
- else
-- die "Static lib pthread not found. (needed by windows and networking stuff)"
+- die "Static lib pthread not found (needed by Windows and networking stufff)."
- fi
- else
-- die "Lib pthread not found. (needed by windows and networking stuff)"
+- die "Lib pthread not found (needed by Windows and networking stuff)."
- fi
-fi
+_ld_pthread="${PTHREAD_LIBS}"
echores "yes (using $_ld_pthread)"
-@@ -3219,11 +3180,7 @@
+@@ -3413,11 +3374,7 @@
echocheck "iconv"
if test "$_iconv" = auto ; then
- if freebsd ; then
- _iconv_tmp='#include <giconv.h>'
- else
- _iconv_tmp='#include <iconv.h>'
+- _iconv_tmp='#include <iconv.h>'
- fi
++ _iconv_tmp='#include <iconv.h>'
cat > $TMPC << EOF
#include <stdio.h>
#include <unistd.h>
-@@ -3257,7 +3214,7 @@
+@@ -3451,7 +3408,7 @@
EOF
_iconv=no
if freebsd ; then
- cc_check -lm -lgiconv && _iconv=yes
+ cc_check -lm -liconv && _iconv=yes
- elif bsdos ; then
+ elif bsdos || openbsd ; then
cc_check -lm -liconv && _iconv=yes
else
-@@ -3266,7 +3223,7 @@
+@@ -3460,7 +3417,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'
+ openbsd && _ld_iconv='-liconv'
else
- _def_iconv='#undef USE_ICONV'
-@@ -3733,7 +3690,7 @@
+@@ -3979,7 +3936,7 @@
CFLAGS="$CFLAGS -D_REENTRANT"
elif bsd ; then
# FIXME bsd needs this so maybe other OS'es
diff --git a/multimedia/mplayerxp/files/patch-ae b/multimedia/mplayerxp/files/patch-ae
index f6d513c0d3f..ad5ea9731aa 100644
--- a/multimedia/mplayerxp/files/patch-ae
+++ b/multimedia/mplayerxp/files/patch-ae
@@ -1,5 +1,5 @@
---- Makefile.orig Mon Jun 10 20:49:19 2002
-+++ Makefile Mon Jun 10 20:51:43 2002
+--- Makefile.orig Thu Jul 25 05:37:27 2002
++++ Makefile Wed Aug 7 13:07:21 2002
@@ -24,12 +24,12 @@
endif
@@ -14,7 +14,7 @@
-INSTALL = install
+INSTALL = @${BSD_INSTALL_PROGRAM}
- SRCS_COMMON = xacodec.c cpudetect.c codec-cfg.c cfgparser.c my_profile.c spudec.c playtree.c playtreeparser.c asxparser.c vobsub.c subreader.c find_sub.c
+ SRCS_COMMON = xacodec.c cpudetect.c codec-cfg.c cfgparser.c my_profile.c spudec.c playtree.c playtreeparser.c asxparser.c vobsub.c subreader.c sub_cc.c find_sub.c
SRCS_MENCODER = mencoder.c mp_msg-mencoder.c $(SRCS_COMMON) libao2/afmt.c divx4_vbr.c libvo/aclib.c libvo/osd.c libvo/sub.c libvo/font_load.c me-opt-reg.c
@@ -226,44 +226,11 @@
ifeq ($(VIDIX),yes)
@@ -54,7 +54,7 @@
-endif
-endif
-ifeq ($(CSS_USE),yes)
-- @echo "Following task requires root privs. If it fails don't panic"
+- @echo "The following task requires root privileges. If it fails don't panic,"
- @echo "however it means you can't use fibmap_mplayer."
- @echo "Without this (or without running mplayer as root) you won't be"
- @echo "able to play encrypted DVDs."