rpms/clipper/devel stdio_fixes.patch,NONE,1.1 clipper.spec,1.5,1.6

Timothy Fenn timfenn at fedoraproject.org
Tue Feb 24 09:21:46 UTC 2009


Author: timfenn

Update of /cvs/pkgs/rpms/clipper/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18361

Modified Files:
	clipper.spec 
Added Files:
	stdio_fixes.patch 
Log Message:
* Tue Feb 24 2009 Tim Fenn <fenn at stanford.edu> 2.1-5
- add patch for missing stdio includes



stdio_fixes.patch:

--- NEW FILE stdio_fixes.patch ---
--- clipper/cns/cns_map_io.cpp_orig	2009-02-24 00:30:04.000000000 -0800
+++ clipper/cns/cns_map_io.cpp	2009-02-24 00:31:29.000000000 -0800
@@ -43,6 +43,7 @@
 #include "cns_map_io.h"
 
 #include <stdlib.h>
+#include <stdio.h>
 
 namespace clipper {
 
--- examples/cphasematch.cpp_orig	2009-02-24 00:47:27.000000000 -0800
+++ examples/cphasematch.cpp	2009-02-24 01:02:34.000000000 -0800
@@ -5,6 +5,9 @@
 #include <clipper/clipper-contrib.h>
 #include <clipper/clipper-ccp4.h>
 
+extern "C" {
+#include <stdio.h>
+}
 
 int main( int argc, char** argv )
 {
--- examples/csigmaa.cpp_orig	2009-02-24 00:47:18.000000000 -0800
+++ examples/csigmaa.cpp	2009-02-24 01:02:54.000000000 -0800
@@ -5,6 +5,9 @@
 #include <clipper/clipper-contrib.h>
 #include <clipper/clipper-ccp4.h>
 
+extern "C" {
+#include <stdio.h>
+}
 
 int main( int argc, char** argv )
 {


Index: clipper.spec
===================================================================
RCS file: /cvs/pkgs/rpms/clipper/devel/clipper.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- clipper.spec	24 Feb 2009 07:50:15 -0000	1.5
+++ clipper.spec	24 Feb 2009 09:21:14 -0000	1.6
@@ -2,12 +2,13 @@
 Summary: Clipper C++ crystallographic library
 URL: http://www.ysbl.york.ac.uk/~cowtan/clipper/clipper.html
 Version: 2.1
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: LGPLv2+
 Source0: http://www.ysbl.york.ac.uk/~cowtan/%{name}/%{name}-%{version}-081118-ac.tar.gz
 Source1: clipper-patches-2.1.tar.gz
 Patch0: unistd_fixes.patch
 Patch1: stdlib_fixes.patch
+Patch2: stdio_fixes.patch
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: autoconf
@@ -47,6 +48,7 @@
 %setup -q -a 1
 %patch0 -p0
 %patch1 -p0
+%patch2 -p0
 ./autogen.sh
 
 sed -i 's/\r//' dox/coordtypes.dox
@@ -101,6 +103,9 @@
 %{_libdir}/pkgconfig/clipper.pc
 
 %changelog
+* Wed Feb 25 2009 Tim Fenn <fenn at stanford.edu> - 2.1-5
+- add patch for missing stdio includes
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the scm-commits mailing list