Hello,

since the pinfo update I have submitted a couple of weeks ago hasn't been committed and now the soft lock is in effect, I am now submitting only the fix for the damned crashing bug (especially when trying to view the "Autoconf Macro Index" in autoconf-2.61) that keeps biting me. The attached patch bumps PKGNAME, adds patches/patch-src_video_c and otherwise contains the result of "make update-patches", nothing else.


Moritz
Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/pinfo/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile    7 Dec 2004 00:23:23 -0000       1.3
+++ Makefile    2 Aug 2007 22:34:43 -0000
@@ -3,6 +3,7 @@
 COMMENT="info viewer"
 MAINTAINER=Marc Espie <[EMAIL PROTECTED]>
 DISTNAME=pinfo-0.6.7
+PKGNAME=${DISTNAME}p0
 CATEGORIES=textproc devel
 
 # original distsite is currently unavailable
Index: patches/patch-config_h_in
===================================================================
RCS file: /cvs/ports/textproc/pinfo/patches/patch-config_h_in,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-config_h_in
--- patches/patch-config_h_in   8 Jul 2003 16:23:47 -0000       1.1.1.1
+++ patches/patch-config_h_in   2 Aug 2007 22:34:43 -0000
@@ -1,13 +1,13 @@
 $OpenBSD: patch-config_h_in,v 1.1.1.1 2003/07/08 16:23:47 espie Exp $
---- config.h.in.orig   Wed Jul  2 12:06:59 2003
-+++ config.h.in        Wed Jul  2 12:07:23 2003
-@@ -163,6 +163,9 @@
- /* Define if you have the strdup function.  */
- #undef HAVE_STRDUP
+--- config.h.in.orig   Sun Jul 15 13:56:08 2001
++++ config.h.in        Fri Aug  3 00:28:08 2007
+@@ -136,6 +136,9 @@
+ /* Define if you have the mempcpy function.  */
+ #undef HAVE_MEMPCPY
  
 +/* Define if you have the mkstemp function.  */
 +#undef HAVE_MKSTEMP
 +
- /* Define if you have the strtoul function.  */
- #undef HAVE_STRTOUL
+ /* Define if you have the munmap function.  */
+ #undef HAVE_MUNMAP
  
Index: patches/patch-src_utils_h
===================================================================
RCS file: /cvs/ports/textproc/pinfo/patches/patch-src_utils_h,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-src_utils_h
--- patches/patch-src_utils_h   8 Jul 2003 16:23:47 -0000       1.1.1.1
+++ patches/patch-src_utils_h   2 Aug 2007 22:34:43 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-src_utils_h,v 1.1.1.1 2003/07/08 16:23:47 espie Exp $
---- src/utils.h.orig   Wed Jul  2 12:05:36 2003
-+++ src/utils.h        Wed Jul  2 12:05:48 2003
-@@ -51,4 +51,5 @@ void waitforgetch ();                /* Block until so
+--- src/utils.h.orig   Wed Feb  6 20:16:23 2002
++++ src/utils.h        Fri Aug  3 00:28:07 2007
+@@ -51,4 +51,5 @@ void waitforgetch ();                /* Block until 
something's on S
  
  extern int curses_open;               /* is curses screen open? */
  
Index: patches/patch-src_video_c
===================================================================
RCS file: patches/patch-src_video_c
diff -N patches/patch-src_video_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_video_c   2 Aug 2007 22:34:43 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- src/video.c.orig   Fri Aug  3 00:28:34 2007
++++ src/video.c        Fri Aug  3 00:30:24 2007
+@@ -67,6 +67,8 @@ showscreen (char **message, char *type, long lines, lo
+   for (i = pos; (i < lines) && (i < pos + maxy - 2); i++)
+     {
+       int tmp = strlen (message[i]) - 1;
++      if (tmp < 0)
++        continue;
+       message[i][tmp] = 0;
+       if(tmp>column)
+         mvaddstr (i + 1 - pos, 0, message[i]+column);

Reply via email to