mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
04188fc9f1
discussed on: https://github.com/OpenPrinting/libppd/issues/62 https://github.com/OpenPrinting/libppd/pull/64 ok ajacoutot@
23 lines
667 B
Plaintext
23 lines
667 B
Plaintext
From 262d25e4125337201b452b072c7aa4b0d70a98d0 Mon Sep 17 00:00:00 2001
|
|
From: Till Kamppeter <till.kamppeter@gmail.com>
|
|
Date: Thu, 30 Oct 2025 13:50:15 +0100
|
|
Subject: [PATCH] Rename ppdClose() to ppdClose2() to avoid clash with libcups
|
|
|
|
Index: ppd/ppd.c
|
|
--- ppd/ppd.c.orig
|
|
+++ ppd/ppd.c
|
|
@@ -106,11 +106,11 @@ static int ppd_update_filters(ppd_file_t *ppd,
|
|
|
|
|
|
//
|
|
-// 'ppdClose()' - Free all memory used by the PPD file.
|
|
+// 'ppdClose2()' - Free all memory used by the PPD file.
|
|
//
|
|
|
|
void
|
|
-ppdClose(ppd_file_t *ppd) // I - PPD file record
|
|
+ppdClose2(ppd_file_t *ppd) // I - PPD file record
|
|
{
|
|
int i; // Looping var
|
|
ppd_group_t *group; // Current group
|