rpms/asa/devel asa-1.2-declare.patch,NONE,1.1 asa.spec,1.6,1.7

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Thu Apr 17 19:56:40 UTC 2008


Author: pertusus

Update of /cvs/extras/rpms/asa/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32323

Modified Files:
	asa.spec 
Added Files:
	asa-1.2-declare.patch 
Log Message:
* Thu Apr 17 2008 Patrice Dumas <pertusus at free.fr> - 1.2-6
- fix missing type declaration
- use optflags to link


asa-1.2-declare.patch:

--- NEW FILE asa-1.2-declare.patch ---
diff -up asa-1.2/asa.c.declare asa-1.2/asa.c
--- asa-1.2/asa.c.declare	2008-04-17 21:49:59.000000000 +0200
+++ asa-1.2/asa.c	2008-04-17 21:51:01.000000000 +0200
@@ -202,7 +202,7 @@ static void
 copy_file(FILE *fp)
 {
     str line;
-    static first_line = 1;
+    static int first_line = 1;
 
     while ((line.len=readline(fp, &(line.chr))))
     {


Index: asa.spec
===================================================================
RCS file: /cvs/extras/rpms/asa/devel/asa.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- asa.spec	19 Feb 2008 17:57:38 -0000	1.6
+++ asa.spec	17 Apr 2008 19:56:03 -0000	1.7
@@ -1,6 +1,6 @@
 Name:           asa
 Version:        1.2
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Convert Fortran carriage control characters
 
 Group:          Development/Tools
@@ -8,6 +8,7 @@
 # version 1.1 is at that url.
 URL:            http://www.ibiblio.org/pub/Linux/devel/lang/fortran/!INDEX.short.html
 Source0:        http://archive.debian.org/debian-archive/dists/slink/main/source/text/asa_1.2.orig.tar.gz
+Patch0:         asa-1.2-declare.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
@@ -18,10 +19,11 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .declare
 
 
 %build
-make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
+make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS"
 
 
 %install
@@ -44,6 +46,10 @@
 
 
 %changelog
+* Thu Apr 17 2008 Patrice Dumas <pertusus at free.fr> - 1.2-6
+- fix missing type declaration
+- use optflags to link
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.2-5
 - Autorebuild for GCC 4.3
 




More information about the scm-commits mailing list