- libgphoto2-enable-vusb-ptp.patch: upstream

OBS-URL: https://build.opensuse.org/package/show/graphics/libgphoto2?expand=0&rev=242
This commit is contained in:
Marcus Meissner 2023-09-02 10:08:37 +00:00 committed by Git OBS Bridge
parent 46433a3946
commit bf7444f905
3 changed files with 1 additions and 15 deletions

View File

@ -1,13 +0,0 @@
Index: libgphoto2-2.5.30/libgphoto2_port/vusb/vcamera.h
===================================================================
--- libgphoto2-2.5.30.orig/libgphoto2_port/vusb/vcamera.h
+++ libgphoto2-2.5.30/libgphoto2_port/vusb/vcamera.h
@@ -22,7 +22,7 @@
#ifndef IOLIBS_VUSB_VCAMERA_H
#define IOLIBS_VUSB_VCAMERA_H
-#undef FUZZ_PTP
+#define FUZZ_PTP
#include <stdio.h>

View File

@ -41,6 +41,7 @@ Sat Sep 2 09:59:49 UTC 2023 - Marcus Meissner <meissner@suse.com>
translations:
* updated swedish, spanish
* added georgian, friulian
- libgphoto2-enable-vusb-ptp.patch: upstream
-------------------------------------------------------------------
Mon Jul 10 11:01:53 UTC 2023 - Ludwig Nussel <lnussel@suse.com>

View File

@ -61,7 +61,6 @@ Source0: https://downloads.sourceforge.net/project/gphoto/libgphoto/%vers
Source1: https://downloads.sourceforge.net/project/gphoto/libgphoto/%version/%name-%version.tar.xz.asc
Source2: %name.keyring
Source3: baselibs.conf
Patch0: libgphoto2-enable-vusb-ptp.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package -n libgphoto2-%major
@ -159,7 +158,6 @@ This is its API documentation in HTML format.
%prep
%setup -q
%patch0 -p1
(cd doc && tar -xaf libgphoto2-api.html.tar.gz)
%build