summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2011-07-11 11:42:48 +0000
committerPacho Ramos <pacho@gentoo.org>2011-07-11 11:42:48 +0000
commit881c73aa28e9bc8251115b47201de7bd186742ca (patch)
tree40bdeba5af18cd44ea94d5d5e11ab12ee1a13249 /gnome-base/gnome-keyring/files
parentInstall some files too, thanks to Roger (bug #374783). (diff)
downloadhistorical-881c73aa28e9bc8251115b47201de7bd186742ca.tar.gz
historical-881c73aa28e9bc8251115b47201de7bd186742ca.tar.bz2
historical-881c73aa28e9bc8251115b47201de7bd186742ca.zip
Fix building on BSD with upstream patch, bug #362469 by Yuta SATOH.
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'gnome-base/gnome-keyring/files')
-rw-r--r--gnome-base/gnome-keyring/files/gnome-keyring-2.32.1-fix-undefined.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnome-base/gnome-keyring/files/gnome-keyring-2.32.1-fix-undefined.patch b/gnome-base/gnome-keyring/files/gnome-keyring-2.32.1-fix-undefined.patch
new file mode 100644
index 000000000000..28103ba5d594
--- /dev/null
+++ b/gnome-base/gnome-keyring/files/gnome-keyring-2.32.1-fix-undefined.patch
@@ -0,0 +1,26 @@
+From 4050d583e8fe6c5c4bb71f0fd4ba6498cdf5a1b6 Mon Sep 17 00:00:00 2001
+From: Ryan Stonecipher <Ryan.Stonecipher.Fisher@gmail.com>
+Date: Mon, 24 Jan 2011 20:42:02 +0000
+Subject: Fix undefined type in egg-asn1x.c
+
+Mac OSX doesn't have a ulong type
+
+https://bugzilla.gnome.org/show_bug.cgi?id=640362
+---
+diff --git a/egg/egg-asn1x.c b/egg/egg-asn1x.c
+index 122cedf..10bd92c 100644
+--- a/egg/egg-asn1x.c
++++ b/egg/egg-asn1x.c
+@@ -2064,8 +2064,8 @@ anode_write_integer_ulong (gulong value, guchar *data, gsize *n_data)
+ guchar buf[sizeof (gulong)];
+ gint bytes, i, off;
+
+- for (i = 0; i < sizeof (ulong); ++i) {
+- off = sizeof (ulong) - (i + 1);
++ for (i = 0; i < sizeof (gulong); ++i) {
++ off = sizeof (gulong) - (i + 1);
+ buf[i] = (value >> (off * 8)) & 0xFF;
+ }
+
+--
+cgit v0.9