From owner-freebsd-sparc Thu Dec 26 8: 3:37 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEF3237B401 for ; Thu, 26 Dec 2002 08:03:35 -0800 (PST) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 594AE43EC2 for ; Thu, 26 Dec 2002 08:03:35 -0800 (PST) (envelope-from bzeeb+freebsdports@zabbadoz.net) Received: from localhost (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 482FD1FFF3A for ; Thu, 26 Dec 2002 17:03:34 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id 740FB1FFF3C; Thu, 26 Dec 2002 17:03:33 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 38DE21533F; Thu, 26 Dec 2002 16:01:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 2F26515338 for ; Thu, 26 Dec 2002 16:01:23 +0000 (UTC) Date: Thu, 26 Dec 2002 16:01:23 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: sparc@FreeBSD.org Subject: port fix test request Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020300 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I maintain the port textproc/xerces-c2 that currently does not build on sparc64 and I would like to ask if anybody can test the attached fix before I will submit it. It creates two new files. Source is about 6.8MB and it need gnake and libiconv as dependencies. It would be enough to run make; no need for make install or make package. I assume that `uname -m` returns sparc64 ? Else please rename Makefile.sparc64 to Makefile.`uanme -m` . Thanks in advance -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/ --- 8< 8< 8< --- diff -urN xerces-c2.orig/Makefile.sparc64 xerces-c2/Makefile.sparc64 --- xerces-c2.orig/Makefile.sparc64 Thu Jan 1 00:00:00 1970 +++ xerces-c2/Makefile.sparc64 Thu Dec 26 15:28:31 2002 @@ -0,0 +1,11 @@ +# Date created: 26 December 2002 +# Whom: "Bjoern A. Zeeb" (bzeeb+freebsdports@zabbadoz.net) +# +# $FreeBSD$ +# +# When there are no probs with libc_r / pthreads on sparc64-freebsd we +# should remove this files or make it conditional on OSVERSION +# + +NO_THREADS= yes + diff -urN xerces-c2.orig/files/patch-aa xerces-c2/files/patch-aa --- xerces-c2.orig/files/patch-aa Thu Jan 1 00:00:00 1970 +++ xerces-c2/files/patch-aa Wed Dec 25 20:06:21 2002 @@ -0,0 +1,11 @@ +--- ./src/xercesc/util/Transcoders/IconvFBSD/IconvFBSDTransService.cpp.orig Wed Dec 25 19:52:38 2002 ++++ ./src/xercesc/util/Transcoders/IconvFBSD/IconvFBSDTransService.cpp Wed Dec 25 19:52:45 2002 +@@ -1091,7 +1091,7 @@ + // perform conversion + wLent *= uChSize(); + char *ptr = retVal; +- size_t rc = iconvTo(wideCharBuf, &wLent, &ptr, neededLen); ++ size_t rc = iconvTo(wideCharBuf, (size_t *)&wLent, &ptr, neededLen); + if (rc == (size_t)-1) { + if (wBufPtr) + delete [] wBufPtr; --- 8< 8< 8< --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message