[cmpfit] Correct patch added
nonamedotc
nonamedotc at fedoraproject.org
Thu Jun 5 19:33:33 UTC 2014
commit 6e706ac0869888e2cefc6a52e2baf47530b1b02e
Author: nonamedotc <nonamedotc at fedoraproject.org>
Date: Thu Jun 5 14:33:42 2014 -0500
Correct patch added
cmpfit.spec | 10 ++++++----
mpfit.patch | 23 -----------------------
2 files changed, 6 insertions(+), 27 deletions(-)
---
diff --git a/cmpfit.spec b/cmpfit.spec
index b7bec3e..8190c4d 100644
--- a/cmpfit.spec
+++ b/cmpfit.spec
@@ -17,9 +17,6 @@ Source0: http://cow.physics.wisc.edu/~craigm/idl/down/%{name}-%{version}.zip
Patch0: header_file.patch
Patch1: source_file.patch
-# this patch was authored by fityk developer
-Patch2: https://raw.githubusercontent.com/wojdyr/fityk/master/fityk/cmpfit/mpfit.patch
-
%description
CMPFIT uses the Levenberg-Marquardt technique to solve the least-squares
problem. In its typical use, CMPFIT will be used to fit a user-supplied
@@ -40,7 +37,9 @@ application.
%setup -q
%patch0
%patch1
-%patch2
+
+# patching obtained from fityk github repo
+sed -i 's/if (config->maxiter > 0)/if (config->maxiter >= 0)/' mpfit.c
%build
# Manual build, makefile only does static library
@@ -72,6 +71,9 @@ popd
%{_libdir}/libmpfit.so
%changelog
+* Thu Jun 05 2014 Mukundan Ragavan <nonamedotc at fedoraproject.org> - 1.2-4
+- Correct patch added
+
* Thu Jun 05 2014 Mukundan Ragavan <nonamedotc at fedoraproject.org> - 1.2-3
- Updating package to version available from fityk github repo
- update obtained via email from original author of mpfit by fityk devel
More information about the scm-commits
mailing list