[NetworkManager-vpnc] Rebuild for new libpng Add -Wno-error=deprecated-declarations for now

Adam Jackson ajax at fedoraproject.org
Wed Dec 7 20:15:47 UTC 2011


commit 0dcc5314256b08d980f375b968d27cc47e9affe9
Author: Adam Jackson <ajax at redhat.com>
Date:   Wed Dec 7 20:14:16 2011 -0500

    Rebuild for new libpng
    Add -Wno-error=deprecated-declarations for now

 NetworkManager-vpnc.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/NetworkManager-vpnc.spec b/NetworkManager-vpnc.spec
index 5082034..574eea9 100644
--- a/NetworkManager-vpnc.spec
+++ b/NetworkManager-vpnc.spec
@@ -44,6 +44,7 @@ with NetworkManager and the GNOME desktop
 
 
 %build
+export CFLAGS="$RPM_OPT_FLAGS -Wno-error=deprecated-declarations"
 %configure --enable-more-warnings=yes --with-gtkver=3 --with-tests=yes
 make %{?_smp_mflags}
 
@@ -96,8 +97,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %dir %{_datadir}/gnome-vpn-properties/vpnc
 
 %changelog
-* Tue Dec 06 2011 Adam Jackson <ajax at redhat.com> - 1:0.9.0-2
+* Wed Dec 07 2011 Adam Jackson <ajax at redhat.com> 0.9.0-2
 - Rebuild for new libpng
+- Add -Wno-error=deprecated-declarations for now
 
 * Fri Aug 26 2011 Dan Williams <dcbw at redhat.com> - 1:0.9.0-1
 - core: use the right IP prefix for point-to-point tunnels


More information about the scm-commits mailing list