[liborigin2: 1/2] rebuild(boost 1.44)
supercyper
supercyper at fedoraproject.org
Fri Jul 30 06:09:24 UTC 2010
commit 654a1574b0331cc8e235627067d5b949958da23e
Author: Chen Lei <supercyper at 163.com>
Date: Fri Jul 30 13:20:26 2010 +0800
rebuild(boost 1.44)
liborigin2-svn1748-gcc45.patch | 11 +++++++++++
liborigin2.spec | 7 ++++++-
2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/liborigin2-svn1748-gcc45.patch b/liborigin2-svn1748-gcc45.patch
new file mode 100644
index 0000000..f4f56be
--- /dev/null
+++ b/liborigin2-svn1748-gcc45.patch
@@ -0,0 +1,11 @@
+--- liborigin2-20100629/OriginDefaultParser.cpp.org 2010-07-30 13:55:57.461815691 +0800
++++ liborigin2-20100629/OriginDefaultParser.cpp 2010-07-30 13:57:33.078816874 +0800
+@@ -73,7 +73,7 @@
+ int i;
+ FILE *f, *debug;
+ if((f=fopen(fileName.c_str(),"rb")) == NULL ) {
+- printf("Could not open %s!\n",fileName);
++ printf("Could not open %s!\n",fileName.c_str());
+ return false;
+ }
+
diff --git a/liborigin2.spec b/liborigin2.spec
index 1c78d82..72ed746 100644
--- a/liborigin2.spec
+++ b/liborigin2.spec
@@ -4,7 +4,7 @@
Name: liborigin2
Version: 06042009
-Release: 4.%{svndate}svn%{?dist}
+Release: 5.%{svndate}svn%{?dist}
Summary: Library for reading OriginLab project files
License: GPLv3
Group: System Environment/Libraries
@@ -17,6 +17,7 @@ URL: http://soft.proindependent.com/%{name}/
Source0: liborigin2-%{svndate}.tar.bz2
# Fixes build and install
Patch0: liborigin2-svn1748-path.patch
+Patch1: liborigin2-svn1748-gcc45.patch
BuildRequires: qt4-devel boost-devel
BuildRequires: doxygen
BuildRequires: dos2unix
@@ -41,6 +42,7 @@ for developing applications that use %{name}.
%prep
%setup -q -n %{name}-%{svndate}
%patch0 -p1
+%patch1 -p1
#fix source files for debug package
find -name '*.h' -exec dos2unix -k {} \;
find -name '*.hh' -exec dos2unix -k {} \;
@@ -91,6 +93,9 @@ rm -rf %{buildroot}
%{_libdir}/%{name}.so
%changelog
+* Thu Jul 29 2010 Chen Lei <supercyper at 163.com> - 06042009-5.20100629svn
+- rebuild(boost 1.44)
+
* Tue Jun 29 2010 Chen Lei <supercyper at 163.com> - 06042009-4.20100629svn
- svn 1748
More information about the scm-commits
mailing list