Re: Bus error

2003-11-06 Thread Simon Barner
Hi, Hi today, cvsup'ed my source and build world ... and now get an so called Bus error while i want to su, anyone know about it (or fixed it) I think the best is to build debugging version of su: # cd /usr/src/usr.bin/su # make clean # make depend # set CFLAGS=$CFLAGS -g # make #

Re: Bus error

2003-11-06 Thread Simon Barner
# set CFLAGS=$CFLAGS -g # make Arg! Please use # make CFLAGS='-O -g' instead. signature.asc Description: Digital signature

PRs for dagrab and cdparanoia reworked (was: Re: Fix for WINE on -CURRENT)

2003-11-05 Thread Simon Barner
please revise the patch and submit follow-up. Done. Tested on both -STABLE and -CURRENT. I am progress of doing the same for dagrab (expect a follow-up to PR 57227 soon). Simon signature.asc Description: Digital signature

Re: PRs for dagrab and cdparanoia reworked (was: Re: Fix for WINE on -CURRENT)

2003-11-05 Thread Simon Barner
I am progress of doing the same for dagrab (expect a follow-up to PR 57227 soon). There is no need for extra-patches. #ifdef CDIOCREADAUDIO seems to be sufficient enough. The version in GNATs is obsoleted, but my update did not make it there, although it appeared in freebsd-ports-bugs@ (I

Re: PRs for dagrab and cdparanoia reworked

2003-11-05 Thread Simon Barner
FWIW, the mplayer port also cannot play CDDA anymore on current. It probably needs a similar patch. This works for me with a patched version of cdparanoia, which makes sense, since mplayer is linked against libcdda_paranoia.so.0. You can get the patch here:

Re: Fix for WINE on -CURRENT

2003-11-04 Thread Simon Barner
can you make a patch for cdparanoia as well? cdparanoia is also broken on recent -CURRENT and testing will be easy. There is already a PR. I will rewise my patch to use __FreeBSD__ in the patch file instead of using ${EXTRA_PATCHES}. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/57226 This

Re: Fixing gcc 3.3 compile failures -- fix for audio/xmixer

2003-07-23 Thread Simon Barner
--- Xw/Base.c.orig Wed Jul 23 03:56:03 2003 +++ Xw/Base.c Wed Jul 23 03:56:43 2003 @@ -89,8 +89,8 @@ * default translation table */ static char defaultTranslations [] = \ -FocusIn: focus(in) -FocusOut: focus(out) +FocusIn: focus(in)\n\ +FocusOut: focus(out)\n\ KeyTab: tab();

Re: Fixing gcc 3.3 compile failures -- fix for audio/xmms-tfmx

