Date: Mon, 03 Jun 2013 00:27:08 +0200 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@freebsd.org Cc: jpaetzel@freebsd.org Subject: ports/179235: [PATCH] audio/sphinx3: Trim pkg-plist, remove simple patch Message-ID: <20130602222716.9B1843D6@hub.freebsd.org> Resent-Message-ID: <201306022230.r52MU0Vo054136@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179235 >Category: ports >Synopsis: [PATCH] audio/sphinx3: Trim pkg-plist, remove simple patch >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jun 02 22:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.1-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 >Description: - Use REINPLACE_CMD instead of simple patches - Trim pkg-plist Removed file(s): - files/patch-src_libs3decoder_libsearch_vithist.c Generated and tested manually, tested with port test and with RedPort, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: Build log https://redports.org/buildarchive/20130602213801-52509/ >Fix: --- sphinx3-0.8_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/audio/sphinx3/Makefile ./Makefile --- /usr/ports/audio/sphinx3/Makefile 2013-06-02 19:00:28.000000000 +0200 +++ ./Makefile 2013-06-02 23:33:47.000000000 +0200 @@ -12,12 +12,12 @@ LIB_DEPENDS= sphinxbase:${PORTSDIR}/audio/sphinxbase +USES= pathfix USE_LDCONFIG= yes USE_GMAKE= yes USE_AUTOTOOLS=libtool USE_CSTD= gnu99 MAKE_JOBS_UNSAFE= yes -USES= pathfix CFLAGS+= -I${LOCALBASE}/include #-I${LOCALBASE}/include/sphinxbase CXXFLAGS+= -I${LOCALBASE}/include #-I${LOCALBASE}/include/sphinxbase @@ -26,4 +26,8 @@ MAKE_ENV= MKDIR="${MKDIR}" \ OSVERSION=${OSVERSION} +post-patch: + @${REINPLACE_CMD} -e 's|heap_t h|heap_t* h|' \ + ${WRKSRC}/src/libs3decoder/libsearch/vithist.c + .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/audio/sphinx3/files/patch-src_libs3decoder_libsearch_vithist.c ./files/patch-src_libs3decoder_libsearch_vithist.c --- /usr/ports/audio/sphinx3/files/patch-src_libs3decoder_libsearch_vithist.c 2013-06-02 19:00:28.000000000 +0200 +++ ./files/patch-src_libs3decoder_libsearch_vithist.c 1970-01-01 01:00:00.000000000 +0100 @@ -1,11 +0,0 @@ ---- src/libs3decoder/libsearch/vithist.c.orig 2012-12-14 12:01:13.000000000 -0500 -+++ src/libs3decoder/libsearch/vithist.c 2012-12-14 12:00:44.000000000 -0500 -@@ -647,7 +647,7 @@ vithist_prune(vithist_t * vh, dict_t * d - { - int32 se, fe, filler_done, th; - vithist_entry_t *ve; -- heap_t h; -+ heap_t* h; - s3wid_t *wid; - int32 i; - diff -ruN --exclude=CVS /usr/ports/audio/sphinx3/pkg-plist ./pkg-plist --- /usr/ports/audio/sphinx3/pkg-plist 2013-06-02 19:00:28.000000000 +0200 +++ ./pkg-plist 2013-04-02 03:10:30.000000000 +0200 @@ -128,8 +128,8 @@ %%DATADIR%%/model/ep/variances %%DATADIR%%/model/hmm/RM1_cd_semi/feat.params %%DATADIR%%/model/hmm/RM1_cd_semi/kdtrees -%%DATADIR%%/model/hmm/RM1_cd_semi/means %%DATADIR%%/model/hmm/RM1_cd_semi/mdef +%%DATADIR%%/model/hmm/RM1_cd_semi/means %%DATADIR%%/model/hmm/RM1_cd_semi/mixture_weights %%DATADIR%%/model/hmm/RM1_cd_semi/transition_matrices %%DATADIR%%/model/hmm/RM1_cd_semi/variances --- sphinx3-0.8_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130602222716.9B1843D6>