diff --git a/fix-pedantic-compile.diff b/fix-pedantic-compile.diff new file mode 100644 index 0000000..7f80ff6 --- /dev/null +++ b/fix-pedantic-compile.diff @@ -0,0 +1,11 @@ +--- gphoto2/gphoto2-filesys.h ++++ gphoto2/gphoto2-filesys.h +@@ -124,7 +124,7 @@ + typedef enum { /* same as PTP_AC_xxxx */ + GP_STORAGEINFO_AC_READWRITE = 0, + GP_STORAGEINFO_AC_READONLY = 1, +- GP_STORAGEINFO_AC_READONLY_WITH_DELETE = 2, ++ GP_STORAGEINFO_AC_READONLY_WITH_DELETE = 2 + } CameraStorageAccessType; + + typedef enum { /* same as PTP_FST_xxxx */ diff --git a/libgphoto2.changes b/libgphoto2.changes index 70b50c5..35f1f59 100644 --- a/libgphoto2.changes +++ b/libgphoto2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 12 20:39:17 CET 2007 - dmueller@suse.de + +- fix pedantic header compile + ------------------------------------------------------------------- Mon Jan 8 20:32:45 CET 2007 - meissner@suse.de diff --git a/libgphoto2.spec b/libgphoto2.spec index 024f6c0..acd7a8c 100644 --- a/libgphoto2.spec +++ b/libgphoto2.spec @@ -18,8 +18,9 @@ License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) Group: Hardware/Other Summary: A Digital Camera Library Version: 2.3.1.3.trunk -Release: 2 +Release: 4 Source0: libgphoto2-%{version}.tar.bz2 +Patch: fix-pedantic-compile.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: udev resmgr %package devel @@ -136,6 +137,7 @@ Authors: %prep %setup -q +%patch %build %{?suse_update_config:%{suse_update_config -f . libgphoto2_port}} @@ -231,6 +233,8 @@ rm -rf $RPM_BUILD_ROOT %run_ldconfig %changelog -n libgphoto2 +* Fri Jan 12 2007 - dmueller@suse.de +- fix pedantic header compile * Mon Jan 08 2007 - meissner@suse.de - fixed libdir problem. * Mon Jan 08 2007 - meissner@suse.de