Date: Sat, 02 Oct 2010 18:51:42 +0200 From: Marcin Wisnicki <mwisnicki+freebsd@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/151157: [PATCH] graphics/sane-backends: link with pthread Message-ID: <4ca76322.0aefd80a.6c44.5ccd@mx.google.com> Resent-Message-ID: <201010021700.o92H0Cxw062477@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ca76322.0aefd80a.6c44.5ccd>