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:
parent
531dce7b0f
commit
7aacf7a37e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68130
@ -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
|
||||
|
10
print/gimp-print/files/patch-rastertoprinter
Normal file
10
print/gimp-print/files/patch-rastertoprinter
Normal 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
|
@ -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
|
||||
|
10
print/gutenprint-base/files/patch-rastertoprinter
Normal file
10
print/gutenprint-base/files/patch-rastertoprinter
Normal 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
|
@ -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
|
||||
|
10
print/gutenprint/files/patch-rastertoprinter
Normal file
10
print/gutenprint/files/patch-rastertoprinter
Normal 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
|
Loading…
Reference in New Issue
Block a user