aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2004-09-29 22:21:49 +0000
committerCy Schubert <cy@FreeBSD.org>2004-09-29 22:21:49 +0000
commita2d28759eac7dbf88ec76791b4b8e9eca9d8c8a8 (patch)
tree38859a2e6c2ae5e683a4552b114d8cbef3afe67d /x11
parent42aca1ba7518c6d733ee13c3d1d743ee3c9e1786 (diff)
downloadports-a2d28759eac7dbf88ec76791b4b8e9eca9d8c8a8.tar.gz
ports-a2d28759eac7dbf88ec76791b4b8e9eca9d8c8a8.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/xcut/Makefile1
-rw-r--r--x11/xcut/files/patch-xcut.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11/xcut/Makefile b/x11/xcut/Makefile
index 238a5356fe5c..de51d3a1f7a2 100644
--- a/x11/xcut/Makefile
+++ b/x11/xcut/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xcut
PORTVERSION= 0.2
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://download.sourceforge.net/xcut/ \
http://acsys.anu.edu.au/~tpot/xcut/
diff --git a/x11/xcut/files/patch-xcut.c b/x11/xcut/files/patch-xcut.c
new file mode 100644
index 000000000000..7c41a1529fde
--- /dev/null
+++ b/x11/xcut/files/patch-xcut.c
@@ -0,0 +1,11 @@
+--- xcut.c.orig Mon Sep 20 22:55:33 1999
++++ xcut.c Wed Sep 29 09:50:24 2004
+@@ -94,7 +94,7 @@
+ /* Send data to stdout */
+
+ do {
+- num_written += write(STDOUT_FILENO, buffer, nbytes - num_written);
++ num_written += write(STDOUT_FILENO, buffer + num_written, nbytes - num_written);
+ } while (num_written < nbytes);
+
+ /* Clean up */