pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43291: [PATCH] lang/f2c needs some patches for gcc-4.4 (ubuntu 10.04)



>                                                    藤原 誠
The patches should include $NetBSD$ line, sorry

Index: lang/f2c/distinfo
===================================================================
RCS file: /export/cvsync/pkgsrc/lang/f2c/distinfo,v
retrieving revision 1.25
diff -a -u -r1.25 distinfo
--- lang/f2c/distinfo   23 Dec 2009 00:48:20 -0000      1.25
+++ lang/f2c/distinfo   12 May 2010 04:08:25 -0000
@@ -6,3 +6,6 @@
 SHA1 (patch-aa) = f1224ff17cdc96f083a247dce88b690e8b939eb0
 SHA1 (patch-ad) = 7f204a45891e3632589ea8fb0e4e379a0a792dea
 SHA1 (patch-ak) = 8652a54df300ddd60d9b1a9594d312349b782cf4
+SHA1 (patch-al) = 7ad3fce1e616e97a5edf9198b9260808069494a2
+SHA1 (patch-am) = bb794dc25f79a1c87189728dd5441ee7df419b13
+SHA1 (patch-an) = a5f7616551f3c857feca02168ae6401a8f3ce1bb
Index: lang/f2c/patches/patch-al
===================================================================
RCS file: lang/f2c/patches/patch-al
diff -N lang/f2c/patches/patch-al
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ lang/f2c/patches/patch-al   12 May 2010 04:08:25 -0000
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/data.c.orig    2001-03-02 06:16:12.000000000 +0900
++++ src/data.c 2010-05-12 12:30:14.371695373 +0900
+@@ -360,7 +360,7 @@
+               k = elen - valp->vleng->constblock.Const.ci;
+               if(k > 0) {
+                       dataline(varname, offset, TYBLANK);
+-                      fprintf(dfile, "\t%d\n", k);
++                      fprintf(dfile, "\t%d\n", (int) k);
+                       }
+               break;
+ 
Index: lang/f2c/patches/patch-am
===================================================================
RCS file: lang/f2c/patches/patch-am
diff -N lang/f2c/patches/patch-am
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ lang/f2c/patches/patch-am   12 May 2010 04:08:25 -0000
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/format.c.orig  2003-03-21 03:34:13.000000000 +0900
++++ src/format.c       2010-05-12 12:32:07.609998285 +0900
+@@ -2363,7 +2363,7 @@
+           result->vstg = 1;
+           break;
+       case TYCHAR:
+-          status = fscanf(infile, "%lx", resultp);
++          status = fscanf(infile, "%lx", (long unsigned int *) resultp);
+           break;
+       default:
+           erri ("p1get_const:  bad constant type '%d'", type);
Index: lang/f2c/patches/patch-an
===================================================================
RCS file: lang/f2c/patches/patch-an
diff -N lang/f2c/patches/patch-an
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ lang/f2c/patches/patch-an   12 May 2010 04:08:25 -0000
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/p1output.c.orig        2001-03-02 06:16:13.000000000 +0900
++++ src/p1output.c     2010-05-12 12:34:46.087109264 +0900
+@@ -207,7 +207,7 @@
+               err("p1_const:  bad vleng\n");
+           else
+               fprintf(pass1_file, "%d: %d %lx\n", P1_CONST, type,
+-                      cpexpr((expptr)cp));
++                      (long unsigned int) cpexpr((expptr)cp));
+           break;
+       default:
+           erri ("p1_const:  bad constant type '%d'", type);

---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.


Home | Main Index | Thread Index | Old Index