rpms/libsvm/devel libsvm-2.85.patch,1.1,1.2 libsvm.spec,1.11,1.12
Ding-Yi Chen (dchen)
fedora-extras-commits at redhat.com
Mon Feb 4 23:46:49 UTC 2008
Author: dchen
Update of /cvs/pkgs/rpms/libsvm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31496/devel
Modified Files:
libsvm-2.85.patch libsvm.spec
Log Message:
Fix build error
libsvm-2.85.patch:
Index: libsvm-2.85.patch
===================================================================
RCS file: /cvs/pkgs/rpms/libsvm/devel/libsvm-2.85.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libsvm-2.85.patch 4 Feb 2008 08:13:47 -0000 1.1
+++ libsvm-2.85.patch 4 Feb 2008 23:46:32 -0000 1.2
@@ -131,7 +131,7 @@
diff -up ./python/svm_test.py.orig ./python/svm_test.py
diff -up ./python/Makefile.orig ./python/Makefile
--- ./python/Makefile.orig 2007-11-06 23:32:49.000000000 +1000
-+++ ./python/Makefile 2008-02-04 16:49:05.000000000 +1000
++++ ./python/Makefile 2008-02-05 09:37:16.000000000 +1000
@@ -2,9 +2,16 @@ CXX? = g++
SWIG ?= swig
@@ -386,7 +386,7 @@
rm -f *~ svm-toy svm-toy.moc ../../svm.o
diff -up ./svm-toy/gtk/Makefile.orig ./svm-toy/gtk/Makefile
--- ./svm-toy/gtk/Makefile.orig 2008-02-04 15:44:19.000000000 +1000
-+++ ./svm-toy/gtk/Makefile 2008-02-04 17:19:37.000000000 +1000
++++ ./svm-toy/gtk/Makefile 2008-02-05 09:33:08.000000000 +1000
@@ -1,22 +1,25 @@
CC? = gcc
CXX? = g++
@@ -415,11 +415,20 @@
- $(CXX) $(CFLAGS) -c callbacks.cpp
+ $(CXX) $(COPT) -c callbacks.cpp
--../../svm.o:
-- cd ../..; make svm.o
-+#../../svm.o:
-+# cd ../..; make svm.o
+ ../../svm.o:
+ cd ../..; make svm.o
clean:
- rm -f *~ callbacks.o svm-toy main.o interface.o callbacks.o ../../svm.o
+ rm -f *~ callbacks.o svm-toy main.o interface.o callbacks.o
+diff -up ./svm-toy/gtk/callbacks.cpp.orig ./svm-toy/gtk/callbacks.cpp
+--- ./svm-toy/gtk/callbacks.cpp.orig 2008-02-05 09:43:28.000000000 +1000
++++ ./svm-toy/gtk/callbacks.cpp 2008-02-05 09:43:42.000000000 +1000
+@@ -2,6 +2,7 @@
+ #include <stdio.h>
+ #include <ctype.h>
+ #include <list>
++#include <stdlib.h>
+ #include "callbacks.h"
+ #include "interface.h"
+ #include "../../svm.h"
Index: libsvm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libsvm/devel/libsvm.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- libsvm.spec 4 Feb 2008 08:13:47 -0000 1.11
+++ libsvm.spec 4 Feb 2008 23:46:32 -0000 1.12
@@ -1,6 +1,6 @@
Name: libsvm
Version: 2.85
-Release: 0%{?dist}
+Release: 1%{?dist}
Summary: A Library for Support Vector Machines
Group: Development/Libraries
@@ -163,6 +163,9 @@
%changelog
+* Mon Feb 04 2008 Ding-Yi Chen <dchen at redhat.com> - 2.85-1
+- Fix build error
+
* Mon Feb 04 2008 Ding-Yi Chen <dchen at redhat.com> - 2.85-0
- Upgrade to 2.85
- Include guide.pdf in main package
More information about the fedora-extras-commits
mailing list