[65068] trunk/dports/net/libproxy
raimue at macports.org
raimue at macports.org
Sat Mar 20 17:45:07 PDT 2010
Revision: 65068
http://trac.macports.org/changeset/65068
Author: raimue at macports.org
Date: 2010-03-20 17:45:05 -0700 (Sat, 20 Mar 2010)
Log Message:
-----------
net/libproxy:
Fix use of FNONBLOCK, #24117
Modified Paths:
--------------
trunk/dports/net/libproxy/Portfile
Added Paths:
-----------
trunk/dports/net/libproxy/files/
trunk/dports/net/libproxy/files/patch-fnonblock.diff
Modified: trunk/dports/net/libproxy/Portfile
===================================================================
--- trunk/dports/net/libproxy/Portfile 2010-03-20 22:54:21 UTC (rev 65067)
+++ trunk/dports/net/libproxy/Portfile 2010-03-21 00:45:05 UTC (rev 65068)
@@ -7,6 +7,7 @@
name libproxy
version 0.4.0
+revision 1
categories net
maintainers devans openmaintainer
platforms darwin
@@ -36,15 +37,16 @@
depends_lib \
port:xorg-libX11 \
+ port:xorg-libXmu \
+ port:gconf \
+ port:python26 \
port:xorg-libXmu
+patchfiles patch-fnonblock.diff
+
configure.args-append \
-D__pkg_config_checked_KDE4=YES
-depends_lib port:gconf \
- port:python26 \
- port:xorg-libXmu
-
configure.python ${prefix}/bin/python2.6
variant no_gnome description "Disable GNOME support" {
Added: trunk/dports/net/libproxy/files/patch-fnonblock.diff
===================================================================
--- trunk/dports/net/libproxy/files/patch-fnonblock.diff (rev 0)
+++ trunk/dports/net/libproxy/files/patch-fnonblock.diff 2010-03-21 00:45:05 UTC (rev 65068)
@@ -0,0 +1,11 @@
+--- libproxy/modules/config_gnome.cpp.orig 2010-03-21 01:33:48.000000000 +0100
++++ libproxy/modules/config_gnome.cpp 2010-03-21 01:35:57.000000000 +0100
+@@ -114,7 +114,7 @@
+ throw runtime_error("Unable to open gconf helper!");
+
+ // Set the read pipe to non-blocking
+- if (fcntl(fileno(this->read), F_SETFL, FNONBLOCK) == -1) {
++ if (fcntl(fileno(this->read), F_SETFL, O_NONBLOCK) == -1) {
+ fclose(this->read);
+ fclose(this->write);
+ kill(this->pid, SIGTERM);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100320/f68b4bdf/attachment.html>
More information about the macports-changes
mailing list