pkgsrc/print/libgnomecups/patches/patch-libgnomecups_gnome-cups-request.h
schnoebe 080578dd10 Additional patches to allow libgnomecups to use the "old style" direct access
into the ipp_attribute_t structure. Ultimately, it should be updated to
use the new (with CUPS 1.7?) accessors, however, this gets it building
before the 2014Q2 branch.
2014-06-13 22:10:24 +00:00

15 lines
509 B
C

$NetBSD: patch-libgnomecups_gnome-cups-request.h,v 1.1 2014/06/13 22:10:24 schnoebe Exp $
--- libgnomecups/gnome-cups-request.h.orig 2007-01-02 00:18:51.000000000 +0000
+++ libgnomecups/gnome-cups-request.h
@@ -1,6 +1,10 @@
#ifndef GNOME_CUPS_REQUEST_H
#define GNOME_CUPS_REQUEST_H
+/* transitional, until modified to use the ipp_attribute_t accessors */
+#ifndef _IPP_PRIVATE_STRUCTURES
+# define _IPP_PRIVATE_STRUCTURES 1
+#endif
#include <cups/ipp.h>
#include <glib.h>
#include "gnome-cups-init.h"