ports/52713: Update port: audio/mhwaveedit to 1.2.2 (fix ports/52476)
KATO Tsuguru
tkato at prontomail.com
Wed Jun 4 13:20:15 UTC 2003
The following reply was made to PR ports/52713; it has been noted by GNATS.
From: KATO Tsuguru <tkato at prontomail.com>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc:
Subject: Re: ports/52713: Update port: audio/mhwaveedit to 1.2.2 (fix
ports/52476)
Date: Wed, 4 Jun 2003 22:18:11 +0900
Here is an up-to-date patch:
diff -urN /usr/ports/audio/mhwaveedit/Makefile audio/mhwaveedit/Makefile
--- /usr/ports/audio/mhwaveedit/Makefile Sat Apr 12 22:35:53 2003
+++ audio/mhwaveedit/Makefile Wed Jun 4 16:25:58 2003
@@ -7,8 +7,7 @@
#
PORTNAME= mhwaveedit
-PORTVERSION= 1.2.0
-PORTREVISION= 1
+PORTVERSION= 1.2.2
CATEGORIES= audio
MASTER_SITES= http://www.mtek.chalmers.se/~hjormagn/
@@ -16,13 +15,16 @@
COMMENT= A graphical program for editing sound files
LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \
- gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20
+ portaudio.0:${PORTSDIR}/audio/portaudio
-USE_REINPLACE= yes
+USE_GNOME= gnomehack gtk20
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --without-portaudio --without-sdl
+CONFIGURE_ARGS= --without-sdl
+
+post-patch:
+ @${REINPLACE_CMD} -e 's| -O2||g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff -urN /usr/ports/audio/mhwaveedit/distinfo audio/mhwaveedit/distinfo
--- /usr/ports/audio/mhwaveedit/distinfo Thu Jan 23 21:15:22 2003
+++ audio/mhwaveedit/distinfo Tue May 27 13:27:06 2003
@@ -1 +1 @@
-MD5 (mhwaveedit-1.2.0.tar.gz) = 32114d82dc97043f6c74bad45e1109b4
+MD5 (mhwaveedit-1.2.2.tar.gz) = 331b35e32270073db0ab52c590e7f0c8
diff -urN /usr/ports/audio/mhwaveedit/files/patch-src::viewcache.c audio/mhwaveedit/files/patch-src::viewcache.c
--- /usr/ports/audio/mhwaveedit/files/patch-src::viewcache.c Thu Jan 1 09:00:00 1970
+++ audio/mhwaveedit/files/patch-src::viewcache.c Sat May 17 23:44:42 2003
@@ -0,0 +1,14 @@
+--- src/viewcache.c.orig Sun May 11 06:09:12 2003
++++ src/viewcache.c Sat May 17 23:44:17 2003
+@@ -24,6 +24,11 @@
+ #include "inifile.h"
+ #include "main.h"
+
++#ifndef HAVE_CEILL
++#define ceill(x) ceil((double)(x))
++#define HAVE_CEILL
++#endif
++
+ /* How many columns to update (max) for each call to view_cache_update */
+ #define PIXELS_PER_UPDATE 10
+ #define GUINT32(x) ((guint32)x)
More information about the freebsd-ports-bugs
mailing list