summaryrefslogtreecommitdiff
path: root/www/w3m/patches
diff options
context:
space:
mode:
authoritohy <itohy>2000-05-19 07:34:33 +0000
committeritohy <itohy>2000-05-19 07:34:33 +0000
commit73958f73332f82107226fdc05af5e071c03d4ab7 (patch)
treeefd919535e13f88e98e0476079c3dd4a53aaa7bf /www/w3m/patches
parenta667bf82d489275301ac0fd9d365e10f74f3d8ac (diff)
downloadpkgsrc-73958f73332f82107226fdc05af5e071c03d4ab7.tar.gz
Update to 0.1.9.
Mainly bug fixes, it seems....
Diffstat (limited to 'www/w3m/patches')
-rw-r--r--www/w3m/patches/patch-aa10
-rw-r--r--www/w3m/patches/patch-ab67
2 files changed, 33 insertions, 44 deletions
diff --git a/www/w3m/patches/patch-aa b/www/w3m/patches/patch-aa
index 5df13e900e3..1a91571c191 100644
--- a/www/w3m/patches/patch-aa
+++ b/www/w3m/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.3 2000/04/21 03:54:44 itohy Exp $
+$NetBSD: patch-aa,v 1.4 2000/05/19 07:34:35 itohy Exp $
---- configure.orig Thu Apr 6 10:20:35 2000
-+++ configure Fri Apr 21 00:31:12 2000
-@@ -258,13 +258,13 @@
+--- configure.orig Fri Apr 21 12:37:24 2000
++++ configure Fri May 19 12:36:25 2000
+@@ -309,13 +309,13 @@
echo "Which language do you prefer?"
echo " 1 - Japanese (charset ISO-2022-JP, EUC-JP, Shift_JIS)"
echo " 2 - English (charset US_ASCII, ISO-8859-1, etc.)"
@@ -23,7 +23,7 @@ $NetBSD: patch-aa,v 1.3 2000/04/21 03:54:44 itohy Exp $
while :
do
readanswer lg_ans "$def_lg"
-@@ -691,14 +691,14 @@
+@@ -774,14 +774,14 @@
gclib=''
gcinclude=''
gctarget=''
diff --git a/www/w3m/patches/patch-ab b/www/w3m/patches/patch-ab
index d5c903a089a..ab01146b6a6 100644
--- a/www/w3m/patches/patch-ab
+++ b/www/w3m/patches/patch-ab
@@ -1,49 +1,38 @@
-$NetBSD: patch-ab,v 1.4 2000/04/21 03:54:44 itohy Exp $
+$NetBSD: patch-ab,v 1.5 2000/05/19 07:34:35 itohy Exp $
Fix problems where:
1. Suspend the job w3m belongs to, not w3m only.
2. Automatic creation of ~/.w3m fails.
- 3. "w3m ." using internal listing function, select a file, and w3m crashes.
---- main.c.orig Thu Apr 6 10:25:00 2000
-+++ main.c Fri Apr 21 01:06:37 2000
-@@ -139,9 +139,8 @@
+--- main.c.orig Fri Apr 21 12:45:53 2000
++++ main.c Fri May 19 12:40:52 2000
+@@ -145,9 +145,8 @@
- BookmarkFile = NULL;
- rc_dir = expandName(RC_DIR);
-- i = strlen(rc_dir);
-- if (i > 1 && rc_dir[i] == '/')
-- rc_dir[i] = '\0';
-+ for (p = rc_dir + strlen(rc_dir) - 1; p > rc_dir && *p == '/'; p--)
-+ *p = '\0';
- config_file = rcFile("config");
+ BookmarkFile = NULL;
+ rc_dir = expandName(RC_DIR);
+- i = strlen(rc_dir);
+- if (i > 1 && rc_dir[i] == '/')
+- rc_dir[i] = '\0';
++ for (p = rc_dir + strlen(rc_dir) - 1; p > rc_dir && *p == '/'; p--)
++ *p = '\0';
+ config_file = rcFile("config");
- /* argument search 1 */
-@@ -1357,7 +1356,17 @@
- shell = "/bin/sh";
- system(shell);
- #else /* SIGSTOP */
+ /* argument search 1 */
+@@ -1427,7 +1426,17 @@
+ shell = "/bin/sh";
+ system(shell);
+ #else /* SIGSTOP */
+#ifdef SIGTSTP /* BSD */
-+ signal(SIGTSTP, SIG_DFL); /* just in case */
-+ /*
-+ * Note: If susp() was called from SIGTSTP handler,
-+ * unblocking SIGTSTP would be required here.
-+ * Currently not.
-+ */
-+ kill(0, SIGTSTP); /* stop whole job, not a single process */
++ signal(SIGTSTP, SIG_DFL); /* just in case */
++ /*
++ * Note: If susp() was called from SIGTSTP handler,
++ * unblocking SIGTSTP would be required here.
++ * Currently not.
++ */
++ kill(0, SIGTSTP); /* stop whole job, not a single process */
+#else
- kill(getpid(), SIGSTOP);
+ kill(getpid(), SIGSTOP);
+#endif
- #endif /* SIGSTOP */
- fmInit();
- displayBuffer(Currentbuf, B_FORCE_REDRAW);
-@@ -1758,7 +1767,8 @@
- parseURL2(a->url,&u,baseURL(Currentbuf));
- if (u.scheme == Currentbuf->currentURL.scheme &&
- u.port == Currentbuf->currentURL.port &&
-- strcasecmp(u.host,Currentbuf->currentURL.host) == 0 &&
-+ (u.host == Currentbuf->currentURL.host ||
-+ strcasecmp(u.host,Currentbuf->currentURL.host) == 0) &&
- strcmp(u.file,Currentbuf->currentURL.file) == 0) {
- /* index within this buffer */
- local_label = u.label;
+ #endif /* SIGSTOP */
+ fmInit();
+ displayBuffer(Currentbuf, B_FORCE_REDRAW);