summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share/patches/patch-dm
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mplayer-share/patches/patch-dm')
-rw-r--r--multimedia/mplayer-share/patches/patch-dm29
1 files changed, 29 insertions, 0 deletions
diff --git a/multimedia/mplayer-share/patches/patch-dm b/multimedia/mplayer-share/patches/patch-dm
new file mode 100644
index 00000000000..9e6b6bab525
--- /dev/null
+++ b/multimedia/mplayer-share/patches/patch-dm
@@ -0,0 +1,29 @@
+--- osdep/getch2.c.orig 2005-05-20 20:17:34.000000000 +0200
++++ osdep/getch2.c 2005-05-20 20:17:57.000000000 +0200
+@@ -220,7 +220,7 @@
+ struct termios tio_new;
+ #if defined(__NetBSD__) || defined(__svr4__) || defined(__CYGWIN__) || defined(__OS2__) || defined(__GLIBC__)
+ tcgetattr(0,&tio_orig);
+-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__)
++#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__)
+ ioctl(0,TIOCGETA,&tio_orig);
+ #else
+ ioctl(0,TCGETS,&tio_orig);
+@@ -231,7 +231,7 @@
+ tio_new.c_cc[VTIME] = 0;
+ #if defined(__NetBSD__) || defined(__svr4__) || defined(__CYGWIN__) || defined(__OS2__) || defined(__GLIBC__)
+ tcsetattr(0,TCSANOW,&tio_new);
+-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__)
++#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__)
+ ioctl(0,TIOCSETA,&tio_new);
+ #else
+ ioctl(0,TCSETS,&tio_new);
+@@ -245,7 +245,7 @@
+ #ifdef HAVE_TERMIOS
+ #if defined(__NetBSD__) || defined(__svr4__) || defined(__CYGWIN__) || defined(__OS2__) || defined(__GLIBC__)
+ tcsetattr(0,TCSANOW,&tio_orig);
+-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__)
++#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__)
+ ioctl(0,TIOCSETA,&tio_orig);
+ #else
+ ioctl(0,TCSETS,&tio_orig);