summaryrefslogtreecommitdiff
path: root/devel/glib2/patches
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2014-10-01 12:14:42 +0000
committerprlw1 <prlw1@pkgsrc.org>2014-10-01 12:14:42 +0000
commit7471a0babe3573a33717b4be7cef3d7e193eca26 (patch)
tree30b58ec812d6ad05a2aef6518bd7e6590f2559fa /devel/glib2/patches
parent67ab4be99fd1b2319d0fa371e941bee1db518ad5 (diff)
downloadpkgsrc-7471a0babe3573a33717b4be7cef3d7e193eca26.tar.gz
Fix ABI break (2 enums change value) when I added NetBSD credential support
Diffstat (limited to 'devel/glib2/patches')
-rw-r--r--devel/glib2/patches/patch-gio_gioenums.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/devel/glib2/patches/patch-gio_gioenums.h b/devel/glib2/patches/patch-gio_gioenums.h
index 1698f96340b..7bd67819e40 100644
--- a/devel/glib2/patches/patch-gio_gioenums.h
+++ b/devel/glib2/patches/patch-gio_gioenums.h
@@ -1,23 +1,25 @@
-$NetBSD: patch-gio_gioenums.h,v 1.1 2014/09/05 20:49:55 prlw1 Exp $
+$NetBSD: patch-gio_gioenums.h,v 1.2 2014/10/01 12:14:42 prlw1 Exp $
gcredentials: add NetBSD support
https://bugzilla.gnome.org/show_bug.cgi?id=728256
--- gio/gioenums.h.orig 2014-03-24 18:50:42.000000000 +0000
+++ gio/gioenums.h
-@@ -1352,6 +1352,7 @@ typedef enum
- * @G_CREDENTIALS_TYPE_INVALID: Indicates an invalid native credential type.
- * @G_CREDENTIALS_TYPE_LINUX_UCRED: The native credentials type is a <type>struct ucred</type>.
+@@ -1354,6 +1354,7 @@ typedef enum
* @G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED: The native credentials type is a <type>struct cmsgcred</type>.
-+ * @G_CREDENTIALS_TYPE_NETBSD_UNPCBID: The native credentials type is a <type>struct unpcbid</type>.
* @G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED: The native credentials type is a <type>struct sockpeercred</type>. Added in 2.30.
* @G_CREDENTIALS_TYPE_SOLARIS_UCRED: The native credentials type is a <type>ucred_t</type>. Added in 2.40.
++ * @G_CREDENTIALS_TYPE_NETBSD_UNPCBID: The native credentials type is a <type>struct unpcbid</type>.
+ *
+ * Enumeration describing different kinds of native credential types.
*
-@@ -1364,6 +1365,7 @@ typedef enum
- G_CREDENTIALS_TYPE_INVALID,
+@@ -1365,7 +1366,8 @@ typedef enum
G_CREDENTIALS_TYPE_LINUX_UCRED,
G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED,
-+ G_CREDENTIALS_TYPE_NETBSD_UNPCBID,
G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED,
- G_CREDENTIALS_TYPE_SOLARIS_UCRED
+- G_CREDENTIALS_TYPE_SOLARIS_UCRED
++ G_CREDENTIALS_TYPE_SOLARIS_UCRED,
++ G_CREDENTIALS_TYPE_NETBSD_UNPCBID
} GCredentialsType;
+
+ /**