compile with -fno-strict-aliasing (because of ptp.c)
This commit is contained in:
parent
2f74e096e5
commit
c2724bccfd
@ -1,7 +1,7 @@
|
|||||||
Summary: Library for accessing digital cameras
|
Summary: Library for accessing digital cameras
|
||||||
Name: libgphoto2
|
Name: libgphoto2
|
||||||
Version: 2.5.0
|
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
|
# GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2
|
||||||
License: GPLv2+ and GPLv2
|
License: GPLv2+ and GPLv2
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -82,6 +82,7 @@ EOF
|
|||||||
sed 's/Name: gphoto2/Name: gphoto2-port/' < gphoto2.pc.in > gphoto2-port.pc.in
|
sed 's/Name: gphoto2/Name: gphoto2-port/' < gphoto2.pc.in > gphoto2-port.pc.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
#libusb and libusb have shoved their .pc files into /lib[64]/pkgconfig
|
#libusb and libusb have shoved their .pc files into /lib[64]/pkgconfig
|
||||||
export PKG_CONFIG_PATH=/%{_lib}/pkgconfig
|
export PKG_CONFIG_PATH=/%{_lib}/pkgconfig
|
||||||
%configure \
|
%configure \
|
||||||
@ -169,6 +170,9 @@ rm -rf "${RPM_BUILD_ROOT}"
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 01 2012 Jindrich Novy <jnovy@redhat.com> 2.5.0-4
|
||||||
|
- compile with -fno-strict-aliasing (because of ptp.c)
|
||||||
|
|
||||||
* Wed Sep 19 2012 Hans de Goede <hdegoede@redhat.com> 2.5.0-3
|
* Wed Sep 19 2012 Hans de Goede <hdegoede@redhat.com> 2.5.0-3
|
||||||
- Fix the usbscsi port driver not working, this fixes many miniature
|
- Fix the usbscsi port driver not working, this fixes many miniature
|
||||||
(keychain) photo frames no longer being accessible
|
(keychain) photo frames no longer being accessible
|
||||||
|
Loading…
Reference in New Issue
Block a user