Date: Mon, 3 Jan 2011 13:45:45 GMT From: Gleb Sushko <neuroworker@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/153647: New patched version Message-ID: <201101031345.p03Djj4c079021@red.freebsd.org> Resent-Message-ID: <201101031350.p03DoA3n030260@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 153647 >Category: ports >Synopsis: New patched version >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jan 03 13:50:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Gleb Sushko >Release: >Organization: >Environment: >Description: [maintainer update] New patched version, fix for crashes and new features. >How-To-Repeat: >Fix: diff -ruN old/Makefile mikmod/Makefile --- old/Makefile 2010-12-23 01:23:36.000000000 +0700 +++ mikmod/Makefile 2011-01-03 20:41:59.000000000 +0700 @@ -6,16 +6,13 @@ # PORTNAME= libmikmod -PORTVERSION= 3.1.11 -PORTREVISION= 2 +PORTVERSION= 3.1.12 +PORTREVISION= 3 CATEGORIES= audio -MASTER_SITES= http://mikmod.raphnet.net/files/ +MASTER_SITES= http://209.44.102.205/FreeBSD/distfiles/ +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.patched -PATCH_SITES= http://mikmod.raphnet.net/files/ -PATCHFILES= libmikmod-3.1.11-a.diff -PATCH_DIST_STRIP= -p1 - -MAINTAINER= ports@FreeBSD.org +MAINTAINER= neuroworker@gmail.com COMMENT= MikMod Sound Library USE_AUTOTOOLS= libtool @@ -41,8 +38,6 @@ post-extract: @${RM} -f ${WRKSRC}/docs/mikmod.info-* - -post-patch: @${REINPLACE_CMD} \ -e 's|\$$CFLAGS -pthread|\$$CFLAGS ${PTHREAD_CFLAGS}|g' \ -e 's|-pthread \$$REENTRANT|\$$REENTRANT ${PTHREAD_CFLAGS}|g' \ diff -ruN old/distinfo mikmod/distinfo --- old/distinfo 2006-10-12 16:43:00.000000000 +0800 +++ mikmod/distinfo 2011-01-03 20:22:24.000000000 +0700 @@ -1,6 +1,2 @@ -MD5 (libmikmod-3.1.11.tar.gz) = 705106da305e8de191549f1e7393185c -SHA256 (libmikmod-3.1.11.tar.gz) = 2d7598cd2a8c61c023f27c9c7c1aca8bbfd92aadbee2f98b7a6d421eae35c929 -SIZE (libmikmod-3.1.11.tar.gz) = 611590 -MD5 (libmikmod-3.1.11-a.diff) = 5e56be5a32eecf3cfa195379a5ecb0ef -SHA256 (libmikmod-3.1.11-a.diff) = 4d546e905fd9f93da02701fc813f557f79b17084dc1f9ba5626475f4577eedbc -SIZE (libmikmod-3.1.11-a.diff) = 67970 +SHA256 (libmikmod-3.1.12.tar.gz) = 6f91e97c5c62975882753aa36ed52cb57674d3ff3371f5cd873109acf96d27cd +SIZE (libmikmod-3.1.12.tar.gz) = 616602 diff -ruN old/files/patch-ad mikmod/files/patch-ad --- old/files/patch-ad 2000-05-29 14:34:02.000000000 +0800 +++ mikmod/files/patch-ad 1970-01-01 07:00:00.000000000 +0700 @@ -1,32 +0,0 @@ ---- drivers/drv_raw.c 2000/05/26 10:10:11 1.1 -+++ drivers/drv_raw.c 2000/05/26 10:11:48 -@@ -58,6 +58,7 @@ - static int rawout=-1; - static SBYTE *audiobuffer=NULL; - static CHAR *filename=NULL; -+static unsigned long counter=0; - - static void RAW_CommandLine(CHAR *cmdline) - { -@@ -113,13 +114,20 @@ - if (rawout!=-1) { - close(rawout); - rawout=-1; -+ if (counter==0) -+ unlink(filename?filename:FILENAME); -+ else -+ counter=0; - } - _mm_free(audiobuffer); - } - - static void RAW_Update(void) - { -- write(rawout,audiobuffer,VC_WriteBytes(audiobuffer,BUFFERSIZE)); -+ int num; -+ num=write(rawout,audiobuffer,VC_WriteBytes(audiobuffer,BUFFERSIZE)); -+ if (num>0) -+ counter+=num; - } - - static BOOL RAW_Reset(void) diff -ruN old/pkg-descr mikmod/pkg-descr --- old/pkg-descr 2010-06-18 17:19:54.000000000 +0800 +++ mikmod/pkg-descr 2011-01-03 20:41:22.000000000 +0700 @@ -1,4 +1,4 @@ -libmikmod is a portable sound library for Unix. +Patched version of the libmikmod. Is a portable sound library for Unix. It is able to play the IT, XM, S3M, MTM, 669, STM, ULT, FAR, MED, AMF, DSM, IMF, GDM, STX, OKT and of course MOD module formats. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101031345.p03Djj4c079021>