Bug 52713 - Update port: audio/mhwaveedit to 1.2.2 (fix ports/52476)
Summary: Update port: audio/mhwaveedit to 1.2.2 (fix ports/52476)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-27 13:10 UTC by tkato
Modified: 2003-06-04 17:21 UTC (History)
0 users

See Also:


Attachments
file.diff (1.72 KB, patch)
2003-05-27 13:10 UTC, tkato
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato 2003-05-27 13:10:12 UTC
- Update to version 1.2.2

New file:
files/patc-src::viewcache.c

Following PR(s) should be superseded by this one:
[2003/05/20] ports/52476  ports-bugs  Update port: audio/mhwaveedit to 1.2.1
Comment 1 tkato 2003-06-04 14:18:11 UTC
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)
Comment 2 Adam Weinberger freebsd_committer freebsd_triage 2003-06-04 17:21:11 UTC
State Changed
From-To: open->closed

Committed, thanks!