diff options
author | rillig <rillig@pkgsrc.org> | 2008-01-05 19:21:00 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2008-01-05 19:21:00 +0000 |
commit | 80b47941aaec44e0d5a06fd23e9d7c09ea503c0f (patch) | |
tree | 7df8363ab611d4fba6929b8751527ff208f38221 /mail | |
parent | 775bba2f32c9fa9404744073269dbe62ed00b233 (diff) | |
download | pkgsrc-80b47941aaec44e0d5a06fd23e9d7c09ea503c0f.tar.gz |
Nuked 45 patches that were all doing the same mechanical transformation.
We have the SUBST framework for a reason.
(hi joerg! And don't tell me it's too unreliable, I won't believe it.)
Diffstat (limited to 'mail')
48 files changed, 10 insertions, 645 deletions
diff --git a/mail/elm-me/Makefile b/mail/elm-me/Makefile index 0a707532c1a..7fed4d5a094 100644 --- a/mail/elm-me/Makefile +++ b/mail/elm-me/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2007/12/02 12:12:47 wiz Exp $ +# $NetBSD: Makefile,v 1.29 2008/01/05 19:21:00 rillig Exp $ DISTNAME= elm-2.4ME+93 PKGNAME= elm-me-2.4.93 @@ -27,6 +27,12 @@ CONF_FILES= ${PREFIX}/lib/elm.mimetypes-dist \ USE_TOOLS+= ksh +SUBST_CLASSES+= errno +SUBST_STAGE.errno= post-patch +SUBST_MESSAGE.errno= Fixing declaration of errno. +SUBST_FILES.errno= */*.c +SUBST_SED.errno= -e 's,^extern int errno;,\#include <errno.h>,' + pre-configure: ${CP} ${FILESDIR}/config.sh ${WRKSRC}/ ${MV} ${WRKSRC}/nls/LANGS ${WRKSRC}/nls/LANGS.tmpl diff --git a/mail/elm-me/distinfo b/mail/elm-me/distinfo index d21a5df8124..503d55f3bc3 100644 --- a/mail/elm-me/distinfo +++ b/mail/elm-me/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2006/01/24 19:01:45 joerg Exp $ +$NetBSD: distinfo,v 1.4 2008/01/05 19:21:00 rillig Exp $ SHA1 (elm-2.4ME+93.tar.gz) = 2ce3cee8eb7af9b73e11fb99b901357b1bd5cd4d RMD160 (elm-2.4ME+93.tar.gz) = 46b36b2fdc78924ffbbced66c93defa431508e29 @@ -6,55 +6,10 @@ Size (elm-2.4ME+93.tar.gz) = 1569204 bytes SHA1 (patch-aa) = 22f5b0219ada56c90cd26b47e9f5beac3af00c4a SHA1 (patch-ab) = 288893a202522d3197cd5092273c1dfbcd31f3da SHA1 (patch-ac) = c76cbb5adc548bdc68fc860063e5280ff90d7e59 -SHA1 (patch-ad) = 98ee3d32f14b3bd8709137a25c598d6799973fbf +SHA1 (patch-ad) = 73875671aa53548e1cbe1bfae56acb4792ee4b24 SHA1 (patch-ae) = 600dbb380442dcbaef51c69d81847b400538bf0f -SHA1 (patch-af) = 151dff5495f622431d288da0e9b7aa0f1ae5a241 -SHA1 (patch-ag) = 316a97abe0ee2d49fd5e776c3db59caca4057b41 -SHA1 (patch-ah) = 97c196e30e3136d72c832bacc517610cc242c685 -SHA1 (patch-ai) = edfd73e58d16496ab4ffd49d04db629406c78e82 -SHA1 (patch-aj) = 5acad9a35bb82dfea4ee344004c7b554e5badeba -SHA1 (patch-ak) = 18895f7cae925d582799f87d3bcab36d9a6f4f84 -SHA1 (patch-al) = 819b52ce87a85cc99139bce38376b2812438514c -SHA1 (patch-am) = 0e368c7ec8f51d1847199691d97f3d29b7568937 -SHA1 (patch-an) = 6b01f3b01fc041adcc8b7d3a81f5b9a60cc58c6a -SHA1 (patch-ao) = 95d5825723593af0612a012879daca3d54a9ac2b -SHA1 (patch-ap) = 2b5b25795a9c223d59ede31eeae77baccee9f6cf -SHA1 (patch-aq) = ff2b66985c4bacbccd6141a85f8321cac0ce33b0 -SHA1 (patch-ar) = fe4f39fc8d5833f202cc1cee59cccd6a39f5f8e1 -SHA1 (patch-as) = 25c5d00d4cb82c317c7c13f5132774a1cf1b41d8 -SHA1 (patch-at) = 0b3356cde820c45a7f2e3381b44b84459ff7e719 -SHA1 (patch-au) = 0b42703ed5d2aa1984e3ea37c0e65ac5b0a78a57 -SHA1 (patch-av) = 7aa7e486dbc8cdf030af84f96f58357154bdc41b -SHA1 (patch-aw) = 52995929a717075e85b8950f9a7731d43744dd19 -SHA1 (patch-ax) = 47d3ecfc7e17e53fe7f6d7a1638381bf613939ca -SHA1 (patch-ay) = 549b87f8f524f4ab5a743f17f70f5fa9b8ec309a -SHA1 (patch-az) = 0f046bccf49c33121bf5e838df8115dfba3f5206 -SHA1 (patch-ba) = 86c300c228dcf8a60c3fae86a8118809ad9185ae SHA1 (patch-bb) = ba9a5645f5dbc66723e8a6b21666b4009fe31f66 -SHA1 (patch-bc) = f59e857f03ed61f7f8f0eca25ab510d21acc8765 -SHA1 (patch-bd) = d9c0b19336d3363f6ce1a840b7c10f86ad45b753 -SHA1 (patch-be) = 3d0ae68383c0e538d658dc67276d930468d614b7 -SHA1 (patch-bf) = 667192bee7105820fc046502e19da0fbac2a3b8f -SHA1 (patch-bg) = 2cad34e20f4a38a9835f241c7aac82d5b320e566 -SHA1 (patch-bh) = 4586113e27241df73c1acf834da54a41bc865f3d -SHA1 (patch-bi) = 47412cc55ba2d606df33695c14a5b19320e09d62 -SHA1 (patch-bj) = 443893dcd5a8cec17113006be1370d83bf1701a9 -SHA1 (patch-bk) = f1c742b8ce22b4d6b70e480fb18b15fb08fb4c0d -SHA1 (patch-bl) = af5354cf321016ce71a553ad4c654934085290a7 -SHA1 (patch-bm) = cf1c3728221b710c8d2b59c113688da92834554c -SHA1 (patch-bn) = a9b834397937f3f019df6a910a8605ae7524c5d3 -SHA1 (patch-bo) = 05c76ccee71e5ef1dc5fe605f1482a05c0764031 -SHA1 (patch-bp) = 7ed6e52d0da61a373a4c8b112ad68fb7e2ce744e -SHA1 (patch-bq) = 66eaab4619f41f40e97b5a314516a8432488c3b2 -SHA1 (patch-br) = da014af91c9aec10f0316e5b0356399cec095c07 -SHA1 (patch-bs) = 575dc1b1f0129dfe259e41c3cfa8f67cfaf53cd9 -SHA1 (patch-bt) = 3ea76a3f45fa1f829456b5ef4538a8c3bafa29de -SHA1 (patch-bu) = a8994b51e0f38f764b8fae680b7b7c216af1220e SHA1 (patch-bv) = dc11b6ef449d041ff63055924686d2da2138088f -SHA1 (patch-bw) = 6c8137077208222b8bc7d2bf82263f97b9c3174f -SHA1 (patch-bx) = d27f3d8751b6eb1c1df5407da321f73d629d316b -SHA1 (patch-by) = 0baf2c89ebb8117b989a8e5e2f96df4e9e2c0d6c -SHA1 (patch-bz) = 68063c8a1e11844ec917d56b5e614ed8a357a212 SHA1 (patch-ca) = df5ea5f20ffc2c26f8ba2cd5d3a341fbd0ec6f54 SHA1 (patch-cb) = 2f9dde23fbe375be32d91b6df60c81427c7bf3d0 SHA1 (patch-cc) = 59cae75adfd90c2a14f6c55e83b36bc701cbed97 diff --git a/mail/elm-me/patches/patch-ad b/mail/elm-me/patches/patch-ad index 492a180f859..00d187b8fcb 100644 --- a/mail/elm-me/patches/patch-ad +++ b/mail/elm-me/patches/patch-ad @@ -1,16 +1,7 @@ -$NetBSD: patch-ad,v 1.2 2006/01/24 19:01:45 joerg Exp $ +$NetBSD: patch-ad,v 1.3 2008/01/05 19:21:00 rillig Exp $ --- src/pgp.c.orig Tue Jun 19 19:03:47 2001 +++ src/pgp.c Wed Jul 18 19:22:05 2001 -@@ -19,8 +19,6 @@ DEBUG_VAR(Debug,__FILE__,"pgp"); - #include <errno.h> - #include "menu.h" - --extern int errno; -- - /* the column in which the userid begins in the 'pgp -kv' command output */ - #define PGP2_USERID_OFFSET 30 - #define PGP5_USERID_OFFSET 5 @@ -161,7 +159,7 @@ static int GetPGPKey (name, target, targ char *path; case pgp2: diff --git a/mail/elm-me/patches/patch-af b/mail/elm-me/patches/patch-af deleted file mode 100644 index e807f56c7da..00000000000 --- a/mail/elm-me/patches/patch-af +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-af,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/can_access.c.orig 2006-01-20 03:26:03.000000000 +0000 -+++ lib/can_access.c -@@ -29,8 +29,6 @@ static char rcsid[] = "@(#)$Id: can_acce - void _exit(); - #endif - --extern int errno; /* system error number */ -- - int can_access(file, mode) - char *file; - int mode; diff --git a/mail/elm-me/patches/patch-ag b/mail/elm-me/patches/patch-ag deleted file mode 100644 index e7bc23a3b1d..00000000000 --- a/mail/elm-me/patches/patch-ag +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ag,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/can_open.c.orig 2006-01-24 15:09:07.000000000 +0000 -+++ lib/can_open.c -@@ -24,8 +24,6 @@ DEBUG_VAR(Debug,__FILE__,"file"); - void _exit(); - #endif - --extern int errno; /* system error number */ -- - int can_open(file, mode) - CONST char *file, *mode; - { diff --git a/mail/elm-me/patches/patch-ah b/mail/elm-me/patches/patch-ah deleted file mode 100644 index 1cf8d20279a..00000000000 --- a/mail/elm-me/patches/patch-ah +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ah,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/cs_binary.c.orig 2006-01-24 15:20:56.000000000 +0000 -+++ lib/cs_binary.c -@@ -27,7 +27,6 @@ static char rcsid[] = "@(#)$Id: cs_binar - DEBUG_VAR(Debug,__FILE__,"charset"); - - #include <errno.h> --extern int errno; - - static unsigned char *s2us P_((char *str)); - static unsigned char *s2us(str) diff --git a/mail/elm-me/patches/patch-ai b/mail/elm-me/patches/patch-ai deleted file mode 100644 index cf94b603d23..00000000000 --- a/mail/elm-me/patches/patch-ai +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ai,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/imap.c.orig 2006-01-24 15:23:12.000000000 +0000 -+++ lib/imap.c -@@ -44,8 +44,6 @@ static CONST unsigned char *cs2us(str) - - #include <errno.h> - --extern int errno; -- - static void cache_zero_imap P_((struct connection_cache *c)); - static void cache_free_imap P_((struct connection_cache *c)); - static int cache_open_imap P_((struct connection_cache *c)); diff --git a/mail/elm-me/patches/patch-aj b/mail/elm-me/patches/patch-aj deleted file mode 100644 index ffa8f748a8a..00000000000 --- a/mail/elm-me/patches/patch-aj +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-aj,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/localmbx.c.orig 2006-01-24 15:24:32.000000000 +0000 -+++ lib/localmbx.c -@@ -52,7 +52,6 @@ static char *us2s(str) - #endif - - #include <errno.h> --extern int errno; - - static int GrabRead_the_file P_((int flock_fd)); - diff --git a/mail/elm-me/patches/patch-ak b/mail/elm-me/patches/patch-ak deleted file mode 100644 index 563058213a3..00000000000 --- a/mail/elm-me/patches/patch-ak +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ak,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/mbox.c.orig 2006-01-24 15:25:06.000000000 +0000 -+++ lib/mbox.c -@@ -23,7 +23,6 @@ static char rcsid[] = "@(#)$Id: mbox.c,v - DEBUG_VAR(Debug,__FILE__,"mbox"); - - #include <errno.h> --extern int errno; - - static unsigned char *s2us P_((char *str)); - static unsigned char *s2us(str) diff --git a/mail/elm-me/patches/patch-al b/mail/elm-me/patches/patch-al deleted file mode 100644 index 006d873cc73..00000000000 --- a/mail/elm-me/patches/patch-al +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-al,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/pop.c.orig 2006-01-24 15:29:13.000000000 +0000 -+++ lib/pop.c -@@ -22,7 +22,6 @@ extern int h_errno; - #endif - - #include <errno.h> --extern int errno; - - #define POP_TIMEOUT 25 - diff --git a/mail/elm-me/patches/patch-am b/mail/elm-me/patches/patch-am deleted file mode 100644 index 7412f221e2d..00000000000 --- a/mail/elm-me/patches/patch-am +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-am,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/remote_mbx.c.orig 2006-01-24 15:29:50.000000000 +0000 -+++ lib/remote_mbx.c -@@ -171,7 +171,6 @@ extern int h_errno; - #endif - - #include <errno.h> --extern int errno; - - void zero_remote_account(ra) - struct remote_account *ra; diff --git a/mail/elm-me/patches/patch-an b/mail/elm-me/patches/patch-an deleted file mode 100644 index bea2f2125ec..00000000000 --- a/mail/elm-me/patches/patch-an +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-an,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/savefolder.c.orig 2006-01-24 15:32:41.000000000 +0000 -+++ lib/savefolder.c -@@ -45,7 +45,6 @@ static int change_type P_((struct folder - /* Dummy browser */ - - #include <errno.h> --extern int errno; - - static void browser_zero_dummy P_((struct folder_browser *dir)); - static void browser_zero_dummy(dir) diff --git a/mail/elm-me/patches/patch-ao b/mail/elm-me/patches/patch-ao deleted file mode 100644 index 529af6c4755..00000000000 --- a/mail/elm-me/patches/patch-ao +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ao,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/sb_file.c.orig 2006-01-24 15:55:42.000000000 +0000 -+++ lib/sb_file.c -@@ -11,7 +11,6 @@ static char rcsid[] = "@(#)$Id: sb_file. - #include "sb_imp.h" - - #include <errno.h> --extern int errno; - - DEBUG_VAR(Debug,__FILE__,"charset"); - diff --git a/mail/elm-me/patches/patch-ap b/mail/elm-me/patches/patch-ap deleted file mode 100644 index 6ebc20971ab..00000000000 --- a/mail/elm-me/patches/patch-ap +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ap,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/schedule.c.orig 2006-01-24 15:57:40.000000000 +0000 -+++ lib/schedule.c -@@ -11,7 +11,6 @@ static char rcsid[] = "@(#)$Id: schedule - DEBUG_VAR(Debug,__FILE__,"net"); - - #include <errno.h> --extern int errno; - - VOLATILE int wait_can_signal = 0; - diff --git a/mail/elm-me/patches/patch-aq b/mail/elm-me/patches/patch-aq deleted file mode 100644 index 363c6dc1518..00000000000 --- a/mail/elm-me/patches/patch-aq +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-aq,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/service_list.c.orig 2006-01-24 15:58:10.000000000 +0000 -+++ lib/service_list.c -@@ -23,7 +23,6 @@ extern int h_errno; - #endif - - #include <errno.h> --extern int errno; - - static int valid_option_type P_((struct SE_option_type *t)); - static int valid_option_type(t) diff --git a/mail/elm-me/patches/patch-ar b/mail/elm-me/patches/patch-ar deleted file mode 100644 index ed625e640a2..00000000000 --- a/mail/elm-me/patches/patch-ar +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ar,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/streamsched.c.orig 2006-01-24 15:58:37.000000000 +0000 -+++ lib/streamsched.c -@@ -15,7 +15,6 @@ static char rcsid[] = "@(#)$Id: streamsc - DEBUG_VAR(Debug,__FILE__,"net"); - - #include <errno.h> --extern int errno; - - #ifdef POLL_METHOD - diff --git a/mail/elm-me/patches/patch-as b/mail/elm-me/patches/patch-as deleted file mode 100644 index ab4377aefe7..00000000000 --- a/mail/elm-me/patches/patch-as +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-as,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/stringbuffer.c.orig 2006-01-24 15:59:05.000000000 +0000 -+++ lib/stringbuffer.c -@@ -13,7 +13,6 @@ static char rcsid[] = "@(#)$Id: stringbu - DEBUG_VAR(Debug,__FILE__,"charset"); - - #include <errno.h> --extern int errno; - - static int valid_magic P_((struct sb_type *magic)); - diff --git a/mail/elm-me/patches/patch-at b/mail/elm-me/patches/patch-at deleted file mode 100644 index 306aa22be65..00000000000 --- a/mail/elm-me/patches/patch-at +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-at,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/terminal.c.orig 2006-01-24 15:59:30.000000000 +0000 -+++ lib/terminal.c -@@ -13,7 +13,6 @@ static char rcsid[] = "@(#)$Id: terminal - DEBUG_VAR(Debug,__FILE__,"charset"); - - #include <errno.h> --extern int errno; - - static enum terminal_map_keyword get_keyword P_((const char *word)); - diff --git a/mail/elm-me/patches/patch-au b/mail/elm-me/patches/patch-au deleted file mode 100644 index fa2b7a5b9b6..00000000000 --- a/mail/elm-me/patches/patch-au +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-au,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- melib/pgp_decode.c.orig 2006-01-24 17:07:43.000000000 +0000 -+++ melib/pgp_decode.c -@@ -19,8 +19,6 @@ DEBUG_VAR(Debug,__FILE__,"pgp"); - #include <sys/time.h> - #include <errno.h> - --extern int errno; -- - extern int pgp_keeppassfor; /* 5 minutes */ - char pgp_passphrase[PGP_NUM][STRING]; - int pgp_expires; diff --git a/mail/elm-me/patches/patch-av b/mail/elm-me/patches/patch-av deleted file mode 100644 index fd44919fed9..00000000000 --- a/mail/elm-me/patches/patch-av +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-av,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/alias.c.orig 2006-01-24 17:08:31.000000000 +0000 -+++ src/alias.c -@@ -67,8 +67,6 @@ static int get_one_alias P_((DBZ *db, in - - extern int is_system; /* system file updating? */ - --extern int errno; -- - int current_mail_message; - int num_duplicates; - DBZ *system_hash = NULL, *user_hash = NULL; diff --git a/mail/elm-me/patches/patch-aw b/mail/elm-me/patches/patch-aw deleted file mode 100644 index 3f8e17b3978..00000000000 --- a/mail/elm-me/patches/patch-aw +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-aw,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/attach_menu.c.orig 2006-01-24 17:09:31.000000000 +0000 -+++ src/attach_menu.c -@@ -17,7 +17,6 @@ DEBUG_VAR(Debug,__FILE__,"mime"); - - #include <sys/errno.h> - --extern int errno; - extern int elm_COLUMNS; - - static unsigned char *s2us P_((char *str)); diff --git a/mail/elm-me/patches/patch-ax b/mail/elm-me/patches/patch-ax deleted file mode 100644 index f145951e5f7..00000000000 --- a/mail/elm-me/patches/patch-ax +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ax,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/a_quit.c.orig 2006-01-24 17:10:04.000000000 +0000 -+++ src/a_quit.c -@@ -23,8 +23,6 @@ static char rcsid[] = "@(#)$Id: a_quit.c - DEBUG_VAR(Debug,__FILE__,"alias"); - - --extern int errno; /* system error number on failure */ -- - int delete_aliases(newaliases, prompt) - int newaliases, prompt; - { diff --git a/mail/elm-me/patches/patch-ay b/mail/elm-me/patches/patch-ay deleted file mode 100644 index aab188d4875..00000000000 --- a/mail/elm-me/patches/patch-ay +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ay,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/calendar.c.orig 2006-01-24 17:10:37.000000000 +0000 -+++ src/calendar.c -@@ -34,8 +34,6 @@ DEBUG_VAR(Debug,__FILE__,"misc"); - #include <errno.h> - #include <s_error.h> - --extern int errno; -- - char *error_description(); - - static int extract_info P_((FILE *save_to_fd)); diff --git a/mail/elm-me/patches/patch-az b/mail/elm-me/patches/patch-az deleted file mode 100644 index 52302b9b31d..00000000000 --- a/mail/elm-me/patches/patch-az +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-az,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/edit.c.orig 2006-01-24 17:17:56.000000000 +0000 -+++ src/edit.c -@@ -21,8 +21,6 @@ static char rcsid[] = "@(#)$Id: edit.c,v - #include <errno.h> - #include "me.h" - --extern int errno; -- - char *error_description(); - long bytes(); - diff --git a/mail/elm-me/patches/patch-ba b/mail/elm-me/patches/patch-ba deleted file mode 100644 index fb046e21da6..00000000000 --- a/mail/elm-me/patches/patch-ba +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ba,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/editmsg.c.orig 2006-01-24 17:18:32.000000000 +0000 -+++ src/editmsg.c -@@ -28,7 +28,6 @@ long fsize(); - /* The built-in editor is not re-entrant! */ - static int builtin_editor_active = FALSE; - static char *simple_continue = NULL; --extern int errno; - - int interrupts_while_editing; /* keep track 'o dis stuff */ - JMP_BUF edit_location; /* for getting back from interrupt */ diff --git a/mail/elm-me/patches/patch-bc b/mail/elm-me/patches/patch-bc deleted file mode 100644 index 957299636ce..00000000000 --- a/mail/elm-me/patches/patch-bc +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bc,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/file.c.orig 2006-01-24 17:19:36.000000000 +0000 -+++ src/file.c -@@ -28,8 +28,6 @@ static char rcsid[] = "@(#)$Id: file.c,v - - DEBUG_VAR(Debug,__FILE__,"mbox"); - --extern int errno; -- - static int save_message P_((int number, - struct folder_browser * XXX, - struct string * name, diff --git a/mail/elm-me/patches/patch-bd b/mail/elm-me/patches/patch-bd deleted file mode 100644 index e4baef96ed4..00000000000 --- a/mail/elm-me/patches/patch-bd +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bd,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/file_util.c.orig 2006-01-24 17:20:01.000000000 +0000 -+++ src/file_util.c -@@ -22,8 +22,6 @@ static char rcsid[] = "@(#)$Id: file_uti - - DEBUG_VAR(Debug,__FILE__,"mbox"); - --extern int errno; /* system error number */ -- - char *error_description(), *getlogin(); - long fsize(); - diff --git a/mail/elm-me/patches/patch-be b/mail/elm-me/patches/patch-be deleted file mode 100644 index fbf19e1e2cc..00000000000 --- a/mail/elm-me/patches/patch-be +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-be,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/fileio.c.orig 2006-01-24 17:22:00.000000000 +0000 -+++ src/fileio.c -@@ -25,8 +25,6 @@ DEBUG_VAR(Debug,__FILE__,"mbox"); - DEBUG_VAR(PgpDebug,__FILE__,"pgp"); - DEBUG_VAR(MimeDebug,__FILE__,"mime"); - --extern int errno; -- - char *error_description(); - - #ifdef USE_PGP diff --git a/mail/elm-me/patches/patch-bf b/mail/elm-me/patches/patch-bf deleted file mode 100644 index 7b5c18a3e0e..00000000000 --- a/mail/elm-me/patches/patch-bf +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bf,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/forms.c.orig 2006-01-24 17:26:00.000000000 +0000 -+++ src/forms.c -@@ -44,8 +44,6 @@ static char rcsid[] = "@(#)$Id: forms.c, - - DEBUG_VAR(Debug,__FILE__,"misc"); - --extern int errno; -- - char *error_description(); - - static void prompt_for_sized_entry P_((char *prompt, char *buffer, diff --git a/mail/elm-me/patches/patch-bg b/mail/elm-me/patches/patch-bg deleted file mode 100644 index a2af8c7db25..00000000000 --- a/mail/elm-me/patches/patch-bg +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-bg,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/in_utils.c.orig 2006-01-24 17:27:11.000000000 +0000 -+++ src/in_utils.c -@@ -35,7 +35,6 @@ static char *us2s(str) - return (char *)str; - } - --extern int errno; /* system error number */ - extern int tabspacing; - - unsigned alarm(); diff --git a/mail/elm-me/patches/patch-bh b/mail/elm-me/patches/patch-bh deleted file mode 100644 index 40e28f473df..00000000000 --- a/mail/elm-me/patches/patch-bh +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-bh,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/init.c.orig 2006-01-24 17:29:29.000000000 +0000 -+++ src/init.c -@@ -62,7 +62,6 @@ static int tcgetattr P_((int,term_buff * - - #include <errno.h> - --extern int errno; /* system error number on failure */ - extern char version_buff[]; - - char *error_description(); diff --git a/mail/elm-me/patches/patch-bi b/mail/elm-me/patches/patch-bi deleted file mode 100644 index a702484bd60..00000000000 --- a/mail/elm-me/patches/patch-bi +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bi,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/leavembox.c.orig 2006-01-24 17:29:55.000000000 +0000 -+++ src/leavembox.c -@@ -34,8 +34,6 @@ DEBUG_VAR(Debug,__FILE__,"mbox"); - #endif - #include <errno.h> - --extern int errno; -- - char *error_description(); - - static void block_signals P_((void)); diff --git a/mail/elm-me/patches/patch-bj b/mail/elm-me/patches/patch-bj deleted file mode 100644 index c9165d5366c..00000000000 --- a/mail/elm-me/patches/patch-bj +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bj,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/lock.c.orig 2006-01-24 17:30:18.000000000 +0000 -+++ src/lock.c -@@ -27,8 +27,6 @@ static char rcsid[] = "@(#)$Id: lock.c,v - #endif - #include <errno.h> - --extern int errno; -- - char *error_description(); - - extern char *mk_lockname(); diff --git a/mail/elm-me/patches/patch-bk b/mail/elm-me/patches/patch-bk deleted file mode 100644 index ca592a7e2ab..00000000000 --- a/mail/elm-me/patches/patch-bk +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-bk,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/mailmsg2.c.orig 2006-01-24 17:30:38.000000000 +0000 -+++ src/mailmsg2.c -@@ -38,7 +38,6 @@ static unsigned char *s2us(str) - } - - --extern int errno; - extern char version_buff[]; - - char *error_description(); diff --git a/mail/elm-me/patches/patch-bl b/mail/elm-me/patches/patch-bl deleted file mode 100644 index fd4bd93efc1..00000000000 --- a/mail/elm-me/patches/patch-bl +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bl,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/metapager.c.orig 2006-01-24 17:31:10.000000000 +0000 -+++ src/metapager.c -@@ -15,8 +15,6 @@ static char rcsid[] = "@(#)$Id: metapage - - DEBUG_VAR(Debug,__FILE__,"ui"); - --extern int errno; -- - static unsigned char *s2us P_((char *str)); - static unsigned char *s2us(str) - char *str; diff --git a/mail/elm-me/patches/patch-bm b/mail/elm-me/patches/patch-bm deleted file mode 100644 index 8113cbea62d..00000000000 --- a/mail/elm-me/patches/patch-bm +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-bm,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/newmbox.c.orig 2006-01-24 17:31:39.000000000 +0000 -+++ src/newmbox.c -@@ -21,7 +21,6 @@ DEBUG_VAR(Debug,__FILE__,"mbox"); - #include <errno.h> - - #include "me.h" /* for defination of null_decode and text_decode */ --extern int errno; - - char *error_description(); - long bytes(); diff --git a/mail/elm-me/patches/patch-bn b/mail/elm-me/patches/patch-bn deleted file mode 100644 index f3100713da8..00000000000 --- a/mail/elm-me/patches/patch-bn +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bn,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/pattern.c.orig 2006-01-24 17:32:44.000000000 +0000 -+++ src/pattern.c -@@ -31,8 +31,6 @@ static unsigned char *s2us(str) - static char pattern[SLEN] = { "" }; - static char alt_pattern[SLEN] = { "" }; - --extern int errno; -- - char *error_description(), *shift_lower(); - static char *tag_word = NULL; - static char *tagged_word = NULL; diff --git a/mail/elm-me/patches/patch-bo b/mail/elm-me/patches/patch-bo deleted file mode 100644 index 6ef1f9a16b8..00000000000 --- a/mail/elm-me/patches/patch-bo +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bo,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/quit.c.orig 2006-01-24 17:33:28.000000000 +0000 -+++ src/quit.c -@@ -29,8 +29,6 @@ static char *us2s(str) - return (char *)str; - } - --extern int errno; /* system error number on failure */ -- - long bytes(); - char *error_description(); - diff --git a/mail/elm-me/patches/patch-bp b/mail/elm-me/patches/patch-bp deleted file mode 100644 index 8a9540b5711..00000000000 --- a/mail/elm-me/patches/patch-bp +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-bp,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/read_rc.c.orig 2006-01-24 17:34:34.000000000 +0000 -+++ src/read_rc.c -@@ -96,7 +96,6 @@ OR: - DEBUG_VAR(Debug,__FILE__,"config"); - - extern opts_menu *find_cfg_opts(); --extern int errno; - - char *error_description(), *shift_lower(), *mode_to_str(); - diff --git a/mail/elm-me/patches/patch-bq b/mail/elm-me/patches/patch-bq deleted file mode 100644 index 93746576ada..00000000000 --- a/mail/elm-me/patches/patch-bq +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bq,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/remail.c.orig 2006-01-24 17:35:37.000000000 +0000 -+++ src/remail.c -@@ -24,8 +24,6 @@ static char rcsid[] = "@(#)$Id: remail.c - - DEBUG_VAR(Debug,__FILE__,"mail"); - --extern int errno; -- - char *error_description(); - extern void display_to(); - diff --git a/mail/elm-me/patches/patch-br b/mail/elm-me/patches/patch-br deleted file mode 100644 index 278f382c975..00000000000 --- a/mail/elm-me/patches/patch-br +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-br,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/reply.c.orig 2006-01-24 17:36:10.000000000 +0000 -+++ src/reply.c -@@ -37,8 +37,6 @@ static char *us2s(str) - - char *get_token(); - --extern int errno; -- - char *error_description(); - - /* Prototype */ diff --git a/mail/elm-me/patches/patch-bs b/mail/elm-me/patches/patch-bs deleted file mode 100644 index 4fa39cb5e3b..00000000000 --- a/mail/elm-me/patches/patch-bs +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-bs,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/save_opts.c.orig 2006-01-24 17:36:31.000000000 +0000 -+++ src/save_opts.c -@@ -30,7 +30,6 @@ DEBUG_VAR(Debug,__FILE__,"config"); - - #define absolute(x) ((x) < 0? -(x) : (x)) - --extern int errno; - extern char version_buff[]; - - char *error_description(), *sort_name(), *alias_sort_name(), *level_name(); diff --git a/mail/elm-me/patches/patch-bt b/mail/elm-me/patches/patch-bt deleted file mode 100644 index 2a88be78806..00000000000 --- a/mail/elm-me/patches/patch-bt +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bt,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/savecopy.c.orig 2006-01-24 17:36:52.000000000 +0000 -+++ src/savecopy.c -@@ -26,8 +26,6 @@ DEBUG_VAR(Debug,__FILE__,"mbox"); - - char *error_description(), *ctime(); - --extern int errno; -- - static unsigned char * s2us P_((char *str)); - static unsigned char * s2us(str) - char *str; diff --git a/mail/elm-me/patches/patch-bu b/mail/elm-me/patches/patch-bu deleted file mode 100644 index 9295cc729ca..00000000000 --- a/mail/elm-me/patches/patch-bu +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bu,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/showmsg.c.orig 2006-01-24 17:37:17.000000000 +0000 -+++ src/showmsg.c -@@ -22,8 +22,6 @@ static char rcsid[] = "@(#)$Id: showmsg. - - DEBUG_VAR(Debug,__FILE__,"ui"); - --extern int errno; -- - int pipe_abort = FALSE; /* not used anymore, but won't compile without it */ - - static int need_meta (hdr) diff --git a/mail/elm-me/patches/patch-bw b/mail/elm-me/patches/patch-bw deleted file mode 100644 index 89c8cca3b46..00000000000 --- a/mail/elm-me/patches/patch-bw +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bw,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/utils.c.orig 2006-01-24 17:40:08.000000000 +0000 -+++ src/utils.c -@@ -22,8 +22,6 @@ static char rcsid[] = "@(#)$Id: utils.c, - - DEBUG_VAR(Debug,__FILE__,"ELM"); - --extern int errno; -- - void create_new_folders() - { - /* this creates a new folders directory */ diff --git a/mail/elm-me/patches/patch-bx b/mail/elm-me/patches/patch-bx deleted file mode 100644 index aeaf7bd1684..00000000000 --- a/mail/elm-me/patches/patch-bx +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-bx,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/mime.c.orig 2006-01-24 17:41:13.000000000 +0000 -+++ src/mime.c -@@ -11,15 +11,13 @@ static char rcsid[] = "@(#)$Id: mime.c,v - * Copyright (c) 1986,1987 Dave Taylor - *****************************************************************************/ - -- -+#include <errno.h> - #include "headers.h" - #include "s_elm.h" - #include "me.h" - - DEBUG_VAR(Debug,__FILE__,"mime"); - --extern int errno; -- - static unsigned char *s2us P_((char *str)); - static unsigned char *s2us(str) - char *str; diff --git a/mail/elm-me/patches/patch-by b/mail/elm-me/patches/patch-by deleted file mode 100644 index 207d8a90574..00000000000 --- a/mail/elm-me/patches/patch-by +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-by,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- src/builtin++.c.orig 2006-01-24 17:40:58.000000000 +0000 -+++ src/builtin++.c -@@ -8,13 +8,13 @@ static char rcsid[] = "@(#)$Id: builtin+ - * Initially written by: Michael Elkins <elkins@aero.org>, 1995 - *****************************************************************************/ - -+#include <errno.h> - #include "headers.h" - #include "me.h" - #include "s_elm.h" - - DEBUG_VAR(Debug,__FILE__,"ui"); - --extern int errno; - extern int tabspacing; - - static void builtin_help P_((void)); diff --git a/mail/elm-me/patches/patch-bz b/mail/elm-me/patches/patch-bz deleted file mode 100644 index bc5f81a2e0b..00000000000 --- a/mail/elm-me/patches/patch-bz +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-bz,v 1.1 2006/01/24 19:01:45 joerg Exp $ - ---- lib/posixsig.c.orig 2006-01-24 17:44:47.000000000 +0000 -+++ lib/posixsig.c -@@ -15,6 +15,7 @@ static char rcsid[] = "@(#)$Id: posixsig - - **/ - -+#include <errno.h> - #include "headers.h" - - DEBUG_VAR(Debug,__FILE__,"signal"); -@@ -67,8 +68,6 @@ SIGHAND_TYPE - } - #endif /* POSIX_SIGNALS */ - --extern int errno; -- - #ifdef BACKGROUD_PROCESSES /* We assume POSIX in here */ - - int my_wait (pid,statptr) |