summaryrefslogtreecommitdiffstats
path: root/net/mad_fcl
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-03 13:38:28 +0000
committerkrion <krion@FreeBSD.org>2004-03-03 13:38:28 +0000
commit4abe16dfa70e65345a14a6eb4470e10250caf32b (patch)
tree6ce1252758be07f393fb3e149dbd5ed6d4e87c48 /net/mad_fcl
parent125291394475cabf2cbdc58e312581493ee0b589 (diff)
downloadFreeBSD-ports-4abe16dfa70e65345a14a6eb4470e10250caf32b.zip
FreeBSD-ports-4abe16dfa70e65345a14a6eb4470e10250caf32b.tar.gz
- Update to version 0.6
- Respect PTHREAD_LIBS PR: ports/63688 Submitted by: maintainer
Diffstat (limited to 'net/mad_fcl')
-rw-r--r--net/mad_fcl/Makefile7
-rw-r--r--net/mad_fcl/distinfo4
-rw-r--r--net/mad_fcl/files/patch-flute::fdt.c25
3 files changed, 21 insertions, 15 deletions
diff --git a/net/mad_fcl/Makefile b/net/mad_fcl/Makefile
index 5f17bfb..3925b87 100644
--- a/net/mad_fcl/Makefile
+++ b/net/mad_fcl/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mad_fcl
-PORTVERSION= 0.5
+PORTVERSION= 0.6
CATEGORIES= net ipv6
MASTER_SITES= http://www.atm.tut.fi/mad/download/
DISTNAME= ${PORTNAME}_v${PORTVERSION}_src
@@ -17,6 +17,7 @@ COMMENT= FLUTE - File Delivery over Unidirectional Transport implementation
LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2
USE_GMAKE= yes
+USE_REINPLACE= yes
DOC_FILES= fdt-example.xml flute-sdp-example.sdp
@@ -26,6 +27,10 @@ pre-patch:
${TR} -d '\015' < $$f > $$f.noms && \
${CAT} $$f.noms > $$f && ${RM} $$f.noms; done
+post-patch:
+ ${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/flute/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/flute ${PREFIX}/bin
.ifndef(NOPORTDOCS)
diff --git a/net/mad_fcl/distinfo b/net/mad_fcl/distinfo
index 5c953ce..1f4fe77 100644
--- a/net/mad_fcl/distinfo
+++ b/net/mad_fcl/distinfo
@@ -1,2 +1,2 @@
-MD5 (mad_fcl_v0.5_src.tar.gz) = 02fd60b5d60aa3fd41dd85bd443ec1f9
-SIZE (mad_fcl_v0.5_src.tar.gz) = 96072
+MD5 (mad_fcl_v0.6_src.tar.gz) = 3a6aa16450a2e38b5bb3f6a02df11915
+SIZE (mad_fcl_v0.6_src.tar.gz) = 103261
diff --git a/net/mad_fcl/files/patch-flute::fdt.c b/net/mad_fcl/files/patch-flute::fdt.c
index 0afb684..3272813 100644
--- a/net/mad_fcl/files/patch-flute::fdt.c
+++ b/net/mad_fcl/files/patch-flute::fdt.c
@@ -1,23 +1,24 @@
---- flute/fdt.c.orig Fri Feb 13 15:58:54 2004
-+++ flute/fdt.c Fri Feb 13 15:58:54 2004
-@@ -113,14 +113,14 @@
- #ifdef WIN32
- file->file_len = _atoi64(*(++atts));
- #else
-- file->file_len = atoll(*(++atts));
-+ file->file_len = strtoll(*(++atts), NULL, 10);
+--- flute/fdt.c.orig Wed Mar 3 12:48:53 2004
++++ flute/fdt.c Wed Mar 3 12:49:38 2004
+@@ -114,7 +114,7 @@
+ #ifdef WIN32
+ file->file_len = _atoi64(*(++atts));
+ #else
+- file->file_len = atoll(*(++atts));
++ file->file_len = strtoll(*(++atts), NULL, 10);
#endif
- }
- else if(!strcmp(*atts, "Transfer-Length")) {
+ if(file->toi_len == 0) {
+ file->toi_len = file->file_len;
+@@ -125,7 +125,7 @@
#ifdef WIN32
file->toi_len = _atoi64(*(++atts));
#else
- file->toi_len = atoll(*(++atts));
-+ file->toi_len = strtoll(*(++atts),NULL, 10);
++ file->toi_len = strtoll(*(++atts), NULL, 10);
#endif
}
else if(!strcmp(*atts, "Content-Type")) {
-@@ -179,7 +179,7 @@
+@@ -184,7 +184,7 @@
#ifdef WIN32
fdt->expires = _atoi64(*(++atts));
#else
OpenPOWER on IntegriCloud