aboutsummaryrefslogtreecommitdiffstats
path: root/devel/readline
diff options
context:
space:
mode:
authorlaszlof <laszlof@FreeBSD.org>2007-08-24 03:26:36 +0800
committerlaszlof <laszlof@FreeBSD.org>2007-08-24 03:26:36 +0800
commit20ff92f4db26f2eb7167357a920fdd5e00207685 (patch)
tree61060e19c52d3b397369956f40af0298c4c567e7 /devel/readline
parenta44ac2fcc6c54ca15123f5af6fa298c09b4fcca3 (diff)
downloadfreebsd-ports-gnome-20ff92f4db26f2eb7167357a920fdd5e00207685.tar.gz
freebsd-ports-gnome-20ff92f4db26f2eb7167357a920fdd5e00207685.tar.zst
freebsd-ports-gnome-20ff92f4db26f2eb7167357a920fdd5e00207685.zip
Add new vender patches that addresses several bugs:
readline52-002: Readline neglects to reallocate the array it uses to keep track of wrapped screen lines when increasing its size. This will eventually result in segmentation faults when given sufficiently long input. readline52-003: When moving the cursor, bash sometimes misplaces the cursor when the prompt contains two or more multibyte characters. The particular circumstance that uncovered the problem was having the (multibyte) current directory name in the prompt string. readline52-004: When restoring the original prompt after finishing an incremental search, bash sometimes places the cursor incorrectly if the primary prompt contains invisible characters. readline52-005: When rl_read_key returns -1, indicating that readline's controlling terminal has been invalidated for some reason (e.g., receiving a SIGHUP), the error status was not reported correctly to the caller. This could cause input loops. readline52-006: The readline display code miscalculated the screen position when performing a redisplay in which the new text occupies more screen space that the old, but takes fewer bytes to do so (e.g., when replacing a shorter string containing multibyte characters with a longer one containing only ASCII). readline52-007: An off-by-one error in readline's input buffering caused readline to drop each 511th character of buffered input (e.g., when pasting a large amount of data into a terminal window).
Diffstat (limited to 'devel/readline')
-rw-r--r--devel/readline/Makefile4
-rw-r--r--devel/readline/distinfo21
2 files changed, 21 insertions, 4 deletions
diff --git a/devel/readline/Makefile b/devel/readline/Makefile
index d00d8f943eec..274c2d66ddd6 100644
--- a/devel/readline/Makefile
+++ b/devel/readline/Makefile
@@ -7,6 +7,7 @@
PORTNAME= readline
PORTVERSION= 5.2
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU} \
ftp://ftp.cwru.edu/pub/bash/
@@ -14,7 +15,8 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
PATCH_SITES= ftp://ftp.gnu.org/gnu/readline/${PORTNAME}-${PORTVERSION}-patches/ \
ftp://ftp.cwru.edu/pub/bash/${PORTNAME}-${PORTVERSION}-patches/
-PATCHFILES= readline52-001
+PATCHFILES= readline52-001 readline52-002 readline52-003 readline52-004 \
+ readline52-005 readline52-006 readline52-007
MAINTAINER= laszlof@FreeBSD.org
COMMENT= A library for editing command lines as they are typed
diff --git a/devel/readline/distinfo b/devel/readline/distinfo
index a402e38381d9..343e5d90f5aa 100644
--- a/devel/readline/distinfo
+++ b/devel/readline/distinfo
@@ -1,9 +1,24 @@
MD5 (readline-5.2.tar.gz) = e39331f32ad14009b9ff49cc10c5e751
SHA256 (readline-5.2.tar.gz) = 12e88d96aee2cd1192500356f0535540db499282ca7f76339fb4228c31249f45
SIZE (readline-5.2.tar.gz) = 2037705
-MD5 (readline-5.2.tar.gz.sig) = a12a70c20f2b0ca3ab6032544b1e7dfb
-SHA256 (readline-5.2.tar.gz.sig) = 24b9df561653bc3aee3acf7f2544dbd7a9ce744a3bb4f1ec9e8f8a7ca2c4502d
-SIZE (readline-5.2.tar.gz.sig) = 65
MD5 (readline52-001) = 9d4d41622aa9b230c57f68548ce87d8f
SHA256 (readline52-001) = eac304c369154059f93049ada328739faaf40338d3cb1fb4b544c93d5ce3f8d5
SIZE (readline52-001) = 874
+MD5 (readline52-002) = f03e512d14206e37f7d6a748b56b9476
+SHA256 (readline52-002) = 9deacaef25507a0c2ae0b661bf9342559b59a2954d66ea3c5f5bcd900fdfcf78
+SIZE (readline52-002) = 1433
+MD5 (readline52-003) = 252b42d8750f1a94b6bdf086612dceb2
+SHA256 (readline52-003) = 2a55d2ecb1c9b0147aeb193a6323616ab31c1c525a83b2db3a994b15594ba934
+SIZE (readline52-003) = 1204
+MD5 (readline52-004) = a32333c2e603a3ed250514e91050e552
+SHA256 (readline52-004) = a03b65633781efa7c3aae5d57162985e7b7a3c10acf0f2621be610e16f27e5f2
+SIZE (readline52-004) = 2192
+MD5 (readline52-005) = 8106796c09b789523a3a78ab69c04b6d
+SHA256 (readline52-005) = 06001896514148a757ea6edbbd40c4fc4331dc653847244386c37b138b150f64
+SIZE (readline52-005) = 8029
+MD5 (readline52-006) = 512188e2bf0837f7eca19dbf71f182ae
+SHA256 (readline52-006) = dfef3e982c0adf8bb5a9b7d0468ec8f5f18138b325e28759437464de5be71013
+SIZE (readline52-006) = 2820
+MD5 (readline52-007) = ac17aca62eb6fb398c9f2fe9de540aff
+SHA256 (readline52-007) = 775b028c7b761397ac6ae1bdfbac7e896dc3b9b3adc2f91312499180ca13bdd1
+SIZE (readline52-007) = 1523