Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jul 2006 08:42:39 +0900
From:      NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        Nakata Maho <maho@freebsd.org>, freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/99284: openoffice.org-2.0 fails on current because of the addition of gethostbyname_r to libc
Message-ID:  <87fyhfty8g.fsf@roddy.c3922.takamatsu-nct.ac.jp>
In-Reply-To: <200606220010.k5M0AM26012123@freefall.freebsd.org> (FreeBSD-gnats-submit@freebsd.org's message of "Thu, 22 Jun 2006 00:10:22 GMT")
References:  <200606220010.k5M0AM26012123@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Success!

I had to remove /usr/lib/libc_r.* which causes c++'s -pedantic bug.

After removing them, "portupgrade ja-openoffice.org" was successful with
this patch (I had already sent).

Index: files/patch-i65512
===================================================================
RCS file: /home/ncvs/ports/editors/openoffice.org-2.0/files/patch-i65512,v
retrieving revision 1.2
diff -u -r1.2 patch-i65512
--- files/patch-i65512	3 Jun 2006 11:39:21 -0000	1.2
+++ files/patch-i65512	21 Jun 2006 23:46:36 -0000
@@ -41,3 +41,21 @@
  #endif
  
  #endif /* __OSL_SYSTEM_H__ */
+--- moz/mozilla-source-1.7.5.patch.orig	Wed Jun 21 23:50:14 2006
++++ moz/mozilla-source-1.7.5.patch	Thu Jun 22 00:00:08 2006
+@@ -7697,3 +7697,15 @@
+   
+   # Force applications to be built non-statically
+   # when building the mozcomps meta component
++--- misc/build/mozilla/nsprpub/pr/src/misc/prnetdb.c.orig	Thu Sep  2 08:44:37 2004
+++++ misc/build/mozilla/nsprpub/pr/src/misc/prnetdb.c	Wed Jun 21 23:58:12 2006
++@@ -105,7 +105,8 @@
++ #define _PR_HAVE_GETPROTO_R_INT
++ #endif
++ 
++-#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2)
+++#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) || \
+++	(defined(__FreeBSD__) && __FreeBSD_version > 700016)
++ #define _PR_HAVE_GETPROTO_R
++ #define _PR_HAVE_5_ARG_GETPROTO_R
++ #endif

Note: I sent JCA to OOo, and I'm waiting I'll be listed.
-- 
NAKAJI Hiroyuki



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87fyhfty8g.fsf>