about [UPDATING] [MOVED] [vuxml]summaryrefslograw-logtreecommitdiffstats
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2026-11-18 13:37:35 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2026-11-18 15:01:48 +0000
commitd606398f9895d338618a07e52ecb969cd2f9d944 (patch) (diff)
tree511b96ac6eb99c71d6c6a4fafae5a99911e4c59f
downloadports-d606398f9895d338618a07e52ecb969cd2f9d944.tar.gz
 
previous commit9e04d7b7c3f2f669244d4bb032d97897e4beea54 (java/openjdk27: Update to version 27.0.1.1)
print/cups: Fix regression with temporary queues
-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));
This site is maintained by Jamie Landeg-Jones <jamie@catflap.org>, and is not an official FreeBSD project, nor is it endorsed by the FreeBSD team.