Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2007 14:52:12 GMT
From:      Sven Petai <hadara@bsd.ee>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/118383: [patch] update audio/praat to 4.6.39
Message-ID:  <200712021452.lB2EqCL2062825@www.freebsd.org>
Resent-Message-ID: <200712021500.lB2F031P082220@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         118383
>Category:       ports
>Synopsis:       [patch] update audio/praat to 4.6.39
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 02 15:00:03 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Sven Petai
>Release:        7.0-BETA2
>Organization:
NPO BSD Estonia
>Environment:
reeBSD depression.softematic.com 7.0-BETA2 FreeBSD 7.0-BETA2 #2: Wed Nov  7 08:56:42 EET 2007     hadara@depression.softematic.com:/usr/obj/usr/src/sys/DEPRESSION64  amd64
>Description:
Attached patch updates Praat to the latest upstream version (4.6.39)
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN praat_old/Makefile praat/Makefile
--- praat_old/Makefile	2007-05-19 22:59:35.000000000 +0300
+++ praat/Makefile	2007-12-02 16:16:00.000000000 +0200
@@ -6,22 +6,25 @@
 #
 
 PORTNAME=	praat
-PORTVERSION=	4.4.10
+PORTVERSION=	4.6.39
 PORTREVISION=	1
 CATEGORIES=	audio science
-MASTER_SITES=	http://www.neuro.mcw.edu/~bacon/Ports/distfiles/Praat/4410/
-DISTNAME=	praat4410_sources
+MASTER_SITES=	http://www.fon.hum.uva.nl/praat/
+DISTNAME=	praat4639_sources
+USE_DOS2UNIX=	yes
+DOS2UNIX_REGEX=  .*Makefile
 
 MAINTAINER=	bacon@smithers.neuro.mcw.edu
 COMMENT=	Phonetics by Computer
 
 USE_X_PREFIX=	yes
 USE_MOTIF=	yes
-WRKSRC=		${WRKDIR}/sources_4410
+WRKSRC=		${WRKDIR}/sources_4639
 MAKEFILE=	makefile
 PLIST_FILES=	bin/praat
 
 post-patch:
+	@${REINPLACE_CMD} -e 's/ log2/ NUMlog2/' ${WRKSRC}/dwtools/Sound_extensions.c
 	@${FIND} ${WRKSRC} -name Makefile -exec \
 		${REINPLACE_CMD} -e 's|^CFLAGS =|CFLAGS +=|' "{}" \;
 	@${CP} ${WRKSRC}/makefiles/makefile.defs.freebsd.dynamic \
diff -ruN praat_old/distinfo praat/distinfo
--- praat_old/distinfo	2006-04-03 05:35:01.000000000 +0300
+++ praat/distinfo	2007-12-02 15:46:38.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (praat4410_sources.tar.gz) = 4ce2ff7ef39f20630ce399b8ea68f57f
-SHA256 (praat4410_sources.tar.gz) = 2e1e0108d0a575c22a546cedc211128ddc38e8d50bcbce6710140c3f8da66790
-SIZE (praat4410_sources.tar.gz) = 2442588
+MD5 (praat4639_sources.tar.gz) = ab8399affb727bd775271724b81becfd
+SHA256 (praat4639_sources.tar.gz) = eba69ae300c9e86bea8a6dd69953b4436efb6519fb3ae228a9fe7d9e8cfa0c05
+SIZE (praat4639_sources.tar.gz) = 4928560
diff -ruN praat_old/files/patch-makefiles_makefile.defs.freebsd.dynamic praat/files/patch-makefiles_makefile.defs.freebsd.dynamic
--- praat_old/files/patch-makefiles_makefile.defs.freebsd.dynamic	2006-04-03 05:35:02.000000000 +0300
+++ praat/files/patch-makefiles_makefile.defs.freebsd.dynamic	2007-12-02 16:00:19.000000000 +0200
@@ -1,14 +1,14 @@
---- makefiles/makefile.defs.freebsd.dynamic.orig	Thu May 19 14:12:01 2005
-+++ makefiles/makefile.defs.freebsd.dynamic	Mon Apr  3 04:24:51 2006
-@@ -4,9 +4,9 @@
- # Jason W. Bacon (jbacon@mcw.edu), December 6, 2003 
- # Paul Boersma, May 19, 2005
+--- makefiles/makefile.defs.freebsd.dynamic.orig	2007-12-02 15:47:18.000000000 +0200
++++ makefiles/makefile.defs.freebsd.dynamic	2007-12-02 15:55:05.000000000 +0200
+@@ -3,9 +3,9 @@
+ # System: FreeBSD
+ # Paul Boersma, January 31, 2007
  
--CC = gcc -DUNIX -Dlinux -I /usr/X11R6/include -Wimplicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O
-+CC += -DUNIX -Dlinux -I${X11BASE}/include -trigraphs
+-CC = gcc -std=gnu99 -DUNIX -Dlinux -I /usr/X11R6/include -Wimplicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O
++CC += -std=gnu99 -DUNIX -Dlinux -I${X11BASE}/include -Wimplicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized
  
 -LIBS = /usr/X11R6/lib/libXm.a -L /usr/X11R6/lib -lXmu -lXp -lXt -lSM -lICE -lXext -lX11 -lm 
-+LIBS = ${X11BASE}/lib/libXm.a -L${X11BASE}/lib -lXmu -lXp -lXt -lSM -lICE -lXext -lX11 -lm 
++LIBS = ${X11BASE}/lib/libXm.a -L${X11BASE}/lib -lXmu -lXp -lXt -lSM -lICE -lXext -lX11 -lm
  
  RANLIB = ls
  ICON =


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712021452.lB2EqCL2062825>