Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 15:02:55 +0100
From:      Florian Smeets <flo@smeets.im>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        Johan Hendriks <joh.hendriks@gmail.com>, FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: www/squid32 on 10-beta3
Message-ID:  <20131111140255.GA79601@zoidberg.smeets.im>
In-Reply-To: <EE3AE9B3-1F91-4838-826E-8DA9837E08ED@FreeBSD.org>
References:  <52809901.1040900@gmail.com> <EE3AE9B3-1F91-4838-826E-8DA9837E08ED@FreeBSD.org>

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

--gKMricLos+KVdGMg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 11, 2013 at 01:46:01PM +0100, Dimitry Andric wrote:
> On 11 Nov 2013, at 09:44, Johan Hendriks <joh.hendriks@gmail.com> wrote:
> > I try to install www/squid32 on my FreeBSD 10-BETA3 server, but it fail=
s with the following error.
> >=20
> > Making all in base
> > /bin/sh ../../libtool --tag=3DCXX    --mode=3Dcompile c++ -DHAVE_CONFIG=
_H  -I../.. -I../../include -I../../lib  -I../../src -I../../include   -I/u=
sr/include  -I/usr/include -I../../libltdl -I/usr/include  -I/usr/include  =
-O2 -pipe -march=3Dcore2 -fno-strict-aliasing -Wno-unused-private-field -I/=
usr/local/include -MT AsyncCall.lo -MD -MP -MF .deps/AsyncCall.Tpo -c -o As=
yncCall.lo AsyncCall.cc
> > libtool: compile:  c++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../=
lib -I../../src -I../../include -I/usr/include -I/usr/include -I../../liblt=
dl -I/usr/include -I/usr/include -O2 -pipe -march=3Dcore2 -fno-strict-alias=
ing -Wno-unused-private-field -I/usr/local/include -MT AsyncCall.lo -MD -MP=
 -MF .deps/AsyncCall.Tpo -c AsyncCall.cc  -fPIC -DPIC -o .libs/AsyncCall.o
> > In file included from AsyncCall.cc:5:
> > In file included from ../../src/squid-old.h:164:
> > In file included from ../../src/typedefs.h:118:
> > In file included from ../../src/anyp/ProtocolType.h:5:
> > In file included from /usr/include/c++/v1/ostream:130:
> > In file included from /usr/include/c++/v1/ios:216:
> > In file included from /usr/include/c++/v1/__locale:15:
> > In file included from /usr/include/c++/v1/string:432:
> > /usr/include/c++/v1/cstdio:139:9: error: no member named
> >      'ERROR_sprintf_UNSAFE_IN_SQUID' in the global namespace
> > using ::sprintf;
> >      ~~^
> > ../../compat/unsafe.h:10:17: note: expanded from macro 'sprintf'
> > #define sprintf ERROR_sprintf_UNSAFE_IN_SQUID
> >                ^
> > 1 error generated.
>=20
> Please try the attached patch.  I already posted a similar patch for squi=
d33.

I will take care of these later today.

Florian

--gKMricLos+KVdGMg
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (FreeBSD)

iQJ8BAEBCgBmBQJSgOOOXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNzAxMDMyMDNCQ0FCNDRBOThGRUM4NDRF
NzA1M0RGOUZGODZGMDc2AAoJEOcFPfn/hvB2/CUP/2TVeE1faraWfvOQmx3GS0JG
O5/11F9h/Q+6/Wr0nwntQNdKMN2/fOkz54bQo4hf5p4Gkds7Z3q8tGPMrVk9bGzz
GR87KsoRyD4Gy+N6GbonCS2CgYHu+ThyeuZ3/m0QXOySB1K+c8mmbel2RnakAiaC
Gxfp0GY9PyNvNG1bYU5DT9/dAngZQnDIqK17h6AoOIZA15aQkKgBWhrtU0XRm6br
uzuB9yPIfV+SvesyK64f2t1tf0m+vt2GhIgT+MNOy2z8T1cz9XNe49tWEMJuj6gl
iaWSyM8ZwYoVbFniFlxH8bT6vTjyAhDcnElRcfYji9lCZx3InMsQRmQWy5YJTjRz
vsOERiynBv190IZn/+ug80mkli6vaX1LjvI06NgItyABIF+hT3wSd4YymNhJFJWi
zRrNhl7EBKPWfyobzx1YFSPRh9wfmmp97Ri88vu4lA/KOc/gdu7QDB2JPTJgiV4j
fLhFMaO5bG1/8UIfwGJjwqHi+bsYgikntif2R1vSCKD4BP5deB53lVfjxCxh58KG
IStu2CpWbbedjkyT1AhMq2pZ1FUUNVwlZZ3zeN1GMJzzQHDMTkhlqHPNzmU9Feg/
qYYg7+JYVFlS2umfY/4tn/bFBh7hLKOudf5aFuArP+hc8/mrU+c/4tBZsNLLwscx
ejnF4U1yP+UWOFjvm7Jt
=VAzn
-----END PGP SIGNATURE-----

--gKMricLos+KVdGMg--



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