diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-28 19:50:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-28 19:50:45 +0000 |
commit | 928b3ae65dfcd5ff19ecdedd8b555548285a2dbc (patch) | |
tree | 88f3f2131051f2b866bc90c05dc159a3a03b9d8a /fonts | |
parent | aec8483fd900981a9b3bf9b8d2f5d0a7d028b38e (diff) | |
download | pkgsrc-928b3ae65dfcd5ff19ecdedd8b555548285a2dbc.tar.gz |
stdout is not a valid global initializer, move the init to run time.
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/kcfonts/distinfo | 6 | ||||
-rw-r--r-- | fonts/kcfonts/patches/patch-af | 20 | ||||
-rw-r--r-- | fonts/kcfonts/patches/patch-ag | 19 |
3 files changed, 36 insertions, 9 deletions
diff --git a/fonts/kcfonts/distinfo b/fonts/kcfonts/distinfo index 1768d50dd10..b9bacebb63c 100644 --- a/fonts/kcfonts/distinfo +++ b/fonts/kcfonts/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 19:18:28 agc Exp $ +$NetBSD: distinfo,v 1.3 2005/12/28 19:50:45 joerg Exp $ SHA1 (kcfonts-1.05.tar.gz) = b05d2aae45a7624cc9484e1bac0c0670200a0784 RMD160 (kcfonts-1.05.tar.gz) = 81beed36904d4a4a012da99d000ec6ddae6e3d37 @@ -7,8 +7,8 @@ SHA1 (patch-aa) = c72e64cb5723015b463686d256c030b1e13358f5 SHA1 (patch-ab) = 8e395c8f5a6c157db54a9b805fede7136250b11c SHA1 (patch-ad) = 366ba0c305433845417fc5699eb188230f235d34 SHA1 (patch-ae) = 03d0a5c4b541177df800bcea2f80858cadefd98a -SHA1 (patch-af) = 6ff25797bc88b53506e21fa5233a9432d53ea576 -SHA1 (patch-ag) = 156611e05fdcbb0e9eaa3b263625df7e1e5348ad +SHA1 (patch-af) = ba4e61b7d6edd9a2f9c63a0d0b207231599e99c7 +SHA1 (patch-ag) = 36f6af4a528426c208db5cceba2b7d93abcd9a83 SHA1 (patch-ai) = e9d2e1f0f116f7927d1c3d4d19832fbbbc552c33 SHA1 (patch-aj) = 98d743fb8054f4a9cb21a06ef82f30062527a56b SHA1 (patch-ak) = 6b4bb31aecf50040eb6e097954ca20d1aa598cba diff --git a/fonts/kcfonts/patches/patch-af b/fonts/kcfonts/patches/patch-af index c741198003d..e29cc341b84 100644 --- a/fonts/kcfonts/patches/patch-af +++ b/fonts/kcfonts/patches/patch-af @@ -1,8 +1,8 @@ -$NetBSD: patch-af,v 1.1.1.1 2002/07/18 16:19:07 wiz Exp $ +$NetBSD: patch-af,v 1.2 2005/12/28 19:50:45 joerg Exp $ ---- kc15f.c.orig Sat Dec 16 18:19:23 1995 +--- kc15f.c.orig 1995-12-16 17:19:23.000000000 +0000 +++ kc15f.c -@@ -12,22 +12,29 @@ +@@ -12,26 +12,33 @@ char head[]= "STARTFONT 2.1\n" "COMMENT 16x15 Font\n" @@ -43,3 +43,17 @@ $NetBSD: patch-af,v 1.1.1.1 2002/07/18 16:19:07 wiz Exp $ "ENDPROPERTIES\n" "CHARS 13867\n"; +-FILE *fp,*fr1, *fr2, *fw=stdout; ++FILE *fp,*fr1, *fr2, *fw; + + int count, ofs; + +@@ -61,7 +68,7 @@ void out(FILE *fp) + + main() + { +- ++ fw = stdout; + if ((fp=fopen("spcfont.15","r"))==NULL) { + fprintf(stderr,"kc15 Error01:Can't open spcfont.15\n"); exit(2); + } diff --git a/fonts/kcfonts/patches/patch-ag b/fonts/kcfonts/patches/patch-ag index a0d9cbb467c..653a3d189bf 100644 --- a/fonts/kcfonts/patches/patch-ag +++ b/fonts/kcfonts/patches/patch-ag @@ -1,8 +1,8 @@ -$NetBSD: patch-ag,v 1.1.1.1 2002/07/18 16:19:08 wiz Exp $ +$NetBSD: patch-ag,v 1.2 2005/12/28 19:50:45 joerg Exp $ ---- kc24f.c.orig Sat Dec 16 18:19:42 1995 +--- kc24f.c.orig 1995-12-16 17:19:42.000000000 +0000 +++ kc24f.c -@@ -11,22 +11,29 @@ +@@ -11,26 +11,33 @@ char head[]= "STARTFONT 2.1\n" "COMMENT 24x24 Font\n" @@ -40,3 +40,16 @@ $NetBSD: patch-ag,v 1.1.1.1 2002/07/18 16:19:08 wiz Exp $ "ENDPROPERTIES\n" "CHARS 13867\n"; +-FILE *fp,*fr1, *fr2, *fw=stdout; ++FILE *fp,*fr1, *fr2, *fw; + + int count, ofs; + +@@ -61,6 +68,7 @@ fprintf(fw,"ENDCHAR\n"); + + main() + { ++ fw = stdout; + + if ((fp=fopen("spcfont.24","r"))==NULL) { + fprintf(stderr,"kc24 Error 1:Can't open spcfont.24\n"); exit(2); |