SHA256
1
0
forked from pool/libgphoto2

Accepting request 105827 from home:dimstar:branches:graphics

Fix libusb usage... gphoto2 --auto-detect crashes without this patch.. as well as shotwell startup in some cases...

OBS-URL: https://build.opensuse.org/request/show/105827
OBS-URL: https://build.opensuse.org/package/show/graphics/libgphoto2?expand=0&rev=60
This commit is contained in:
2012-02-18 23:57:45 +00:00
committed by Git OBS Bridge
parent 99451ba1da
commit 62bd861748
3 changed files with 62 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libgphoto2
BuildRequires: doxygen
BuildRequires: fdupes
@@ -42,6 +43,8 @@ Release: 0
Source0: libgphoto2-%{version}.tar.bz2
Source1: baselibs.conf
Patch1: libgphoto2-4096files.patch
# PATCH-FIX-UPSTREAM libgphoto2-libusb.patch dimstar@opensuse.org -- Fix usage of libusb 1.0. Patch written by libusb maintainer Peter Stuge.
Patch2: libgphoto2-libusb.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Recommends: %{name}-lang = %{version}
@@ -76,6 +79,10 @@ These are its development libraries and headers.
%prep
%setup -q
%patch1 -p1
(
cd libgphoto2_port/libusb1/
%patch2
)
%build
#AUTOPOINT=true autoreconf -fi