rpms/wcstools/FC-5 wcstools3-tmpfile.patch, NONE, 1.1 wcstools.spec, 1.1, 1.2

Sergio Pascual (sergiopr) fedora-extras-commits at redhat.com
Mon Sep 4 11:21:18 UTC 2006


Author: sergiopr

Update of /cvs/extras/rpms/wcstools/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17274

Modified Files:
	wcstools.spec 
Added Files:
	wcstools3-tmpfile.patch 
Log Message:
* Wed Aug 30 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 3.6.5-2
- Corrected bug in edhead (patch2) (bug #204642).
* Fri Jun 21 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 3.6.5-1
- New upstream source 3.6.5
* Tue Jun 13 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 3.6.4-3
- Patched overflows in catutil.c and getdate.c
- Patched incompatible pointer in binread.c
* Mon Jun 12 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 3.6.4-2
- Patched edhead.
- libwcs provides libwcs.so.3
- libwcs into System Environment/Libraries group
- Makefile uses ${RPM_OPT_FLAGS} and $(CC)
* Fri Jun 09 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 3.6.4-1
- Removed not needed ldconfig in wcstools and libwcs-devel.
* Wed Mar 08 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 3.6.3-1
- Initial RPM file.


wcstools3-tmpfile.patch:

--- NEW FILE wcstools3-tmpfile.patch ---
diff -ur wcstools-3.6.5.orig/edhead.c wcstools-3.6.5/edhead.c
--- wcstools-3.6.5.orig/edhead.c	2006-06-22 01:45:55.000000000 +0200
+++ wcstools-3.6.5/edhead.c	2006-08-30 23:31:26.000000000 +0200
@@ -140,7 +140,7 @@
     char headline[160];
     char newname[128];
     char space;
-    char *temphead = "/tmp/edheadXXXXXX";
+    char temphead[] = "/tmp/edheadXXXXXX";
     FILE *fd;
     char *ext, *fname, *imext, *imext1;
     char *editcom;


Index: wcstools.spec
===================================================================
RCS file: /cvs/extras/rpms/wcstools/FC-5/wcstools.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- wcstools.spec	26 Jun 2006 17:27:53 -0000	1.1
+++ wcstools.spec	4 Sep 2006 11:21:18 -0000	1.2
@@ -1,6 +1,6 @@
 Name: wcstools
 Version: 3.6.5
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Software utilities to display and manipulate the WCS of a FITS image
 
 Group: Applications/Engineering
@@ -9,6 +9,7 @@
 Source0: http://tdc-www.harvard.edu/software/wcstools/%{name}-%{version}.tar.gz
 Patch0: wcstools3-shared.patch
 Patch1: wcstools3-codewarn.patch
+Patch2: wcstools3-tmpfile.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 
@@ -42,6 +43,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__make} CC=%{__cc} CFLAGS="%{optflags} -fPIC" all
@@ -82,6 +84,8 @@
 
 
 %changelog
+* Wed Aug 30 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 3.6.5-2
+- Corrected bug in edhead (patch2) (bug #204642).
 * Fri Jun 21 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 3.6.5-1
 - New upstream source 3.6.5
 * Tue Jun 13 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 3.6.4-3




More information about the scm-commits mailing list