diff options
| author | Tijl Coosemans <tijl@FreeBSD.org> | 2026-11-18 13:37:35 +0000 |
|---|---|---|
| committer | Tijl Coosemans <tijl@FreeBSD.org> | 2026-11-18 15:01:48 +0000 |
| commit | d606398f9895d338618a07e52ecb969cd2f9d944 (patch) (diff) | |
| tree | 511b96ac6eb99c71d6c6a4fafae5a99911e4c59f | |
| download | ports-d606398f9895d338618a07e52ecb969cd2f9d944.tar.gz | |
| previous commit | 9e04d7b7c3f2f669244d4bb032d97897e4beea54 (java/openjdk27: Update to version 27.0.1.1) | |
print/cups: Fix regression with temporary queues
Obtained from https://github.com/OpenPrinting/cups/commit/67dcee9f60a2
and https://github.com/OpenPrinting/cups/commit/e11ff1a9e8c6.
(cherry picked from commit e92e9fc1419c952a927e6ad1447d22e72224a6fa)
| -rw-r--r-- | print/cups/Makefile | [diff] [file] | 1 | ||||
| -rw-r--r-- | print/cups/files/patch-scheduler_ipp.c | [diff] [file] | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile index 9fa79d7ea1db..f81187847785 100644 --- a/print/cups/Makefile +++ b/print/cups/Makefile @@ -1,5 +1,6 @@ PORTNAME= cups DISTVERSION= 2.4.20 +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-scheduler_ipp.c b/print/cups/files/patch-scheduler_ipp.c new file mode 100644 index 000000000000..384ca4f54835 --- /dev/null +++ b/print/cups/files/patch-scheduler_ipp.c @@ -0,0 +1,20 @@ +--- scheduler/ipp.c.orig 2026-10-05 15:26:07 UTC ++++ scheduler/ipp.c +@@ -5800,7 +5800,7 @@ create_local_printer( + server_name_len; + + /* Get host name of device URI */ +- httpSeparateURI(HTTP_URI_CODING_ALL, ptr, ++ httpSeparateURI(HTTP_URI_CODING_ALL, device_uri_ptr, + scheme, sizeof(scheme), userpass, sizeof(userpass), host, + sizeof(host), &port, resource, sizeof(resource)); + +@@ -5832,7 +5832,7 @@ create_local_printer( + cupsdSetDeviceURI(printer, uri); + } + else +- cupsdSetDeviceURI(printer, ptr); ++ cupsdSetDeviceURI(printer, device_uri_ptr); + + if (printer_geo_location) + cupsdSetString(&printer->geo_location, ippGetString(printer_geo_location, 0, NULL)); |
