aboutsummaryrefslogtreecommitdiff
path: root/net/mad_fcl
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-03 13:38:28 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-03 13:38:28 +0000
commit334fa54ccf4c774d7e6714f74bc3b55fc5ccfde9 (patch)
treeafe2356ab32326befa7112dfb3a3d200f431c4f8 /net/mad_fcl
parentf0d5f35ea00c3577c4cdde5e0779de5c00ba931d (diff)
downloadports-334fa54ccf4c774d7e6714f74bc3b55fc5ccfde9.tar.gz
ports-334fa54ccf4c774d7e6714f74bc3b55fc5ccfde9.zip
Notes
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 5f17bfb85754..3925b8768123 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 5c953cee0787..1f4fe77984b8 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 0afb684621d1..3272813fbe43 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