Date: Tue, 12 Nov 2013 00:05:37 +0100 From: Johan Hendriks <joh.hendriks@gmail.com> To: freebsd-ports@freebsd.org Subject: Re: www/squid32 on 10-beta3 Message-ID: <CAOaKuAVFmGTofm9eaAnRL0m13zxZY_UW-6T66XGn9qcL=k_=vA@mail.gmail.com> In-Reply-To: <20131111140255.GA79601@zoidberg.smeets.im> References: <52809901.1040900@gmail.com> <EE3AE9B3-1F91-4838-826E-8DA9837E08ED@FreeBSD.org> <20131111140255.GA79601@zoidberg.smeets.im>
next in thread | previous in thread | raw e-mail | index | archive | help
Op maandag 11 november 2013 schreef Florian Smeets (flo@smeets.im): > 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<javascript:;>> > wrote: > > > I try to install www/squid32 on my FreeBSD 10-BETA3 server, but it > fails with the following error. > > > > > > Making all in base > > > /bin/sh ../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H > -I../.. -I../../include -I../../lib -I../../src -I../../include > -I/usr/include -I/usr/include -I../../libltdl -I/usr/include > -I/usr/include -O2 -pipe -march=core2 -fno-strict-aliasing > -Wno-unused-private-field -I/usr/local/include -MT AsyncCall.lo -MD -MP -MF > .deps/AsyncCall.Tpo -c -o AsyncCall.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../../libltdl -I/usr/include -I/usr/include -O2 -pipe -march=core2 > -fno-strict-aliasing -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. > > > > Please try the attached patch. I already posted a similar patch for > squid33. > > I will take care of these later today. > > Florian > Sorry, something at work came up and i have not read my mail since. I will do a portsnap tomorrow and try again. Thanks for your time and effort. Regards Johan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOaKuAVFmGTofm9eaAnRL0m13zxZY_UW-6T66XGn9qcL=k_=vA>