summaryrefslogtreecommitdiff
path: root/multimedia/mplayer/files/patch-ad
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2007-04-05 10:05:22 +0000
committerStefan Walter <stefan@FreeBSD.org>2007-04-05 10:05:22 +0000
commit9e42911716a18905710aac42d6a03d02091f82ab (patch)
tree9ffa1d2b2df89bc3a5c72394f5ebad3cb40636c6 /multimedia/mplayer/files/patch-ad
parentupdate to 0.4.3 (diff)
Enable joystick support.
PR: 111076 Submitted by: Teemu Korhonen <venefics@mbnet.fi> Patch by: submitter/maintainer Approved by: maintainer
Notes
Notes: svn path=/head/; revision=189271
Diffstat (limited to 'multimedia/mplayer/files/patch-ad')
-rw-r--r--multimedia/mplayer/files/patch-ad21
1 files changed, 19 insertions, 2 deletions
diff --git a/multimedia/mplayer/files/patch-ad b/multimedia/mplayer/files/patch-ad
index a9d297a63740..70734c7f5f6d 100644
--- a/multimedia/mplayer/files/patch-ad
+++ b/multimedia/mplayer/files/patch-ad
@@ -1,5 +1,5 @@
---- configure.orig Mon Oct 23 00:32:31 2006
-+++ configure Tue Oct 24 22:19:10 2006
+--- configure.orig Tue Apr 3 13:35:43 2007
++++ configure Tue Apr 3 13:35:51 2007
@@ -59,9 +59,9 @@
echo >> "$TMPLOG"
cat "$1" >> "$TMPLOG"
@@ -150,3 +150,20 @@
fi
# 64 bit file offsets?
if test "$_largefiles" = yes || freebsd ; then
+@@ -7362,12 +7325,12 @@
+ echocheck "joystick"
+ _def_joystick='#undef HAVE_JOYSTICK'
+ if test "$_joystick" = yes ; then
+- if linux ; then
++# if linux ; then
+ # TODO add some check
+ _def_joystick='#define HAVE_JOYSTICK 1'
+- else
+- _joystick="no (unsupported under $system_name)"
+- fi
++# else
++# _joystick="no (unsupported under $system_name)"
++# fi
+ fi
+ echores "$_joystick"
+