Compare commits

...

1 Commits
master ... f14

Author SHA1 Message Date
Orcan Ogetbil
2f13778368 * Mon Aug 02 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.6.1-7
- Fix gcc warning that lead to failure due to -Werror flag
2010-08-02 02:53:50 -04:00
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -rupN libkml-0.6.1.old/src/kml/dom/geometry.cc libkml-0.6.1/src/kml/dom/geometry.cc
--- libkml-0.6.1.old/src/kml/dom/geometry.cc 2009-01-09 14:31:00.000000000 -0500
+++ libkml-0.6.1/src/kml/dom/geometry.cc 2010-08-02 02:30:23.000000000 -0400
@@ -117,7 +117,7 @@ bool Coordinates::ParseVec3(const char*
}
if (nextp) {
while (isspace(*endp)) { // Eat the remaining whitespace before return.
- *endp++;
+ (void)*endp++;
}
*nextp = endp;
}

View File

@ -3,7 +3,7 @@
Name: libkml Name: libkml
Version: 0.6.1 Version: 0.6.1
Release: 6%{?dist} Release: 7%{?dist}
Summary: A KML library written in C++ with bindings to other languagues Summary: A KML library written in C++ with bindings to other languagues
Group: Development/Libraries Group: Development/Libraries
@ -12,6 +12,7 @@ URL: http://code.google.com/p/%{name}/
Source0: http://%{name}.googlecode.com/files/%{name}-%{version}.tar.gz Source0: http://%{name}.googlecode.com/files/%{name}-%{version}.tar.gz
Patch0: libkml-third_party_removal.diff Patch0: libkml-third_party_removal.diff
Patch1: libkml-0.6.1.configure_ac.patch Patch1: libkml-0.6.1.configure_ac.patch
Patch2: libkml-fix-gcc-warning.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# requires swig >= 1.3.35 # requires swig >= 1.3.35
@ -43,6 +44,7 @@ developing applications that use %{name}.
rm -rf third_party rm -rf third_party
%patch0 -p0 -b .third_party %patch0 -p0 -b .third_party
%patch1 -p1 -b .configure_ac %patch1 -p1 -b .configure_ac
%patch2 -p1 -b .fixwarning
%build %build
autoreconf -fi autoreconf -fi
@ -112,6 +114,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libkml/*.so %{_libdir}/libkml/*.so
%changelog %changelog
* Mon Aug 02 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.6.1-7
- Fix gcc warning that lead to failure due to -Werror flag
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.1-6 * Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.1-6
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild