FreeBSD Bugzilla – Attachment 93507 Details for
Bug 131422
[PATCH] Fix socketpair() function invocation in irc/ctrlproxy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.61 KB, created by
Ashish Shukla
on 2009-02-05 13:40:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Ashish Shukla
Created:
2009-02-05 13:40:03 UTC
Size:
1.61 KB
patch
obsolete
>diff -urN /usr/ports/irc/ctrlproxy/Makefile ctrlproxy/Makefile >--- /usr/ports/irc/ctrlproxy/Makefile 2009-01-13 03:21:19.000000000 +0530 >+++ ctrlproxy/Makefile 2009-02-05 18:50:10.000000000 +0530 >@@ -8,7 +8,7 @@ > > PORTNAME= ctrlproxy > PORTVERSION= 3.0.8 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= irc > MASTER_SITES= http://www.ctrlproxy.org/releases/ \ > LOCAL/chinsan/ctrlproxy/ >diff -urN /usr/ports/irc/ctrlproxy/files/patch-lib_connection.c ctrlproxy/files/patch-lib_connectio >n.c >--- /usr/ports/irc/ctrlproxy/files/patch-lib_connection.c 1970-01-01 05:30:00.000000000 +0530 >+++ ctrlproxy/files/patch-lib_connection.c 2009-02-05 18:52:47.000000000 +0530 >@@ -0,0 +1,18 @@ >+ >+$FreeBSD$ >+ >+--- lib/connection.c.orig >++++ lib/connection.c >+@@ -676,8 +676,12 @@ >+ pid_t pid; >+ int sock[2]; >+ >++#ifdef __FreeBSD__ >++ if (socketpair(PF_LOCAL, SOCK_STREAM, 0, sock) == -1) { >++#else >+ if (socketpair(PF_UNIX, SOCK_STREAM, AF_LOCAL, sock) == -1) { >++#endif >+ network_log(LOG_ERROR, s, "socketpair: %s", strerror(errno)); >+ return -1; >+ } >+ >diff -urN /usr/ports/irc/ctrlproxy/files/patch-lib_listener.h ctrlproxy/files/patch-lib_listener.h >--- /usr/ports/irc/ctrlproxy/files/patch-lib_listener.h 1970-01-01 05:30:00.000000000 +0530 >+++ ctrlproxy/files/patch-lib_listener.h 2009-02-05 18:47:50.000000000 +0530 >@@ -0,0 +1,14 @@ >+ >+$FreeBSD$ >+ >+--- lib/listener.h.orig >++++ lib/listener.h >+@@ -5,7 +5,7 @@ >+ #include "ctrlproxy.h" >+ >+ #ifdef HAVE_GSSAPI >+-#include <gssapi.h> >++#include <gssapi/gssapi.h> >+ #endif >+ >+ #ifndef G_MODULE_EXPORT
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 131422
: 93507