[libgphoto2] compile with -fno-strict-aliasing (because of ptp.c)
Jindrich Novy
jnovy at fedoraproject.org
Sat Dec 1 11:19:43 UTC 2012
commit c2724bccfd149d1415c5b052e5403a42f3420006
Author: Jindrich Novy <jnovy at redhat.com>
Date: Sat Dec 1 12:19:33 2012 +0100
compile with -fno-strict-aliasing (because of ptp.c)
libgphoto2.spec | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/libgphoto2.spec b/libgphoto2.spec
index a8dfdc3..827eae7 100644
--- a/libgphoto2.spec
+++ b/libgphoto2.spec
@@ -1,7 +1,7 @@
Summary: Library for accessing digital cameras
Name: libgphoto2
Version: 2.5.0
-Release: 3%{?dist}
+Release: 4%{?dist}
# GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2
License: GPLv2+ and GPLv2
Group: Development/Libraries
@@ -82,6 +82,7 @@ EOF
sed 's/Name: gphoto2/Name: gphoto2-port/' < gphoto2.pc.in > gphoto2-port.pc.in
%build
+export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
#libusb and libusb have shoved their .pc files into /lib[64]/pkgconfig
export PKG_CONFIG_PATH=/%{_lib}/pkgconfig
%configure \
@@ -169,6 +170,9 @@ rm -rf "${RPM_BUILD_ROOT}"
%{_mandir}/man3/*
%changelog
+* Sat Dec 01 2012 Jindrich Novy <jnovy at redhat.com> 2.5.0-4
+- compile with -fno-strict-aliasing (because of ptp.c)
+
* Wed Sep 19 2012 Hans de Goede <hdegoede at redhat.com> 2.5.0-3
- Fix the usbscsi port driver not working, this fixes many miniature
(keychain) photo frames no longer being accessible
More information about the scm-commits
mailing list