aboutsummaryrefslogtreecommitdiff
path: root/comms/gnokii
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-02-04 07:56:26 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-02-04 07:56:26 +0000
commitd7a50524698e8de8d9b3e76d2edcaa3cd4863aa7 (patch)
tree8b83789dfd52bfa7b7ef6d5e6f43a6c5b4349a3a /comms/gnokii
parent064f841c5b415dcfdf569a2532c3f1df9932c9b0 (diff)
downloadports-d7a50524698e8de8d9b3e76d2edcaa3cd4863aa7.tar.gz
ports-d7a50524698e8de8d9b3e76d2edcaa3cd4863aa7.zip
Notes
Diffstat (limited to 'comms/gnokii')
-rw-r--r--comms/gnokii/Makefile1
-rw-r--r--comms/gnokii/files/patch-gnokii-gnokii.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/comms/gnokii/Makefile b/comms/gnokii/Makefile
index e9ca23002ad4..cde2a72811e3 100644
--- a/comms/gnokii/Makefile
+++ b/comms/gnokii/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnokii
PORTVERSION= 0.6.27
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= comms
MASTER_SITES= http://www.gnokii.org/download/gnokii/ \
diff --git a/comms/gnokii/files/patch-gnokii-gnokii.c b/comms/gnokii/files/patch-gnokii-gnokii.c
new file mode 100644
index 000000000000..dd16da5aed4b
--- /dev/null
+++ b/comms/gnokii/files/patch-gnokii-gnokii.c
@@ -0,0 +1,11 @@
+--- gnokii/gnokii.c.orig 2009-02-03 23:23:35.000000000 +0100
++++ gnokii/gnokii.c 2009-02-03 23:24:01.000000000 +0100
+@@ -1082,7 +1082,7 @@
+ else
+ len = strlen(input);
+ if (len > 0)
+- argv[argc++] = strndup(input, len);
++ argv[argc++] = strdup(input);
+ input = tmp;
+ } while (input);
+ argv[argc] = NULL;