Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2008 07:22:11 GMT
From:      Ganael Laplanche <ganael.laplanche@martymac.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/123286: Maintainer update: archivers/par2cmdline-tbb - Update to v20080420
Message-ID:  <200805010722.m417MBsl035642@www.freebsd.org>
Resent-Message-ID: <200805010730.m417U09a077976@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123286
>Category:       ports
>Synopsis:       Maintainer update: archivers/par2cmdline-tbb - Update to v20080420
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 01 07:30:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ganael Laplanche
>Release:        7.0-STABLE
>Organization:
http://contribs.martymac.com
>Environment:
FreeBSD home.martymac.com 7.0-STABLE FreeBSD 7.0-STABLE #15: Wed Apr 30 22:06:57 CEST 2008     root@home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL  amd64
>Description:
- Update to v20080420
- Do not use USE_AUTOTOOLS anymore, add GNU_CONFIGURE and CONFIGURE_ENV
- Patch patch-par2cmdline.h to make it build with the current version of tbb (20080207)
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -aurN par2cmdline-tbb.orig/Makefile par2cmdline-tbb/Makefile
--- par2cmdline-tbb.orig/Makefile	2008-04-30 20:43:19.402381430 +0200
+++ par2cmdline-tbb/Makefile	2008-05-01 08:54:58.765753537 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	par2cmdline-tbb
-PORTVERSION=	20080203
+PORTVERSION=	20080420
 CATEGORIES=	archivers
 MASTER_SITES=	http://chuchusoft.com/par2_tbb/
 DISTNAME=	par2cmdline-0.4-tbb-${PORTVERSION}
@@ -17,7 +17,9 @@
 BUILD_DEPENDS=	${LOCALBASE}/lib/libtbb.so:${PORTSDIR}/devel/tbb \
 		${NONEXISTENT}:${PORTSDIR}/devel/tbb:extract
 
-USE_AUTOTOOLS=	autoconf:261 automake:16
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
 
 PORTDOCS=	README
 CONFLICTS=	par2cmdline-[0-9]*
diff -aurN par2cmdline-tbb.orig/distinfo par2cmdline-tbb/distinfo
--- par2cmdline-tbb.orig/distinfo	2008-04-30 20:43:19.402381430 +0200
+++ par2cmdline-tbb/distinfo	2008-04-30 20:44:31.826812188 +0200
@@ -1,3 +1,3 @@
-MD5 (par2cmdline-0.4-tbb-20080203.tar.gz) = 1b6d98d5ee80c968aefd6424c8dedda9
-SHA256 (par2cmdline-0.4-tbb-20080203.tar.gz) = e6093b729cd78e16e60ebc349fcc6fba12a824ff60040cbf21aae1ddec978f26
-SIZE (par2cmdline-0.4-tbb-20080203.tar.gz) = 284762
+MD5 (par2cmdline-0.4-tbb-20080420.tar.gz) = 806d0a4810da2d8fca2375ca12e07fcd
+SHA256 (par2cmdline-0.4-tbb-20080420.tar.gz) = 37220ff064b256e24f59b4c733baeffd124efa1551ff32d469ca574f40aae3c1
+SIZE (par2cmdline-0.4-tbb-20080420.tar.gz) = 283148
diff -aurN par2cmdline-tbb.orig/files/patch-par2cmdline.h par2cmdline-tbb/files/patch-par2cmdline.h
--- par2cmdline-tbb.orig/files/patch-par2cmdline.h	1970-01-01 01:00:00.000000000 +0100
+++ par2cmdline-tbb/files/patch-par2cmdline.h	2008-05-01 08:54:34.904194037 +0200
@@ -0,0 +1,11 @@
+--- par2cmdline.h.orig	2008-05-01 08:53:49.729467641 +0200
++++ par2cmdline.h	2008-05-01 08:54:02.616707220 +0200
+@@ -443,7 +443,7 @@
+                   incrementing_parallel_while_with_max> >& w,
+     ITEM* item)
+   {
+-    const size_t n = item->is_first() ? tbb::DetectNumberOfWorkers() : 1;
++    const size_t n = item->is_first() ? tbb::internal::DetectNumberOfWorkers() : 1;
+ 
+     bool res = false;
+     std::pair<bool, size_t> pr(w.increment_next_i());


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805010722.m417MBsl035642>