ports/151157: [PATCH] graphics/sane-backends: link with pthread

Marcin Wisnicki mwisnicki+freebsd at gmail.com
Sat Oct 2 17:00:16 UTC 2010


>Number:         151157
>Category:       ports
>Synopsis:       [PATCH] graphics/sane-backends: link with pthread
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 02 17:00:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Marcin Wisnicki
>Release:        FreeBSD 8.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD ghost.pnet.one.pl 8.1-STABLE FreeBSD 8.1-STABLE #5: Sat Aug 28 11:07:39 CEST 2010
>Description:
Since some dynamically loaded sane backends (like hpaio from print/hplip) use
threads, saned/libsane itself must be linked with threads. Debian is doing it too.

This unbreaks scanning with saned + hpaio.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- sane-backends-1.0.21_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/sane-backends.orig/Makefile /usr/ports/graphics/sane-backends/Makefile
--- /usr/ports/graphics/sane-backends.orig/Makefile	2010-07-17 21:42:17.000000000 +0200
+++ /usr/ports/graphics/sane-backends/Makefile	2010-10-02 18:39:39.000000000 +0200
@@ -7,7 +7,7 @@
 
 PORTNAME=	sane-backends
 PORTVERSION=	1.0.21
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	http://alioth.debian.org/frs/download.php/3258/ \
 		ftp://ftp.sane-project.org/pub/sane/%SUBDIR%/ \
@@ -36,7 +36,8 @@
 		LDFLAGS="-L${LOCALBASE}/lib"
 CONFIGURE_ARGS=	--with-docdir=${DOCSDIR} \
 		--disable-latex \
-		--disable-locking
+		--disable-locking \
+		--enable-pthread
 MAKE_ENV=	NOPORTDOCS="${NOPORTDOCS}"
 MAKE_JOBS_UNSAFE=	yes
 USE_LDCONFIG=	yes
--- sane-backends-1.0.21_2.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list