[30677] trunk/dports/security/authforce

source_changes at macosforge.org source_changes at macosforge.org
Sat Nov 3 13:38:15 PDT 2007


Revision: 30677
          http://trac.macosforge.org/projects/macports/changeset/30677
Author:   mgrimes at macports.org
Date:     2007-11-03 13:38:14 -0700 (Sat, 03 Nov 2007)

Log Message:
-----------
Now builds in 10.5. CURLOPT_MUTE is deprecated.

Modified Paths:
--------------
    trunk/dports/security/authforce/Portfile

Added Paths:
-----------
    trunk/dports/security/authforce/files/
    trunk/dports/security/authforce/files/patch-http.c

Modified: trunk/dports/security/authforce/Portfile
===================================================================
--- trunk/dports/security/authforce/Portfile	2007-11-03 20:15:07 UTC (rev 30676)
+++ trunk/dports/security/authforce/Portfile	2007-11-03 20:38:14 UTC (rev 30677)
@@ -22,6 +22,9 @@
 configure.args	--mandir=${prefix}/share/man --infodir=${prefix}/share/info
 configure.cppflags-append "-L${prefix}/lib"
 configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress -lintl -L${prefix}/lib" 
+
+patchfiles  patch-http.c
+
 pre-configure {
 		system "cd ${worksrcpath}/doc && gunzip authforce.1.gz"
 		reinplace "s|authforce.1.gz|authforce.1|g" ${worksrcpath}/doc/Makefile.in

Added: trunk/dports/security/authforce/files/patch-http.c
===================================================================
--- trunk/dports/security/authforce/files/patch-http.c	                        (rev 0)
+++ trunk/dports/security/authforce/files/patch-http.c	2007-11-03 20:38:14 UTC (rev 30677)
@@ -0,0 +1,12 @@
+--- src/http.c.orig	2007-11-03 13:43:23.000000000 -0700
++++ src/http.c	2007-11-03 13:44:09.000000000 -0700
+@@ -68,7 +68,9 @@ int submit(char *username, char *passwor
+ 		curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1);
+ 		curl_easy_setopt(curl, CURLOPT_USERPWD, authstring);
+ 		curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
++#ifdef CURLOPT_MUTE
+ 		curl_easy_setopt(curl, CURLOPT_MUTE, 1);
++#endif
+ 		curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1);
+ 		curl_easy_setopt(curl, CURLOPT_USERAGENT, user_agent);
+ 		if (strcmp(proxy, "undef"))

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071103/c2210976/attachment.html


More information about the macports-changes mailing list