Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2013 18:25:39 +0200
From:      Mattia Valzelli <mattia.valzelli@gmail.com>
To:        freebsd-ports-bugs@freebsd.org
Subject:   w3m fails to build on FreeBSD 11
Message-ID:  <D4E04E46-A50C-43D3-BA8C-872E91DEDD50@gmail.com>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_1EEF7383-E612-46D1-BD61-EE23ABFB6DFF
Content-Type: multipart/mixed;
	boundary="Apple-Mail=_57F37C0E-35AD-47FD-A8BA-5E7DCFC3FB5D"


--Apple-Mail=_57F37C0E-35AD-47FD-A8BA-5E7DCFC3FB5D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi everybody, I was trying to build git from ports but I couldn't =
because w3m failed to build. My build is FreeBSD 11.0-CURRENT #0 r256636 =
with an amd64. I applied the attached patch I found here  =
http://sourceforge.net/p/w3m/patches/_discuss/thread/dee05cdc/2f1c/attachm=
ent/build-against-gc7.2.patch

After applying and building w3m manually I was able to build =
successfully git.

The problem seems to arise not that all ports are building with clang =
(just an hypothesis, please correct me if I'm wrong). Feel free to =
contact me if you need more information



--Apple-Mail=_57F37C0E-35AD-47FD-A8BA-5E7DCFC3FB5D
Content-Disposition: attachment;
	filename=build-against-gc7.2.patch
Content-Type: application/octet-stream;
	name="build-against-gc7.2.patch"
Content-Transfer-Encoding: 7bit

--- main.c.old	2007-05-31 06:49:50.000000000 +0530
+++ main.c	2010-02-16 16:16:24.000000000 +0530
@@ -842,7 +842,9 @@
     mySignal(SIGPIPE, SigPipe);
 #endif
 
-    orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
+    orig_GC_warn_proc = GC_get_warn_proc();
+    GC_set_warn_proc(wrap_GC_warn_proc);
+
     err_msg = Strnew();
     if (load_argc == 0) {
 	/* no URL specified */

--Apple-Mail=_57F37C0E-35AD-47FD-A8BA-5E7DCFC3FB5D
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii



--Apple-Mail=_57F37C0E-35AD-47FD-A8BA-5E7DCFC3FB5D--

--Apple-Mail=_1EEF7383-E612-46D1-BD61-EE23ABFB6DFF
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJSYWEEAAoJEPtorvUUom460qkH/18W7xao/ofR/2lSLGD58cAy
I0cQ+A6u6yxEE9zXXHZwZvmTl9ERsOojl+obVjC07/eERtFmxhYWoxxZwS5mUeH0
uHZlSlXdMbZ9/4UmA35LT0a7dqtSYdIf7M9o0FjSsAVPzHIxtPO497ZqUEY3hi6S
WSpxEVp3uqbGykOHSL0r8X6fcFRsHYWgb1VcU5XOSim8tV3RYjVCTc+gg7ABUY7v
u4gctrgEotavJgF1GXISosLAwaEivEGGqh/3U/JVD8M7x/YPrb8J3ZN9c7ZCzCJn
Wy7vrvMtJihIridlYuB0HRwbhbusR33cb+xRWYg4ek32pamqkrdgO6qOccjHZ5Q=
=7gC6
-----END PGP SIGNATURE-----

--Apple-Mail=_1EEF7383-E612-46D1-BD61-EE23ABFB6DFF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D4E04E46-A50C-43D3-BA8C-872E91DEDD50>