2003-07-23 Thread Simon Barner
--- src/xmms_about.c.orig Wed Jul 23 04:53:36 2003 +++ src/xmms_about.cWed Jul 23 04:54:43 2003 @@ -20,11 +20,11 @@ gtk_container_border_width(GTK_CONTAINER(hbox1), 5); label = gtk_label_new( - -TFMX plugin adapted to xmms by David Le Corfec -[EMAIL PROTECTED]

Re: Fixing gcc 3.3 compile failures -- fix for games/xjumpjump

2003-07-23 Thread Simon Barner
--- texts.h.origWed Jul 23 03:48:19 2003 +++ texts.h Wed Jul 23 03:48:56 2003 @@ -1,6 +1,6 @@ #define E_MY_PRGNAME xjumpjump -#define E_VERSIONJumpJump-0.12 for X, Feb 26th 1997 by +#define E_VERSIONJumpJump-0.12 for X, Feb 26th 1997 by \ nihil ([EMAIL

Re: Fixing gcc 3.3 compile failures -- fix for graphics/xmms-gforce

2003-07-23 Thread Simon Barner
--- _Unix-X/libxpce/xvhandler.c.origWed Jul 23 04:43:19 2003 +++ _Unix-X/libxpce/xvhandler.c Wed Jul 23 04:44:31 2003 @@ -342,7 +342,7 @@ /* x_DCTCEDoComp() - Do one component for DCTCE */ int x_DCTCEDoComp(int mask, int color) { - static const char cnames[] = { red, green, blue }; +

Re: Fixing gcc 3.3 compile failures -- fix for math/surf

2003-07-23 Thread Simon Barner
--- Makefile.orig Tue Jul 22 17:13:04 2003 +++ MakefileTue Jul 22 17:13:15 2003 @@ -7,7 +7,7 @@ # PORTNAME= surf -PORTVERSION= 1.0.3 +PORTVERSION= 1.0.4 CATEGORIES=math MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=${PORTNAME} @@ -27,9 +27,5 @@

Re: Fixing gcc 3.3 compile failures -- fix for math/topaz

2003-07-23 Thread Simon Barner
--- Makefile.orig Wed Jul 23 15:02:46 2003 +++ MakefileWed Jul 23 15:03:08 2003 @@ -6,7 +6,7 @@ # PORTNAME= topaz -PORTVERSION= 3.38 +PORTVERSION= 3.39 CATEGORIES=math MASTER_SITES= http://hp.vector.co.jp/authors/VA007663/topaz/bin/ DISTNAME=

Re: Fixing gcc 3.3 compile failures -- fix for net/tp5250

2003-07-23 Thread Simon Barner
--- src/tn5250.c.orig Tue Jul 22 18:25:06 2003 +++ src/tn5250.cTue Jul 22 18:25:31 2003 @@ -179,7 +179,7 @@ tn5250 [options] HOST[:PORT]\n); #ifdef HAVE_LIBSSL printf(\ - To connect using ssl prefix HOST with 'ssl:'. Example: + To connect using ssl prefix HOST with 'ssl:'.

Re: Fixing gcc 3.3 compile failures -- fix for print/unrtf

2003-07-23 Thread Simon Barner
--- ps.c.orig Tue Jul 22 18:56:13 2003 +++ ps.cTue Jul 22 19:02:44 2003 @@ -187,7 +187,7 @@ /didShowPage false def \n\ %%--\n\ %% Set up the ISO fonts \n\ - +\n\ %% Times \n\ %% - \n\ /Times-Roman findfont dup length dict

Re: Fixing gcc 3.3 compile failures -- fix for textproc/xmlpp

2003-07-23 Thread Simon Barner
--- Makefile.orig Wed Jul 23 04:08:36 2003 +++ MakefileWed Jul 23 04:09:11 2003 @@ -21,12 +21,9 @@ .include bsd.port.pre.mk -.if ${OSVERSION} = 500113 -BROKEN= Does not compile (bad C++ code) -.endif - pre-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS}

Re: Fixing gcc 3.3 compile failures -fix for textproc/xmlppm

