diff options
author | naddy <naddy@FreeBSD.org> | 2014-12-24 05:09:45 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2014-12-24 05:09:45 +0800 |
commit | b07af888fe74fa7486fb4f1f0e34d97bac5e9399 (patch) | |
tree | 50f18fbc9511b2640a8a2c3066bf868c6baa659f /multimedia | |
parent | e11fea0875330f33718747727b52d3235c6a9bf8 (diff) | |
download | freebsd-ports-gnome-b07af888fe74fa7486fb4f1f0e34d97bac5e9399.tar.gz freebsd-ports-gnome-b07af888fe74fa7486fb4f1f0e34d97bac5e9399.tar.zst freebsd-ports-gnome-b07af888fe74fa7486fb4f1f0e34d97bac5e9399.zip |
Fix segfault in MikMod plugin with modern libmikmod.
PR: 196180
Submitted by: Michael Lackner
Obtained from: Jakob Steltner (Arch Linux)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/xmms/Makefile | 2 | ||||
-rw-r--r-- | multimedia/xmms/files/patch-Input_mikmod_drv__xmms.c | 21 |
2 files changed, 22 insertions, 1 deletions
diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile index 8b89c45da6e7..0e06d235cea2 100644 --- a/multimedia/xmms/Makefile +++ b/multimedia/xmms/Makefile @@ -3,7 +3,7 @@ PORTNAME= xmms PORTVERSION= 1.2.11 -PORTREVISION= 25 +PORTREVISION= 26 CATEGORIES= multimedia audio ipv6 MASTER_SITES= http://www.xmms.org/files/1.2.x/ \ http://legacy.xmms2.org/ \ diff --git a/multimedia/xmms/files/patch-Input_mikmod_drv__xmms.c b/multimedia/xmms/files/patch-Input_mikmod_drv__xmms.c new file mode 100644 index 000000000000..07847b2d59c2 --- /dev/null +++ b/multimedia/xmms/files/patch-Input_mikmod_drv__xmms.c @@ -0,0 +1,21 @@ +--- Input/mikmod/drv_xmms.c.orig 2003-05-19 21:22:06 UTC ++++ Input/mikmod/drv_xmms.c +@@ -117,6 +117,10 @@ static BOOL xmms_Reset(void) + return VC_Init(); + } + ++static void xmms_CommandLine(CHAR * commandLine) ++{ ++} ++ + MDRIVER drv_xmms = + { + NULL, +@@ -127,6 +131,7 @@ MDRIVER drv_xmms = + "xmms", + NULL, + #endif ++ xmms_CommandLine, + xmms_IsThere, + VC_SampleLoad, + VC_SampleUnload, |