Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 1998 11:39:38 +0900 (JST)
From:      shige@kuis.kyoto-u.ac.jp
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        shige@kuis.kyoto-u.ac.jp
Subject:   ports/8647: Update port: japanese/lynx
Message-ID:  <199811110238.LAA10929@spa.kuis.kyoto-u.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         8647
>Category:       ports
>Synopsis:       Update port: japanese/lynx
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 10 18:50:00 PST 1998
>Last-Modified:
>Originator:     Shigeyuki FUKUSHIMA
>Organization:
Dept. of Information Science, Kyoto Univ., JAPAN
>Release:        FreeBSD 3.0-RELEASE i386
>Environment:

	FreeBSD 3.0-RELEASE i386
	FreeBSD 2.2.7-RELEASE i386

>Description:

	

>How-To-Repeat:

Update port: japanese/lynx

There is Bold link problem.
In case that lynx `Character set' is Japanese(EUC), 
lynx does not display `links' normally.
Therefore I prepare patches/patch-ai for lynx port.

And patches/patch-af includes the part of `don't care'.
Therefore I remove this part.
# If useing GNU patch 2.5, this part causes patch error.
# I don't know why...

Thank you.
--- shige
>Fix:

diff -urN /usr/ports/japanese/lynx/patches/patch-af lynx/patches/patch-af
--- /usr/ports/japanese/lynx/patches/patch-af	Mon Nov  2 18:08:18 1998
+++ lynx/patches/patch-af	Wed Nov 11 11:14:28 1998
@@ -462,21 +462,3 @@
      }
  }
  
-@@ -1732,7 +1993,7 @@
- 		 }
- 		if (*tmpchptr == '\0') {
- 		     break;
--	    }
-+		}
- 	    }
- 	} else if (!(IS_UTF_EXTRA(*chptr) ||
- 		      IsSpecialAttrChar(*chptr))) {
-@@ -1871,7 +2132,7 @@
- 		 }
- 		if (*tmpchptr == '\0') {
- 		     break;
--	    }
-+	    	}
- 	    }
- 	} else if (!(IS_UTF_EXTRA(*chptr) ||
- 		      IsSpecialAttrChar(*chptr))) {
diff -urN /usr/ports/japanese/lynx/patches/patch-ai lynx/patches/patch-ai
--- /usr/ports/japanese/lynx/patches/patch-ai	Thu Jan  1 09:00:00 1970
+++ lynx/patches/patch-ai	Wed Nov 11 11:26:34 1998
@@ -0,0 +1,24 @@
+--- src/LYCurses.c.orig	Wed Nov 11 11:11:52 1998
++++ src/LYCurses.c	Wed Nov 11 11:10:32 1998
+@@ -1679,6 +1679,13 @@
+ 
+ PUBLIC void lynx_force_repaint NOARGS
+ {
++/* 
++ * This code is harmful to display bold links.
++ * Already set COLOR attributes?
++ * Therefore we do not need this code.
++ *   --- by shige@kuis.kyoto-u.ac.jp
++ */
++#if 0  /* do not need */
+ #if defined(COLOR_CURSES)
+     chtype a;
+ #ifndef USE_COLOR_STYLE
+@@ -1693,6 +1700,7 @@
+ #endif
+     attrset(a);
+ #endif /* COLOR_CURSES */
++#endif /* do not need */
+     clearok(curscr, TRUE);
+ }
+ 
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811110238.LAA10929>