2003-07-23 Thread Simon Barner
--- IFile.cpp.orig Wed Jul 23 04:32:54 2003 +++ IFile.cpp Wed Jul 23 04:35:43 2003 @@ -100,7 +100,7 @@ while(insz 0) { size_t result; outsz = BUFFSIZE; -result = iconv(ifile-iconv, (char*)inptr, insz, outptr, outsz); +result = iconv(ifile-iconv, inptr, insz, outptr,

Re: Fixing gcc 3.3 compile failures -- fix for x11-toolkits/wmapp

2003-07-23 Thread Simon Barner
--- wmapp.cc.orig Wed Jul 23 03:26:58 2003 +++ wmapp.ccWed Jul 23 03:28:59 2003 @@ -4,11 +4,9 @@ using std::string; -namespace Unix { - extern C { -# include unistd.h // for usleep() - } -}; +extern C { +# include unistd.h // for usleep() +} // All the xpms we need:

Re: Fixing gcc 3.3 compile failures -- fix for x11toolkits/viewklass

2003-07-23 Thread Simon Barner
These are quite a lot of files, so I put them into a tar archive http://www.leo.org/~barner/freebsd/x11-toolkits-viewklass_port_patch.tar.gz signature.asc Description: Digital signature

Re: Fixing gcc 3.3 compile failures

2003-07-22 Thread Simon Barner
--- midimountain/mvcSongProperties.cpp.orig Tue Jul 22 04:23:32 2003 +++ midimountain/mvcSongProperties.cpp Tue Jul 22 04:25:22 2003 @@ -42,7 +42,8 @@ //= void TMvcSongProperties::SetData( void ) { - int*

Re: Fixing gcc 3.3 compile failures -- fix for net/netmap

2003-07-22 Thread Simon Barner
--- belgolib/dirs.c.origTue Jul 22 04:58:32 2003 +++ belgolib/dirs.c Tue Jul 22 04:58:46 2003 @@ -1,5 +1,6 @@ #include stdio.h #include dirent.h +#include assert.h #include list signature.asc Description: Digital signature

Re: Fixing gcc 3.3 compile failures -- fix for net/netsaint-plugins

2003-07-22 Thread Simon Barner
--- plugins/check_by_ssh.c.orig Mon Apr 23 09:43:11 2001 +++ plugins/check_by_ssh.c Tue Jul 22 05:05:52 2003 @@ -191,7 +191,7 @@ if (commands1) remotecmd=strscat(remotecmd,;echo STATUS CODE: $?;); - if (strlen (remotecmd) = 1) + if (remotecmd==NULL)

Re: Fixing gcc 3.3 compile failures -- fix for www/mod_index_rss

2003-07-22 Thread Simon Barner
--- mod_index_rss.c.origTue Jul 22 04:37:54 2003 +++ mod_index_rss.c Tue Jul 22 04:39:22 2003 @@ -11,18 +11,18 @@ #define TIME_FORMAT %a %b %d %H:%M:%S %Y /* This is the XML header file */ -#define HEADER ?xml version=\1.0\ encoding=\UTF-8\? - -!DOCTYPE rss PUBLIC \-//Netscape

Re: Fixing gcc 3.3 compile failures -- patch for graphics/gsculpt

2003-07-22 Thread Simon Barner
patch-Makefile is in order to make the port respect the CC and CXX variables. gsculpt-gcc33-patches.tar.gz contains a whole bunch of patches, mostly 'using std::foo' stuff. Cheers, Simon --- Makefile.orig Mon Jul 21 19:59:12 2003 +++ MakefileMon Jul 21 19:59:38 2003 @@ -27,7 +27,6 @@

Re: Fixing gcc 3.3 compile failures -- patch for graphics/gsculpt

2003-07-22 Thread Simon Barner
gsculpt-gcc33-patches.tar.gz contains a whole bunch of patches, mostly 'using std::foo' stuff. Since the file was cut by the mailing list system: You can find it here: http://www.leo.org/~barner/freebsd/gsculpt-gcc33-patches.tar.gz signature.asc Description: Digital signature

Re: Fixing gcc 3.3 compile failures -- fix for net/netsaint-plugins

2003-07-22 Thread Simon Barner
--- plugins/check_by_ssh.c.orig Mon Apr 23 09:43:11 2001 +++ plugins/check_by_ssh.c Tue Jul 22 05:05:52 2003 @@ -191,7 +191,7 @@ if (commands1) remotecmd=strscat(remotecmd,;echo STATUS CODE: $?;); - if (strlen (remotecmd) = 1) + if (remotecmd==NULL)

Re: Fixing gcc 3.3 compile failures -- fix for math/freefem

2003-07-20 Thread Simon Barner
Hi, -ifstream fin( path ); +std::ifstream fin( path ); A much smaller patch could be produced with using namespace std; as appropriate. Have you checked with the upstream author to see which approach is likely to be rolled into the distribution? Actually, upgrading the

Re: Fixing gcc 3.3 compile failures -- fix for audio/cmp3

2003-07-18 Thread Simon Barner
[...] If you are running 4.x, you can also help to develop fixes for these ports by installing the gcc33 port and setting CC=/usr/local/bin/gcc33 CXX=/usr/local/bin/g++33 [...] Hi, since I have some spare time today, I fixed some of the broken ports (I will start with those ports that

Re: Fixing gcc 3.3 compile failures -- fix for games/battleball

2003-07-18 Thread Simon Barner
--- Makefile.orig Fri Jul 18 17:46:10 2003 +++ MakefileFri Jul 18 17:46:39 2003 @@ -21,11 +21,9 @@ MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS} \ PTHREAD_CFLAGS=${PTHREAD_CFLAGS} -.include bsd.port.pre.mk +CFLAGS += -Wno-deprecated -.if ${OSVERSION} = 500113 -BROKEN=

Re: Fixing gcc 3.3 compile failures -- fix for multimedia/avinfo

2003-07-18 Thread Simon Barner
--- messages.c.orig Fri Jul 18 17:14:00 2003 +++ messages.c Fri Jul 18 17:14:42 2003 @@ -43,7 +43,7 @@ Author: %Z, Site: %U\n\ Comment: %p\n\n\ Audio codec information:\n\ -Signatire: %w\t\tName: %P\n +Signatire: %w\t\tName: %P\n\

Re: Fixing gcc 3.3 compile failures -- fix for devel/ecgi

2003-07-18 Thread Simon Barner
--- html2h/html2h.c.origSat Jul 19 02:31:37 2003 +++ html2h/html2h.c Sat Jul 19 02:32:42 2003 @@ -6,15 +6,15 @@ void usage() { - printf( -html2h v0.1 -usage: - html2h input.html [output.h] - - if output is not set, input.h will be generated and overwritten!

Re: Fixing gcc 3.3 compile failures -- fix for math/freefem

2003-07-18 Thread Simon Barner
--- freefem/fem/femDisk.cpp.origSat Jul 19 04:09:32 2003 +++ freefem/fem/femDisk.cpp Sat Jul 19 04:13:43 2003 @@ -95,7 +95,7 @@ char *result = 0; int dummy; -ifstream fin( path ); +std::ifstream fin( path ); if ( fin.fail() ) { @@ -198,7 +198,7 @@

Re: Fixing gcc 3.3 compile failures -- fix for science/euler

2003-07-18 Thread Simon Barner
--- metaps.c.orig Sat Jul 19 02:38:38 2003 +++ metaps.cSat Jul 19 02:39:09 2003 @@ -209,7 +209,7 @@ // rectangle clipping // x1 y1 x2 y2 setclip static char setclipmacro[]= /setclip {\n\ -gsave +gsave\ /y2 exch def\n\ /x2 exch def\n\ /y1 exch def\n\

Re: Fixing gcc 3.3 compile failures -- fix for shells/flash

2003-07-18 Thread Simon Barner
--- screens/nc_about.c.orig Mon Jan 17 11:57:20 2000 +++ screens/nc_about.c Sat Jul 19 03:21:09 2003 @@ -86,856 +86,855 @@ */ struct anim A[]= -{{\ - -___ _ __ __ - / / / / | / ___// / / / - / /_ / / / /| | \\__ \\/ /_/ / - / __/ / /___/ ___ |___/ /

Re: Fixing gcc 3.3 compile failures -- fix for graphics/giram

2003-07-18 Thread Simon Barner
Is marked broken: BROKEN=Fails to patch but the patches do apply and the port does build. signature.asc Description: Digital signature

Re: Fixing gcc 3.3 compile failures -- fix for editors/hte

2003-07-18 Thread Simon Barner
--- htapp.cc.orig Sat Jul 19 05:35:07 2003 +++ htapp.ccSat Jul 19 05:39:02 2003 @@ -2028,7 +2028,7 @@ get_stdbounds_tool(b); ht_project_window *project_window=new ht_project_window(); - project_window-init(b, project window, FS_KILLER |

Re: Fixing gcc 3.3 compile failures -- fix for science/gdis

2003-07-18 Thread Simon Barner
--- rdf.c.orig Sat Jul 19 05:08:36 2003 +++ rdf.c Sat Jul 19 05:09:00 2003 @@ -445,8 +445,8 @@ printf(calculate_rdf(): a = %f b = %f c = %f alpha = %f beta = %f gamma = %f\n, model-pbc[0], model-pbc[1], model-pbc[2], model-pbc[3], model-pbc[4], model-pbc[5]); -

Re: Fixing gcc 3.3 compile failures -- fix for sysutils/lsmlib

2003-07-18 Thread Simon Barner
--- main.c.orig Sat Jul 19 06:04:26 2003 +++ main.c Sat Jul 19 06:03:37 2003 @@ -21,7 +21,7 @@ #define USAGE usage: lsm [-h] [-o file] [dir] \n \ \n \ \th \t: print this help message\n \ -\tv \t: print current version\n +\tv \t: print current version\n\ \to file \t: use file as output

Re: Fixing gcc 3.3 compile failures -- fix for x11/imwheel

2003-07-18 Thread Simon Barner
The attached patch includes the existing patch file patch-ab, which is obsolete now. --- util.c.orig Tue Oct 31 13:06:05 2000 +++ util.c Sat Jul 19 05:45:59 2003 @@ -330,11 +330,11 @@ fclose(f); if(pid0 useFifo) { -