--- /dev/null
+--- camwire2-2.0.0-Source/camwire/camwire_handle.h.orig 2015-05-21 23:48:01.000000000 +0200
++++ camwire2-2.0.0-Source/camwire/camwire_handle.h 2019-08-08 15:40:40.958729338 +0200
+@@ -74,11 +74,11 @@
+ /* This is the Camwire handle type. */
+
+
+-inline Camera_handle camwire_handle_get_camera(const Camwire_handle c_handle);
++Camera_handle camwire_handle_get_camera(const Camwire_handle c_handle);
+ /* Returns the dc1394camera_t camera handle for the given camwire
+ handle. Needed by many dc1394 functions in Camwire. */
+
+-inline User_handle camwire_bus_get_userdata(const Camwire_handle c_handle);
++User_handle camwire_bus_get_userdata(const Camwire_handle c_handle);
+ /* Returns a pointer to the user data structure for the given camwire
+ handle. Needed for internal status maintenance in Camwire. */
+
+--- camwire2-2.0.0-Source/camwire/camwirebus.c.orig 2015-05-21 23:39:48.000000000 +0200
++++ camwire2-2.0.0-Source/camwire/camwirebus.c 2019-08-08 15:41:09.205242980 +0200
+@@ -203,7 +203,7 @@
+ Returns the dc1394camera_t camera handle for the given camwire
+ handle. Needed by many dc1394 functions in Camwire.
+ */
+-inline Camera_handle camwire_handle_get_camera(const Camwire_handle c_handle)
++Camera_handle camwire_handle_get_camera(const Camwire_handle c_handle)
+ {
+ return c_handle->camera;
+ }
+@@ -213,7 +213,7 @@
+ Returns a pointer to the user data structure for the given camwire
+ handle. Needed for internal status maintenance in Camwire.
+ */
+-inline User_handle camwire_bus_get_userdata(
++User_handle camwire_bus_get_userdata(
+ const Camwire_handle c_handle)
+ {
+ return c_handle->userdata;
+--- camwire2-2.0.0-Source/examples/measureconf_1394.c.orig 2012-01-10 23:20:53.000000000 +0100
++++ camwire2-2.0.0-Source/examples/measureconf_1394.c 2019-08-08 15:47:50.856400383 +0200
+@@ -202,7 +202,6 @@
+ const int mode);
+ /* inline static int fixed_image_size(const dc1394video_mode_t video_mode); */
+ inline static int variable_image_size(const dc1394video_mode_t video_mode);
+-inline dc1394camera_t * get_camera(const Camwire_handle c_handle);
+
+
+ /*
Summary: Digital camera library for Linux
Summary(pl.UTF-8): Biblioteka obsługi kamer cyfrowych dla Linuksa
Name: camwire
-Version: 1.9.5
+Version: 2.0.0
Release: 1
License: LGPL v2.1+
Group: Libraries
-# camwire1 was for libdc1394 < 2.0, camwire2 for libdc1394 2.0+
+# camwire1 was for libdc1394 < 2.0, camwire2 for libdc1394 2.1+
Source0: http://kauri.auck.irl.cri.nz/~johanns/camwire/download/camwire2/camwire2-%{version}-Source.tar.gz
-# Source0-md5: 8d81af3d953205cef065dc3af330090b
+# Source0-md5: 737de36d44388709a77ed00e14895b3a
Patch0: %{name}-link.patch
Patch1: %{name}-etc.patch
Patch2: %{name}-lib.patch
+Patch3: %{name}-bogus-inline.patch
URL: http://kauri.auck.irl.cri.nz/~johanns/camwire/
BuildRequires: SDL-devel
BuildRequires: cmake >= 2.6
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
# disable unused-result warning, compilation failure with -Werror