- Convert trivial patch to simple REINPLACE_CMD, save an inode

- Hand over to multimedia@ just like other lossless encoders
This commit is contained in:
Alexey Dokuchaev 2012-02-21 14:39:06 +00:00
parent 417ac197df
commit 6bf3df0971
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292005
2 changed files with 3 additions and 12 deletions

View file

@ -12,7 +12,7 @@ CATEGORIES= audio
MASTER_SITES= http://supermmx.org/resources/linux/mac/ CENKES
DISTNAME= ${PORTNAME}-3.99-u4-b5
MAINTAINER= danfe@FreeBSD.org
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Monkey's Audio lossless codec
USE_AUTOTOOLS= libtool
@ -27,6 +27,8 @@ BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm
post-patch:
@${REINPLACE_CMD} -e 's|-O3||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/nRetVal = 0/s|int|intptr_t|' \
${WRKSRC}/src/MACLib/APEDecompress.cpp
post-install:
cd ${WRKSRC}/src/MACLib && ${INSTALL_DATA} BitArray.h \

View file

@ -1,11 +0,0 @@
--- ./src/MACLib/APEDecompress.cpp.orig Tue Jan 9 01:08:49 2007
+++ ./src/MACLib/APEDecompress.cpp Tue Jan 9 01:09:55 2007
@@ -369,7 +369,7 @@
*****************************************************************************************/
intptr_t CAPEDecompress::GetInfo(APE_DECOMPRESS_FIELDS Field, intptr_t nParam1, intptr_t nParam2)
{
- int nRetVal = 0;
+ intptr_t nRetVal = 0;
BOOL bHandled = TRUE;
switch (Field)