aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2010-01-13 19:30:19 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2010-01-13 19:30:19 +0000
commit78b228a373109c4ce6ced0a39d3d42280fb8e0be (patch)
tree34e4d556a601e3bbd0f072c9d5d4ba318d0ec692 /shells
parentc044e7dcacec54cea73a80cc697c15505c6794cd (diff)
downloadports-78b228a373109c4ce6ced0a39d3d42280fb8e0be.tar.gz
ports-78b228a373109c4ce6ced0a39d3d42280fb8e0be.zip
Notes
Diffstat (limited to 'shells')
-rw-r--r--shells/fish/Makefile1
-rw-r--r--shells/fish/files/patch-util.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/shells/fish/Makefile b/shells/fish/Makefile
index 327c3db1e8c2..2f5e1671722f 100644
--- a/shells/fish/Makefile
+++ b/shells/fish/Makefile
@@ -7,6 +7,7 @@
PORTNAME= fish
PORTVERSION= 1.23.1
+PORTREVISION= 1
CATEGORIES= shells
MASTER_SITES= SF
diff --git a/shells/fish/files/patch-util.c b/shells/fish/files/patch-util.c
new file mode 100644
index 000000000000..8e7150165042
--- /dev/null
+++ b/shells/fish/files/patch-util.c
@@ -0,0 +1,14 @@
+
+--- util.c.orig 2010-01-13 06:44:46.000000000 -0800
++++ util.c 2010-01-13 06:46:39.000000000 -0800
+@@ -320,7 +320,7 @@
+ {
+ int pos;
+
+- if( (float)(h->count+1)/h->size > 0.75f )
++ if( (float)(h->count+1) > 0.75f * h->size )
+ {
+ if( !hash_realloc( h, (h->size+1) * 2 -1 ) )
+ {
+
+