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>
This commit is contained in:
Daniel Harris 2002-10-16 01:34:01 +00:00
parent 531dce7b0f
commit 7aacf7a37e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68130
6 changed files with 33 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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