forked from pool/sane-backends
Accepting request 48810 from home:jsmeix:branches:graphics
Configure with --enable-pthread (bnc#633780) OBS-URL: https://build.opensuse.org/request/show/48810 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=31
This commit is contained in:
parent
7c7c755459
commit
3cdd456a78
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 22 14:08:26 CEST 2010 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Configure with --enable-pthread so that backends can use
|
||||||
|
POSIX threads to implement asynchronous I/O instead of
|
||||||
|
the default which uses a pipe and forks a reader process
|
||||||
|
(see openSUSE/Novell Bugzilla bnc#633780).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 15 08:51:03 UTC 2010 - aj@suse.de
|
Wed Sep 15 08:51:03 UTC 2010 - aj@suse.de
|
||||||
|
|
||||||
|
@ -389,7 +389,9 @@ chmod u+x create_scanner_database
|
|||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DGIMP_ENABLE_COMPAT_CRUFT=1 -fno-strict-aliasing"
|
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DGIMP_ENABLE_COMPAT_CRUFT=1 -fno-strict-aliasing"
|
||||||
export LDFLAGS="-L/%_lib $LDFLAGS"
|
export LDFLAGS="-L/%_lib $LDFLAGS"
|
||||||
# Disable locking because /var/lock/sane/ would be a world-writable directory:
|
# Enable pthread instead of fork (used in Debian since Feb 2009 and no issues so far),
|
||||||
|
# see https://bugzilla.novell.com/show_bug.cgi?id=633780
|
||||||
|
# Disable locking because /var/lock/sane/ would be a world-writable directory.
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--exec-prefix=/usr \
|
--exec-prefix=/usr \
|
||||||
--sysconfdir=%{_sysconfdir} \
|
--sysconfdir=%{_sysconfdir} \
|
||||||
@ -399,6 +401,7 @@ export LDFLAGS="-L/%_lib $LDFLAGS"
|
|||||||
--datadir=%{_datadir} \
|
--datadir=%{_datadir} \
|
||||||
--with-gphoto2 \
|
--with-gphoto2 \
|
||||||
--with-docdir=%{_defaultdocdir}/sane-backends \
|
--with-docdir=%{_defaultdocdir}/sane-backends \
|
||||||
|
--enable-pthread \
|
||||||
--disable-locking
|
--disable-locking
|
||||||
# Enable locking for backends where "99" is the group of the lockfile path (LOCKPATH_GROUP)
|
# Enable locking for backends where "99" is the group of the lockfile path (LOCKPATH_GROUP)
|
||||||
# because "99" is the group of the user who runs the build when norootforbuild is used
|
# because "99" is the group of the user who runs the build when norootforbuild is used
|
||||||
|
Loading…
Reference in New Issue
Block a user