update: x11/ratpoison

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

update: x11/ratpoison

Matthias Kilian
This fixes an index bug in ratpoison and updates HOMEPAGE and
MASTERSITES (ratpoison has moved).

MAINTAINER said it's o.k.

Ciao,
        Kili

diff -x CVS -rNu ../ratpoison/Makefile ./Makefile
--- ../ratpoison/Makefile Mon Dec 20 09:16:05 2004
+++ ./Makefile Wed Nov  9 23:22:47 2005
@@ -3,9 +3,9 @@
 COMMENT= "minimal wm based on GNU screen"
 
 DISTNAME= ratpoison-1.3.0
-PKGNAME= ${DISTNAME}p0
+PKGNAME= ${DISTNAME}p1
 CATEGORIES= x11
-HOMEPAGE= http://ratpoison.sourceforge.net/
+HOMEPAGE= http://www.nongnu.org/ratpoison/
 
 MAINTAINER= William Yodlowsky <[hidden email]>
 
@@ -16,7 +16,7 @@
 PERMIT_DISTFILES_FTP= Yes
 WANTLIB= X11 Xext Xinerama c
 
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ratpoison/} \
+MASTER_SITES= http://savannah.nongnu.org/download/ratpoison/ \
  http://openbsd.rutgers.edu/
 
 USE_X11= Yes
diff -x CVS -rNu ../ratpoison/patches/patch-src_editor_c ./patches/patch-src_editor_c
--- ../ratpoison/patches/patch-src_editor_c Thu Jan  1 01:00:00 1970
+++ ./patches/patch-src_editor_c Wed Nov  9 19:51:04 2005
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- src/editor.c.orig Fri Feb 27 08:26:03 2004
++++ src/editor.c Wed Nov  9 19:50:46 2005
+@@ -406,7 +406,7 @@ editor_insert (rp_input_line *line, char
+       line->buffer = xrealloc (line->buffer, line->size);
+     }
+
+-  for (i = line->length + nbytes; i > line->position; i--)
++  for (i = line->length + nbytes; i > line->position && i >= nbytes; i--)
+     line->buffer[i] = line->buffer[i - nbytes];
+
+   strncpy (&line->buffer[line->position], keysym_buf, nbytes);


--
To me vi is Zen.  To use vi is to practice zen.
Every command is a koan. Profound to the user,
unintelligible to the uninitiated. You
discover truth everytime you use it. -- Reddy