diff --git a/x11/gnustep/cynthiune/Makefile b/x11/gnustep/cynthiune/Makefile index 5c2f9c03d46..c1fd5d12098 100644 --- a/x11/gnustep/cynthiune/Makefile +++ b/x11/gnustep/cynthiune/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.5 2015/07/28 10:17:14 sebastia Exp $ +# $OpenBSD: Makefile,v 1.6 2015/07/30 20:24:58 sebastia Exp $ COMMENT = audio player for GNUstep DISTNAME = Cynthiune-1.0.0 -REVISION = 3 +REVISION = 4 CATEGORIES += audio HOMEPAGE = http://gap.nongnu.org/cynthiune/ diff --git a/x11/gnustep/cynthiune/patches/patch-Bundles_MP3_MP3_m b/x11/gnustep/cynthiune/patches/patch-Bundles_MP3_MP3_m new file mode 100644 index 00000000000..d6f45aa11af --- /dev/null +++ b/x11/gnustep/cynthiune/patches/patch-Bundles_MP3_MP3_m @@ -0,0 +1,16 @@ +$OpenBSD: patch-Bundles_MP3_MP3_m,v 1.1 2015/07/30 20:24:58 sebastia Exp $ + +Fix from upstream, prevent crasher on playing MP3, +svn rev 3064 + +--- Bundles/MP3/MP3.m.orig Thu Jul 30 19:47:29 2015 ++++ Bundles/MP3/MP3.m Thu Jul 30 19:47:41 2015 +@@ -118,7 +118,7 @@ calcInputRemain (MadStream *stream, unsigned char *iBu + inputRemain = 0; + } + else +- memcpy (iBuffer, stream->next_frame, inputRemain); ++ memmove (iBuffer, stream->next_frame, inputRemain); + } + else + inputRemain = 0;