Fix overlapping memcpy; from Tim van der Molen.
Drop USE_GROFF.
This commit is contained in:
parent
d05d6f7b23
commit
824ef642f6
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.15 2014/05/19 16:57:39 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.16 2015/01/13 21:25:21 naddy Exp $
|
||||
|
||||
COMMENT = audio codec for lossless, lossy and hybrid compression
|
||||
|
||||
DISTNAME = wavpack-4.70.0
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
CATEGORIES = audio
|
||||
|
||||
HOMEPAGE = http://www.wavpack.com/
|
||||
@ -25,6 +25,5 @@ CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS = ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
USE_GROFF = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
12
audio/wavpack/patches/patch-src_wputils_c
Normal file
12
audio/wavpack/patches/patch-src_wputils_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_wputils_c,v 1.1 2015/01/13 21:25:21 naddy Exp $
|
||||
--- src/wputils.c.orig Fri Oct 11 05:23:18 2013
|
||||
+++ src/wputils.c Tue Jan 13 18:27:52 2015
|
||||
@@ -1925,7 +1925,7 @@ static uint32_t read_next_header (WavpackStreamReader
|
||||
while (1) {
|
||||
if (sp < ep) {
|
||||
bleft = (int)(ep - sp);
|
||||
- memcpy (buffer, sp, bleft);
|
||||
+ memmove (buffer, sp, bleft);
|
||||
}
|
||||
else
|
||||
bleft = 0;
|
Loading…
Reference in New Issue
Block a user