Subject: GCC4 packages update
To: None <pkgsrc-users@netbsd.org>
From: haad <haaaad@gmail.com>
List: pkgsrc-users
Date: 08/07/2006 22:51:05
This is a multi-part message in MIME format.
--------------070609040700070405060704
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list

On my laptop I use for testing purposes gcc4.Today have tried update my
packages collection to PKGSRC2006Q2 branch.I encountered problems with
this packages from my package list.

sysutils/gkrellm
- ->http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=33444

devel/rapidsvn ->I updated makefile to download newer version it
compiles and works fine.

mail/thunderird ->I have made patch[patch-du_thunderbird] for this error
.after patching thunderbird compiles fine.

x11/eterm -> I have made patch for this error ,too.[patch-ak_eterm]
after patching eterm compiles runs and compiles fine.

I have no gcc3 installed can somebody test these patches and if they are
ok commit them ??


Regards


P.S Please CC: me I am not registered in this mailing list. thx.
- --
Adam Hamsik
ICQ 249727910
jabber haad@jabber.org
- --------------------------------------------------------------
There are 10 kinds of people in the world. Those who understand
binary numbers, and those who don't.
				

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (NetBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE16e59Wt2FT7y228RAtTYAKCIWpgI8a6ALno2imrFBYO7TFmr/gCgtFn7
ZLlaKZEoYcDN2e4uPBDxEwE=
=8RbR
-----END PGP SIGNATURE-----

--------------070609040700070405060704
Content-Type: text/plain;
 name="Makefile_rapidsvn"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Makefile_rapidsvn"

# $NetBSD: Makefile,v 1.28 2006/07/22 04:46:15 rillig Exp $

DISTNAME=		rapidsvn-0.9.3
PKGREVISION=		3
CATEGORIES=		devel x11
MASTER_SITES=		http://www.rapidsvn.org/download/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://rapidsvn.tigris.org/
COMMENT=		Cross-platform Subversion GUI

USE_TOOLS+=		gmake
USE_LANGUAGES=		c c++
USE_LIBTOOL=		YES
GNU_CONFIGURE=		YES

CONFIGURE_ARGS+=	--with-svn-include=${BUILDLINK_DIR}/include
CONFIGURE_ARGS+=	--with-svn-lib=${BUILDLINK_DIR}/lib

INSTALLATION_DIRS+=	include/svncpp

post-configure:
	${ECHO} 'all:' > ${WRKSRC}/doc/manpage/Makefile
	${ECHO} 'install:' >> ${WRKSRC}/doc/manpage/Makefile

post-install:
	${INSTALL_MAN} ${WRKSRC}/doc/manpage/rapidsvn.1 \
		${PREFIX}/${PKGMANDIR}/man1


.include "../../devel/apr/buildlink3.mk"
.include "../../devel/subversion-base/buildlink3.mk"
.include "../../x11/wxGTK/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"


--------------070609040700070405060704
Content-Type: text/plain;
 name="patch-du_thunderbird"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-du_thunderbird"

$NetBSD: patch-du,v 1.4 2006/02/05 14:49:05 haad Exp $

--- mailnews/mime/src/mimemult.cpp.orig	2006-07-29 00:02:46.000000000 +0200
+++ mailnews/mime/src/mimemult.cpp	
@@ -73,7 +73,7 @@
 extern "C" MimeObjectClass mimeMultipartRelatedClass;
 extern "C" MimeObjectClass mimeMultipartSignedClass;
 extern "C" MimeObjectClass mimeInlineTextVCardClass;
-extern "C" MimeExternalObjectClass mimeExternalObjectClass;
+extern "C++" MimeExternalObjectClass mimeExternalObjectClass;
 
 #if defined(DEBUG) && defined(XP_UNIX)
 static int MimeMultipart_debug_print (MimeObject *, PRFileDesc *, PRInt32);


--------------070609040700070405060704
Content-Type: text/plain;
 name="patch-ak_eterm"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-ak_eterm"

$NetBSD: patch-ak,v 1.1 2005/10/03 19:52:04 haad Exp $

--- src/command.c.orig	2006-07-28 13:06:14.000000000 +0200
+++ src/command.c	
@@ -3002,9 +3002,9 @@
     Xfd = XConnectionNumber(Xdisplay);
     D_CMD(("Xfd = %d\n", Xfd));
     cmdbuf_ptr = cmdbuf_endp = cmdbuf_base;
-    AT_LEAST((int) num_fds, Xfd + 1);
+    AT_LEAST(num_fds,Xfd+1);
     if (pipe_fd >= 0) {
-        AT_LEAST((int) num_fds, pipe_fd + 1);
+        AT_LEAST(num_fds,pipe_fd + 1);
     }
     if ((cmd_fd = command_func(argv)) < 0) {
         print_error("Unable to run sub-command.\n");

--------------070609040700070405060704--