FreeBSD Bugzilla – Attachment 93787 Details for
Bug 131782
Bump net-p2p/btpd to 0.15 + patch against configure.ac
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
btpd.patch
btpd.patch (text/plain), 2.92 KB, created by
baptiste.daroussin
on 2009-02-17 15:00:07 UTC
(
hide
)
Description:
btpd.patch
Filename:
MIME Type:
Creator:
baptiste.daroussin
Created:
2009-02-17 15:00:07 UTC
Size:
2.92 KB
patch
obsolete
>diff -Nrnu /usr/ports/net-p2p/btpd/Makefile ./btpd/Makefile >--- /usr/ports/net-p2p/btpd/Makefile 2008-11-15 22:38:38.000000000 +0100 >+++ ./btpd/Makefile 2009-02-17 15:46:18.160155994 +0100 >@@ -2,28 +2,21 @@ > # Date created: 2008-11-14 > # Whom: bapt <baptiste.daroussin@gmail.com> > # >-# $FreeBSD: ports/net-p2p/btpd/Makefile,v 1.1 2008/11/15 21:38:38 miwi Exp $ >+# $FreeBSD$ > # > > PORTNAME= btpd >-PORTVERSION= 0.13 >+PORTVERSION= 0.15 > CATEGORIES= net-p2p > MASTER_SITES= http://www.murmeldjur.se/btpd/ > > MAINTAINER= baptiste.daroussin@gmail.com > COMMENT= Bittorrent client consisting of a daemon and client commands > >+USE_AUTOTOOLS= autoconf:262 aclocal:110 > GNU_CONFIGURE= yes > PLIST_FILES= bin/btcli \ > bin/btinfo \ > bin/btpd >- > PORTDOCS= README >- >-post-install: >-.if !defined(NOPORTDOCS) >- ${MKDIR} ${DOCSDIR} >- @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ >-.endif >- > .include <bsd.port.mk> >diff -Nrnu /usr/ports/net-p2p/btpd/distinfo ./btpd/distinfo >--- /usr/ports/net-p2p/btpd/distinfo 2008-11-15 22:38:38.000000000 +0100 >+++ ./btpd/distinfo 2009-02-17 14:34:57.341136553 +0100 >@@ -1,3 +1,3 @@ >-MD5 (btpd-0.13.tar.gz) = 0d9c4a672eea6f298fa6e44d94da1657 >-SHA256 (btpd-0.13.tar.gz) = 4409ec8e34eaba5d51e53bf94ce8551e438a4b2c5a55924299edf012c189ebfc >-SIZE (btpd-0.13.tar.gz) = 273814 >+MD5 (btpd-0.15.tar.gz) = b64e2e8b9936e99685bc1e7246655561 >+SHA256 (btpd-0.15.tar.gz) = c2229244c3cb370ac95560e2e9ff7f5d094612ee2b2a1e36237ec7f27707db9d >+SIZE (btpd-0.15.tar.gz) = 144706 >diff -Nrnu /usr/ports/net-p2p/btpd/files/patch-configure.ac ./btpd/files/patch-configure.ac >--- /usr/ports/net-p2p/btpd/files/patch-configure.ac 1970-01-01 01:00:00.000000000 +0100 >+++ ./btpd/files/patch-configure.ac 2009-02-17 15:02:09.677561941 +0100 >@@ -0,0 +1,38 @@ >+--- ./configure.ac.orig 2009-02-09 22:04:53.000000000 +0100 >++++ ./configure.ac 2009-02-17 15:00:30.648730460 +0100 >+@@ -56,7 +56,7 @@ >+ int main(void) { return clock_gettime(CLOCK_MONOTONIC, (void *)0); } >+ ], clock_gettime=yes, clock_gettime=no) >+ AC_MSG_RESULT($clock_gettime) >+-if test $clock_gettime == yes; then >++if test $clock_gettime = yes; then >+ old_LIBS=$LIBS >+ LIBS="" >+ AC_SEARCH_LIBS(clock_gettime,rt,clock_gettime=yes,clock_gettime=no) >+@@ -64,7 +64,7 @@ >+ LIBS=$old_LIBS >+ AC_DEFINE(HAVE_CLOCK_MONOTONIC) >+ fi >+-if test $clock_gettime == no; then >++if test $clock_gettime = no; then >+ AC_CHECK_FUNCS(mach_absolute_time,, >+ AC_MSG_FAILURE(no supported time mechanism found)) >+ fi >+@@ -108,7 +108,7 @@ >+ ;; >+ esac >+ done >+-if test x"$EVLOOP_METHOD" == x; then >++if test x"$EVLOOP_METHOD" = x; then >+ AC_MSG_FAILURE(no suitable evloop method found) >+ exit 1 >+ else >+@@ -117,7 +117,7 @@ >+ >+ for i in 0 1 2 3 4 5 6 7; do >+ case $i in >+- 0) if test x"$TD_CFLAGS$TD_LIBS" == x; then continue; fi;; >++ 0) if test x"$TD_CFLAGS$TD_LIBS" = x; then continue; fi;; >+ 1) TD_CFLAGS=-pthread;; >+ 2) TD_CFLAGS=-pthreads;; >+ 3) TD_CFLAGS=-kthread;;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 131782
: 93787