[cddlib] Actually apply the const patch.
Jerry James
jjames at fedoraproject.org
Fri Feb 24 17:58:38 UTC 2012
commit a157da4396db2161212b380789ab42240d9bf51d
Author: Jerry James <loganjerry at gmail.com>
Date: Fri Feb 24 10:58:32 2012 -0700
Actually apply the const patch.
cddlib.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/cddlib.spec b/cddlib.spec
index c167615..c35b8af 100644
--- a/cddlib.spec
+++ b/cddlib.spec
@@ -1,6 +1,6 @@
Name: cddlib
Version: 094f
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: A library for generating all vertices in convex polyhedrons
Group: Applications/Engineering
License: GPLv2+
@@ -13,6 +13,10 @@ Source0: %{name}-094f-free.tar.bz2
# This patch was last sent upstream on 7 Apr 2011. It adds the ability to
# create a shared library, rather than a static library only.
Patch0: cddlib-configure.patch
+# This pas was sent upstream on 24 Feb 2012. It adds const qualifiers to
+# some parameters of public methods. Their absence caused some compilation
+# problems in C++ clients.
+Patch1: cddlib-const.patch
BuildRequires: gmp-devel
BuildRequires: tex(latex)
@@ -58,6 +62,7 @@ Static libraries for cddlib.
%prep
%setup -q
%patch0 -p1
+%patch1
# Don't build/install the example programs
echo -e 'all:\ninstall:' > src/Makefile.in
@@ -122,6 +127,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%changelog
+* Fri Feb 24 2012 Jerry James <loganjerry at gmail.com> - 094f-14
+- Actually apply the const patch
+
* Fri Feb 24 2012 Jerry James <loganjerry at gmail.com> - 094f-13
- Add const qualifier to public function parameters
- Fix the FSF's address
More information about the scm-commits
mailing list