summaryrefslogtreecommitdiff
path: root/print/libgnomecups
diff options
context:
space:
mode:
authorschnoebe <schnoebe@pkgsrc.org>2014-06-13 22:10:24 +0000
committerschnoebe <schnoebe@pkgsrc.org>2014-06-13 22:10:24 +0000
commit16aed34ceb16e2fad9ef2004720832835039f69a (patch)
treec8e8ec0500a7c3f545ed0aac3f449a2a4c2f6592 /print/libgnomecups
parent5194f6d61e9692a4f115f0eee1d93658211384c2 (diff)
downloadpkgsrc-16aed34ceb16e2fad9ef2004720832835039f69a.tar.gz
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.
Diffstat (limited to 'print/libgnomecups')
-rw-r--r--print/libgnomecups/distinfo5
-rw-r--r--print/libgnomecups/patches/patch-libgnomecups_gnome-cups-printer.h15
-rw-r--r--print/libgnomecups/patches/patch-libgnomecups_gnome-cups-queue.h15
-rw-r--r--print/libgnomecups/patches/patch-libgnomecups_gnome-cups-request.h15
4 files changed, 49 insertions, 1 deletions
diff --git a/print/libgnomecups/distinfo b/print/libgnomecups/distinfo
index 530b95b18d1..d9b0d032cff 100644
--- a/print/libgnomecups/distinfo
+++ b/print/libgnomecups/distinfo
@@ -1,7 +1,10 @@
-$NetBSD: distinfo,v 1.8 2012/05/07 00:31:46 dholland Exp $
+$NetBSD: distinfo,v 1.9 2014/06/13 22:10:24 schnoebe Exp $
SHA1 (libgnomecups-0.2.3.tar.gz) = f7e9a2be39e4e52b346a121d738dc935f45dcee1
RMD160 (libgnomecups-0.2.3.tar.gz) = 13215f0304440f53a3e91f0b0a02d6fcef626c44
Size (libgnomecups-0.2.3.tar.gz) = 455261 bytes
SHA1 (patch-libgnomecups_gnome-cups-i18n_c) = d67cebfe703ac2a283c5096c8af30ddab79de725
SHA1 (patch-libgnomecups_gnome-cups-init_h) = 0613660a334235db366c4d4d4cd22abc96f6dbff
+SHA1 (patch-libgnomecups_gnome-cups-printer.h) = 32617afb03d57aba56af0202428fc275ed04b8fe
+SHA1 (patch-libgnomecups_gnome-cups-queue.h) = 73c6b06e96b93a2db7e1b2ab820bc65eeb8c60dc
+SHA1 (patch-libgnomecups_gnome-cups-request.h) = 4c820e3cd2315a4304184d5f9cd6ccbcb89b707f
diff --git a/print/libgnomecups/patches/patch-libgnomecups_gnome-cups-printer.h b/print/libgnomecups/patches/patch-libgnomecups_gnome-cups-printer.h
new file mode 100644
index 00000000000..cc4bb948a2f
--- /dev/null
+++ b/print/libgnomecups/patches/patch-libgnomecups_gnome-cups-printer.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-libgnomecups_gnome-cups-printer.h,v 1.1 2014/06/13 22:10:24 schnoebe Exp $
+
+--- libgnomecups/gnome-cups-printer.h.orig 2007-01-02 00:18:51.000000000 +0000
++++ libgnomecups/gnome-cups-printer.h
+@@ -3,6 +3,10 @@
+
+ #include <glib.h>
+ #include <glib-object.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 <cups/ppd.h>
+
diff --git a/print/libgnomecups/patches/patch-libgnomecups_gnome-cups-queue.h b/print/libgnomecups/patches/patch-libgnomecups_gnome-cups-queue.h
new file mode 100644
index 00000000000..9eb983136c9
--- /dev/null
+++ b/print/libgnomecups/patches/patch-libgnomecups_gnome-cups-queue.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-libgnomecups_gnome-cups-queue.h,v 1.1 2014/06/13 22:10:24 schnoebe Exp $
+
+--- libgnomecups/gnome-cups-queue.h.orig 2007-01-02 00:18:51.000000000 +0000
++++ libgnomecups/gnome-cups-queue.h
+@@ -3,6 +3,10 @@
+
+ #include <glib.h>
+ #include <glib-object.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>
+
+ G_BEGIN_DECLS
diff --git a/print/libgnomecups/patches/patch-libgnomecups_gnome-cups-request.h b/print/libgnomecups/patches/patch-libgnomecups_gnome-cups-request.h
new file mode 100644
index 00000000000..b3aa3738b3d
--- /dev/null
+++ b/print/libgnomecups/patches/patch-libgnomecups_gnome-cups-request.h
@@ -0,0 +1,15 @@
+$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"