diff --git a/print/cups/Makefile b/print/cups/Makefile index 667bc609cf0f..180f54e36891 100644 --- a/print/cups/Makefile +++ b/print/cups/Makefile @@ -1,5 +1,6 @@ PORTNAME= cups DISTVERSION= 2.4.10 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= https://github.com/OpenPrinting/${PORTNAME}/releases/download/v${DISTVERSION}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-source diff --git a/print/cups/files/patch-cgi-bin_var.c b/print/cups/files/patch-cgi-bin_var.c new file mode 100644 index 000000000000..60ec02c16ac3 --- /dev/null +++ b/print/cups/files/patch-cgi-bin_var.c @@ -0,0 +1,11 @@ +--- cgi-bin/var.c.orig 2024-06-18 11:11:05 UTC ++++ cgi-bin/var.c +@@ -191,7 +191,7 @@ cgiGetCheckbox(const char *name) /* I - Name of form f + int ret; /* Return value */ + + +- ret = value && !_cups_strcasecmp(value, "checkbox"); ++ ret = value && !_cups_strcasecmp(value, "on"); + + if (!ret && value) + {