Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2004 14:38:27 +0200
From:      "Anders Hanssen" <anders@wax.nu>
To:        "Simon Barner" <barner@in.tum.de>, "Vicki Brown" <vlb@cfcl.com>
Cc:        ports@FreeBSD.org
Subject:   Re: Is there a mechanism for suggesting a package to be added toports?
Message-ID:  <016201c490e9$c2aca2d0$6a00a8c0@glorfindel>
References:  <p061104d6bd5be87e6e7e@[10.1.1.144]> <20040902094643.GA65650@zi025.glhnet.mhn.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_015F_01C490FA.8244FEC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi Simon!

* "Simon Barner" <barner@in.tum.de>:
> what a nice tool! I created a port for it, but I did not test it on
> FreeBSD 4.x. Could you please do that for me and tell me how it works?

On a 4.9-STABLE box it compiles and installs fine with the attached
patch-aa, but only if I use a newer g++ than the stock (2.95.4). I used g++
3.2.3.

With 2.95 I got an error when compiling some template stuff in
Cxx-API/include/Synopsis/Python/Object.hh, plus it got confused about struct
sigaction and sigaction(2). Have no time to investigate the template
problem, but the sigaction problem is solved with patch-ab. In addition, it
needs patch-ac to include <algorithm> before using std::remove() and
std::find() in Cxx-API/src/Path-posix.cc.

-- 
Anders

------=_NextPart_000_015F_01C490FA.8244FEC0
Content-Type: application/octet-stream;
	name="patch-aa"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="patch-aa"

Index: Synopsis/Parsers/C/Translator.cc=0A=
7a8=0A=
> #include <math.h>=0A=
Index: Synopsis/Parsers/C/ctool.cc=0A=
7a8=0A=
> #include <math.h>=0A=
Index: Synopsis/Parsers/Cpp/cpp.cc=0A=
7a8=0A=
> #include <math.h>=0A=
Index: Synopsis/Parsers/Cxx/syn/Translator.cc=0A=
8a9=0A=
> #include <math.h>=0A=
Index: Synopsis/Parsers/Cxx/syn/filter.cc=0A=
23a24=0A=
> #include <math.h>=0A=
Index: Synopsis/Parsers/Cxx/syn/link.cc=0A=
8a9=0A=
> #include <math.h>=0A=
Index: Synopsis/Parsers/Cxx/syn/linkstore.cc=0A=
8a9=0A=
> #include <math.h>=0A=
Index: Synopsis/Parsers/Cxx/syn/occ.cc=0A=
8a9=0A=
> #include <math.h>=0A=
Index: Synopsis/Parsers/Cxx/syn/swalker.cc=0A=
8a9=0A=
> #include <math.h>=0A=

------=_NextPart_000_015F_01C490FA.8244FEC0
Content-Type: application/octet-stream;
	name="patch-ab"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="patch-ab"

Index: Cxx-API/src/ErrorHandler.cc=0A=
75,77c75,77=0A=
<   sigaction(SIGSEGV, &newa, &olda);=0A=
<   sigaction(SIGBUS, &newa, &olda);=0A=
<   sigaction(SIGABRT, &newa, &olda);=0A=
---=0A=
>   ::sigaction(SIGSEGV, &newa, &olda);=0A=
>   ::sigaction(SIGBUS, &newa, &olda);=0A=
>   ::sigaction(SIGABRT, &newa, &olda);=0A=
84,86c84,86=0A=
<   sigaction(SIGABRT, &olda, 0);=0A=
<   sigaction(SIGBUS, &olda, 0);=0A=
<   sigaction(SIGSEGV, &olda, 0);=0A=
---=0A=
>   ::sigaction(SIGABRT, &olda, 0);=0A=
>   ::sigaction(SIGBUS, &olda, 0);=0A=
>   ::sigaction(SIGSEGV, &olda, 0);=0A=

------=_NextPart_000_015F_01C490FA.8244FEC0
Content-Type: application/octet-stream;
	name="patch-ac"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="patch-ac"

Index: Cxx-API/src/Path-posix.cc=0A=
8a9=0A=
> #include <algorithm>=0A=

------=_NextPart_000_015F_01C490FA.8244FEC0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?016201c490e9$c2aca2d0$6a00a8c0>