From owner-freebsd-ports@FreeBSD.ORG Tue Apr 8 00:29:22 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAF1737B401 for ; Tue, 8 Apr 2003 00:29:21 -0700 (PDT) Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 716E143FA3 for ; Tue, 8 Apr 2003 00:29:20 -0700 (PDT) (envelope-from flynn@energyhq.homeip.net) Received: from christine.energyhq.tk (christine.energyhq.tk [192.168.100.1]) by energyhq.homeip.net (Postfix) with SMTP id 204D72BEE4; Tue, 8 Apr 2003 09:29:20 +0200 (CEST) Date: Tue, 8 Apr 2003 09:29:34 +0200 From: Miguel Mendez To: Kris Kennaway Message-Id: <20030408092934.0d738565.flynn@energyhq.homeip.net> In-Reply-To: <20030407220114.GA58961@rot13.obsecurity.org> References: <20030407220114.GA58961@rot13.obsecurity.org> X-Mailer: Sylpheed version 0.8.11claws (GTK+ 1.2.10; i386--netbsdelf) X-Face: 1j}k*2E>Y\+C~E|/wehi[:dCM,{N7/uE3o# P,{t7gA/qnovFDDuyQV.1hdT7&#d)q"xY33}{_GS>kk'S{O]nE$A`T|\4&p\&mQyexOLb8}FO List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 07:29:22 -0000 --=.5hoxNd?qRqQ+9h Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 7 Apr 2003 15:01:14 -0700 Kris Kennaway wrote: > http://bento.freebsd.org/errorlogs/i386-5-latest/mpegedit-2.2.log > > Can someone please investigate/fix? Yet another broken C++ problem. I've started fixing it, it currently breaks in another file. This is what I've done so far, if I have time before leaving for university, I'll resend a more proper fix. Maybe our friend Simon Schubert can have a go at it too, since I'm not C++ guru by any means. diff -ruN mpegedit.old/files/patch-ad mpegedit/files/patch-ad --- mpegedit.old/files/patch-ad Sat Feb 12 20:17:19 2000 +++ mpegedit/files/patch-ad Tue Apr 8 09:07:48 2003 @@ -1,6 +1,17 @@ --- editor/mono_window.C.orig Sat May 20 17:47:32 1995 -+++ editor/mono_window.C Thu Feb 3 21:27:07 2000 -@@ -24,6 +24,8 @@ ++++ editor/mono_window.C Tue Apr 8 09:07:32 2003 +@@ -19,11 +19,19 @@ + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + ++#if __GNUC__>=3 ++#include ++using namespace std; ++#endif ++ ++ + #include "mono_window.H" + #include "yuv.H" #include #include @@ -9,7 +20,7 @@ MonoWindow::MonoWindow(UI_Globals *parent,world_c x,world_c y, unsigned int height,unsigned int width, void (*cb)(void) ) -@@ -137,7 +139,7 @@ +@@ -137,7 +145,7 @@ ximage=XCreateImage(DispPointer(),None,8,ZPixmap,0,&dummy, width,height,8,0); @@ -18,7 +29,7 @@ assert(ximage->data!=NULL); #ifdef SH_MEM } -@@ -154,7 +156,7 @@ +@@ -154,7 +162,7 @@ for(int j = 0; j < GRAY_RANGE; j ++) { tmp_pixel = col_array[j]; @@ -27,7 +38,7 @@ } XFreeGC(DispPointer(),gc); -@@ -222,7 +224,7 @@ +@@ -222,7 +230,7 @@ for(int j = 0; j < i; j ++) { tmp_pixel = col_array[j]; @@ -36,7 +47,7 @@ } cerr << "Unable to allocate the colours required to make the\n" << "monochrome window. Please re-run with the option " -@@ -254,7 +256,7 @@ +@@ -254,7 +262,7 @@ { assert(Frame.width()==ximage->width); assert(Frame.height()==ximage->height); diff -ruN mpegedit.old/files/patch-ae mpegedit/files/patch-ae --- mpegedit.old/files/patch-ae Sat Feb 12 20:17:19 2000 +++ mpegedit/files/patch-ae Tue Apr 8 09:09:45 2003 @@ -1,6 +1,17 @@ --- editor/bw_window.C.orig Mon May 8 16:15:00 1995 -+++ editor/bw_window.C Thu Feb 3 21:29:23 2000 -@@ -24,6 +24,8 @@ ++++ editor/bw_window.C Tue Apr 8 09:09:08 2003 +@@ -19,11 +19,19 @@ + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + ++#if __GNUC__>=3 ++#include ++using namespace std; ++#endif ++ ++ + #include "bw_window.H" + #include "yuv.H" #include #include @@ -9,7 +20,7 @@ BwWindow::BwWindow(UI_Globals *parent,world_c x,world_c y,unsigned int height, unsigned int width, void (*cb)(void) ) : YUV_Window(parent,x,y,height,width,this, ButtonPressMask | -@@ -143,7 +145,7 @@ +@@ -143,7 +151,7 @@ height,8,0); ximage->byte_order = MSBFirst; ximage->bitmap_bit_order = MSBFirst; @@ -18,7 +29,7 @@ assert(ximage->data!=NULL); #ifdef SH_MEM } -@@ -213,7 +215,7 @@ +@@ -213,7 +221,7 @@ { assert(Frame.width()==ximage->width); assert(Frame.height()==ximage->height); -- Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk Tired of Spam? -> http://www.trustic.com --=.5hoxNd?qRqQ+9h Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (NetBSD) iD8DBQE+knpenLctrNyFFPERAq13AJ9ETt56dQ6PklXXmDgD8F7OUwObTACfQD19 NCdvwscnG3s8uuXRksAlGb4= =0s0D -----END PGP SIGNATURE----- --=.5hoxNd?qRqQ+9h--