pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/elm-me Nuked 45 patches that were all doing the s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/752e53ae3942
branches: trunk
changeset: 537264:752e53ae3942
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Jan 05 19:21:00 2008 +0000
description:
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:
mail/elm-me/Makefile | 8 ++++++-
mail/elm-me/distinfo | 49 +------------------------------------------
mail/elm-me/patches/patch-ad | 11 +--------
mail/elm-me/patches/patch-af | 13 -----------
mail/elm-me/patches/patch-ag | 13 -----------
mail/elm-me/patches/patch-ah | 12 ----------
mail/elm-me/patches/patch-ai | 13 -----------
mail/elm-me/patches/patch-aj | 12 ----------
mail/elm-me/patches/patch-ak | 12 ----------
mail/elm-me/patches/patch-al | 12 ----------
mail/elm-me/patches/patch-am | 12 ----------
mail/elm-me/patches/patch-an | 12 ----------
mail/elm-me/patches/patch-ao | 12 ----------
mail/elm-me/patches/patch-ap | 12 ----------
mail/elm-me/patches/patch-aq | 12 ----------
mail/elm-me/patches/patch-ar | 12 ----------
mail/elm-me/patches/patch-as | 12 ----------
mail/elm-me/patches/patch-at | 12 ----------
mail/elm-me/patches/patch-au | 13 -----------
mail/elm-me/patches/patch-av | 13 -----------
mail/elm-me/patches/patch-aw | 12 ----------
mail/elm-me/patches/patch-ax | 13 -----------
mail/elm-me/patches/patch-ay | 13 -----------
mail/elm-me/patches/patch-az | 13 -----------
mail/elm-me/patches/patch-ba | 12 ----------
mail/elm-me/patches/patch-bc | 13 -----------
mail/elm-me/patches/patch-bd | 13 -----------
mail/elm-me/patches/patch-be | 13 -----------
mail/elm-me/patches/patch-bf | 13 -----------
mail/elm-me/patches/patch-bg | 12 ----------
mail/elm-me/patches/patch-bh | 12 ----------
mail/elm-me/patches/patch-bi | 13 -----------
mail/elm-me/patches/patch-bj | 13 -----------
mail/elm-me/patches/patch-bk | 12 ----------
mail/elm-me/patches/patch-bl | 13 -----------
mail/elm-me/patches/patch-bm | 12 ----------
mail/elm-me/patches/patch-bn | 13 -----------
mail/elm-me/patches/patch-bo | 13 -----------
mail/elm-me/patches/patch-bp | 12 ----------
mail/elm-me/patches/patch-bq | 13 -----------
mail/elm-me/patches/patch-br | 13 -----------
mail/elm-me/patches/patch-bs | 12 ----------
mail/elm-me/patches/patch-bt | 13 -----------
mail/elm-me/patches/patch-bu | 13 -----------
mail/elm-me/patches/patch-bw | 13 -----------
mail/elm-me/patches/patch-bx | 21 ------------------
mail/elm-me/patches/patch-by | 19 -----------------
mail/elm-me/patches/patch-bz | 21 ------------------
48 files changed, 10 insertions(+), 645 deletions(-)
diffs (truncated from 876 to 300 lines):
diff -r e5b47652be50 -r 752e53ae3942 mail/elm-me/Makefile
--- a/mail/elm-me/Makefile Sat Jan 05 18:41:02 2008 +0000
+++ b/mail/elm-me/Makefile Sat Jan 05 19:21:00 2008 +0000
@@ -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 @@
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 -r e5b47652be50 -r 752e53ae3942 mail/elm-me/distinfo
--- a/mail/elm-me/distinfo Sat Jan 05 18:41:02 2008 +0000
+++ b/mail/elm-me/distinfo Sat Jan 05 19:21:00 2008 +0000
@@ -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 @@
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 -r e5b47652be50 -r 752e53ae3942 mail/elm-me/patches/patch-ad
--- a/mail/elm-me/patches/patch-ad Sat Jan 05 18:41:02 2008 +0000
+++ b/mail/elm-me/patches/patch-ad Sat Jan 05 19:21:00 2008 +0000
@@ -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 -r e5b47652be50 -r 752e53ae3942 mail/elm-me/patches/patch-af
--- a/mail/elm-me/patches/patch-af Sat Jan 05 18:41:02 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e5b47652be50 -r 752e53ae3942 mail/elm-me/patches/patch-ag
--- a/mail/elm-me/patches/patch-ag Sat Jan 05 18:41:02 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e5b47652be50 -r 752e53ae3942 mail/elm-me/patches/patch-ah
--- a/mail/elm-me/patches/patch-ah Sat Jan 05 18:41:02 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e5b47652be50 -r 752e53ae3942 mail/elm-me/patches/patch-ai
--- a/mail/elm-me/patches/patch-ai Sat Jan 05 18:41:02 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e5b47652be50 -r 752e53ae3942 mail/elm-me/patches/patch-aj
--- a/mail/elm-me/patches/patch-aj Sat Jan 05 18:41:02 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e5b47652be50 -r 752e53ae3942 mail/elm-me/patches/patch-ak
--- a/mail/elm-me/patches/patch-ak Sat Jan 05 18:41:02 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e5b47652be50 -r 752e53ae3942 mail/elm-me/patches/patch-al
--- a/mail/elm-me/patches/patch-al Sat Jan 05 18:41:02 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e5b47652be50 -r 752e53ae3942 mail/elm-me/patches/patch-am
--- a/mail/elm-me/patches/patch-am Sat Jan 05 18:41:02 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e5b47652be50 -r 752e53ae3942 mail/elm-me/patches/patch-an
--- a/mail/elm-me/patches/patch-an Sat Jan 05 18:41:02 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e5b47652be50 -r 752e53ae3942 mail/elm-me/patches/patch-ao
--- a/mail/elm-me/patches/patch-ao Sat Jan 05 18:41:02 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e5b47652be50 -r 752e53ae3942 mail/elm-me/patches/patch-ap
--- a/mail/elm-me/patches/patch-ap Sat Jan 05 18:41:02 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e5b47652be50 -r 752e53ae3942 mail/elm-me/patches/patch-aq
--- a/mail/elm-me/patches/patch-aq Sat Jan 05 18:41:02 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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>
Home |
Main Index |
Thread Index |
Old Index