pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/45232: devel/distcc fails on Oracle Solaris 11 Express
>Number: 45232
>Category: pkg
>Synopsis: devel/distcc fails on Oracle Solaris 11 Express
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Aug 10 01:05:00 +0000 2011
>Originator: NAKAJI Hiroyuki
>Release: Oracle Solaris 11 Express
>Organization:
>Environment:
SunOS sayaka 5.11 snv_151a i86pc i386 i86pc Solaris
>Description:
SOL_TCP is not defined and src/io.c cannot compile.
>How-To-Repeat:
cd pkgsrc/devel/distcc
/usr/pkg/bin/bmake
>Fix:
I added following patch[1].
--- src/io.c.orig 2008-12-03 06:50:25.000000000 +0900
+++ src/io.c 2011-08-10 00:08:32.879707999 +0900
@@ -243,6 +243,16 @@
int tcp_cork_sock(int POSSIBLY_UNUSED(fd), int POSSIBLY_UNUSED(corked))
{
#ifdef TCP_CORK
+
+/* from
http://sourceforge.jp/projects/groonga/lists/archive/commit/2010-December/001036.html
*/
+# ifndef SOL_TCP
+# ifdef IPPROTO_TCP
+# define SOL_TCP IPPROTO_TCP
+# else
+# define SOL_TCP 6
+# endif /* IPPROTO_TCP */
+# endif /* SOL_TCP */
+
if (!dcc_getenv_bool("DISTCC_TCP_CORK", 1))
return 0;
REF:
[1]
http://sourceforge.jp/projects/groonga/lists/archive/commit/2010-December/001036.html
Home |
Main Index |
Thread Index |
Old Index