summaryrefslogtreecommitdiffstats
path: root/print/gimp-print
diff options
context:
space:
mode:
authordannyboy <dannyboy@FreeBSD.org>2002-10-16 01:34:01 +0000
committerdannyboy <dannyboy@FreeBSD.org>2002-10-16 01:34:01 +0000
commit7e23580fc4f4d0d07bdaf5f1bc9d40233b06ab7e (patch)
tree696ae81cbdbef45e4b651184031c4d6e4a3d74ad /print/gimp-print
parentcbfb5285827640588a98454814a65842247b1e9b (diff)
downloadFreeBSD-ports-7e23580fc4f4d0d07bdaf5f1bc9d40233b06ab7e.zip
FreeBSD-ports-7e23580fc4f4d0d07bdaf5f1bc9d40233b06ab7e.tar.gz
Actually add patchfile for rastertoprinter.c this time.
While I'm here, fix BUILD_DEPENDS to look for an executable, it is not LIB_DEPENDS. Submitted in part by: Jeremy Prior <jez@netcraft.com>
Diffstat (limited to 'print/gimp-print')
-rw-r--r--print/gimp-print/Makefile2
-rw-r--r--print/gimp-print/files/patch-rastertoprinter10
2 files changed, 11 insertions, 1 deletions
diff --git a/print/gimp-print/Makefile b/print/gimp-print/Makefile
index c8f750d..d9e15be 100644
--- a/print/gimp-print/Makefile
+++ b/print/gimp-print/Makefile
@@ -30,7 +30,7 @@ MAN8= cups-calibrate.8
PLIST_SUB+= CUPS="@comment "
.else
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
-BUILD_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
+BUILD_DEPENDS+= cups-config:${PORTSDIR}/print/cups-base
CONFIGURE_ARGS+= --with-cups=${PREFIX}
PLIST_SUB+= CUPS=""
.endif
diff --git a/print/gimp-print/files/patch-rastertoprinter b/print/gimp-print/files/patch-rastertoprinter
new file mode 100644
index 0000000..d30be1b
--- /dev/null
+++ b/print/gimp-print/files/patch-rastertoprinter
@@ -0,0 +1,10 @@
+--- src/cups/rastertoprinter.c- Tue Oct 15 12:32:23 2002
++++ src/cups/rastertoprinter.c Tue Oct 15 12:32:40 2002
+@@ -57,6 +57,7 @@
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <fcntl.h>
++#include <limits.h>
+ #ifdef INCLUDE_GIMP_PRINT_H
+ #include INCLUDE_GIMP_PRINT_H
+ #else
OpenPOWER on IntegriCloud