Hello community, here is the log from the commit of package f2c checked in at Sat Apr 8 01:58:46 CEST 2006. -------- --- f2c/f2c.changes 2006-01-25 21:35:48.000000000 +0100 +++ f2c/f2c.changes 2006-04-07 23:19:25.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Apr 7 23:18:26 CEST 2006 - schwab@suse.de + +- Fix integer size for 64bit archs. + +------------------------------------------------------------------- New: ---- f2c-integer.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ f2c.spec ++++++ --- /var/tmp/diff_new_pack.2yI0HA/_old 2006-04-08 01:55:52.000000000 +0200 +++ /var/tmp/diff_new_pack.2yI0HA/_new 2006-04-08 01:55:52.000000000 +0200 @@ -1,11 +1,11 @@ # # spec file for package f2c (Version 0.11) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://bugs.opensuse.org +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -16,8 +16,8 @@ Group: Development/Languages/Fortran Autoreqprov: on Version: 0.11 -Release: 1054 -Summary: A Fortran-77 to C translator +Release: 1061 +Summary: A Fortran-77 to C Translator Source: f2c.tgz Source1: yaf77-1.6.tgz Source2: libf2c.zip @@ -33,6 +33,7 @@ Patch1: tmpfile-fix.patch Patch2: f2c-optflags.patch Patch3: yyparse.patch +Patch4: f2c-integer.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -55,24 +56,25 @@ tar xvpfz $RPM_SOURCE_DIR/yaf77-1.6.tgz cp -av $RPM_SOURCE_DIR/*.gz . gunzip *.gz +mv f2c.h libf2c/f2c.h0 %patch %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 %build (cd src && make CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing") (cd libf2c && sh ./make.elf) (cd libf2c && make -f makefile.u CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing") pushd yaf77-1.6/F77ext -F2C=../../src/f2c make FFLAGS=-I../.. CFLAGS=-I../.. +F2C=../../src/f2c make FFLAGS=-I../../libf2c CFLAGS=-I../../libf2c popd %install -rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/{bin,include,%_lib} install -m 755 src/f2c f77-f2c $RPM_BUILD_ROOT/usr/bin -install -m 644 f2c.h $RPM_BUILD_ROOT/usr/include +install -m 644 libf2c/f2c.h $RPM_BUILD_ROOT/usr/include mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 install -m 644 f2c.1t $RPM_BUILD_ROOT%{_mandir}/man1/f2c.1 install -m 644 libf2c/libf2c.a $RPM_BUILD_ROOT%_libdir @@ -107,6 +109,8 @@ %doc %{_mandir}/man1/f2c.1.gz %changelog -n f2c +* Fri Apr 07 2006 - schwab@suse.de +- Fix integer size for 64bit archs. * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Tue Nov 15 2005 - rguenther@suse.de ++++++ f2c-integer.diff ++++++ --- libf2c/f2c.h0 +++ libf2c/f2c.h0 @@ -7,15 +7,15 @@ #ifndef F2C_INCLUDE #define F2C_INCLUDE -typedef long int integer; -typedef unsigned long int uinteger; +typedef int integer; +typedef unsigned int uinteger; typedef char *address; typedef short int shortint; typedef float real; typedef double doublereal; typedef struct { real r, i; } complex; typedef struct { doublereal r, i; } doublecomplex; -typedef long int logical; +typedef int logical; typedef short int shortlogical; typedef char logical1; typedef char integer1; --- libf2c/getarg_.c +++ libf2c/getarg_.c @@ -10,9 +10,9 @@ */ #ifdef KR_headers -VOID getarg_(n, s, ls) ftnint *n; register char *s; ftnlen ls; +VOID getarg_(n, s, ls) integer *n; register char *s; ftnlen ls; #else -void getarg_(ftnint *n, register char *s, ftnlen ls) +void getarg_(integer *n, register char *s, ftnlen ls) #endif { extern int xargc; ++++++ f2c.dif ++++++ --- /var/tmp/diff_new_pack.2yI0HA/_old 2006-04-08 01:55:52.000000000 +0200 +++ /var/tmp/diff_new_pack.2yI0HA/_new 2006-04-08 01:55:52.000000000 +0200 @@ -305,8 +305,8 @@ + program hello + print *,'Hello, world.' + end ---- f2c.h -+++ f2c.h 2000/11/17 10:44:20 +--- libf2c/f2c.h0 ++++ libf2c/f2c.h0 2000/11/17 10:44:20 @@ -154,7 +154,10 @@ }; typedef struct Namelist Namelist; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...