[81278] trunk/dports/net/httping
ryandesign at macports.org
ryandesign at macports.org
Thu Jul 28 14:40:30 PDT 2011
Revision: 81278
http://trac.macports.org/changeset/81278
Author: ryandesign at macports.org
Date: 2011-07-28 14:40:30 -0700 (Thu, 28 Jul 2011)
Log Message:
-----------
httping: update to 1.4.4 (which has no difference from 1.4.3 except commenting out strndup); uncomment strndup and fix its definition to comply with the standard so it hopefully compiles on Lion (#30297)
Modified Paths:
--------------
trunk/dports/net/httping/Portfile
Added Paths:
-----------
trunk/dports/net/httping/files/
trunk/dports/net/httping/files/patch-strndup.diff
Modified: trunk/dports/net/httping/Portfile
===================================================================
--- trunk/dports/net/httping/Portfile 2011-07-28 21:39:15 UTC (rev 81277)
+++ trunk/dports/net/httping/Portfile 2011-07-28 21:40:30 UTC (rev 81278)
@@ -4,7 +4,7 @@
PortSystem 1.0
name httping
-version 1.4.3
+version 1.4.4
categories net www
maintainers nomaintainer
platforms darwin
@@ -17,13 +17,15 @@
homepage http://www.vanheusden.com/httping/
master_sites ${homepage}
-checksums sha1 00f5f341f46a8884cdbc89dbdc8f1a3de03ab7a8 \
- rmd160 1c458c616f896d89d5ccdb3c8acce79c1a11c0d6
+checksums sha1 f74604d3ad5a1f1a68a483ccb40bd5bb0b280262 \
+ rmd160 8ac17577a43f01f2ca97728452eef74eaeb0428a
depends_build port:openssl
extract.suffix .tgz
+patchfiles patch-strndup.diff
+
use_configure no
variant universal {}
Added: trunk/dports/net/httping/files/patch-strndup.diff
===================================================================
--- trunk/dports/net/httping/files/patch-strndup.diff (rev 0)
+++ trunk/dports/net/httping/files/patch-strndup.diff 2011-07-28 21:40:30 UTC (rev 81278)
@@ -0,0 +1,32 @@
+--- str.c.orig 2010-07-24 05:32:07.000000000 -0500
++++ str.c 2011-07-28 16:37:06.000000000 -0500
+@@ -18,11 +18,8 @@
+ #include "mem.h"
+ #include "utils.h"
+
+-/*
+-Most unixes have this function already.
+-
+ #ifndef _GNU_SOURCE
+-char *strndup(char *in, int size)
++char *strndup(const char *in, size_t size)
+ {
+ char *out = mymalloc(size + 1, "strndup");
+
+@@ -32,4 +29,3 @@
+ return out;
+ }
+ #endif
+-*/
+--- str.h.orig 2010-07-24 05:32:07.000000000 -0500
++++ str.h 2011-07-28 16:37:05.000000000 -0500
+@@ -15,8 +15,6 @@
+
+ #include <string.h>
+
+-/*
+ #ifndef _GNU_SOURCE
+-char *strndup(char *in, int size);
++char *strndup(const char *in, size_t size);
+ #endif
+-*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110728/3f28ebb9/attachment.html>
More information about the macports-changes
mailing list