Fix an index bug and update HOMEPAGE and MASTERSITES.
From: Matthias Kilian <kili@outback.escape.de>
This commit is contained in:
parent
c5695d9969
commit
eba19c9b08
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2004/12/19 17:36:32 alek Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2005/11/13 13:19:23 naddy Exp $
|
||||
|
||||
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 <bsd@openbsd.rutgers.edu>
|
||||
|
||||
@ -16,7 +16,7 @@ PERMIT_DISTFILES_CDROM= Yes
|
||||
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
|
||||
|
12
x11/ratpoison/patches/patch-src_editor_c
Normal file
12
x11/ratpoison/patches/patch-src_editor_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_editor_c,v 1.1 2005/11/13 13:19:23 naddy Exp $
|
||||
--- 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);
|
Loading…
x
Reference in New Issue
Block a user