summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-08 23:27:05 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-08 23:27:05 +0000
commita832c2bd0da48fcce658b69190430dece24b3b5d (patch)
treea45f1934ef693fa6731df2b11d19d808973dfc28 /app-crypt/gpgme/files
parentBump to new snapshot. (diff)
downloadgentoo-2-a832c2bd0da48fcce658b69190430dece24b3b5d.tar.gz
gentoo-2-a832c2bd0da48fcce658b69190430dece24b3b5d.tar.bz2
gentoo-2-a832c2bd0da48fcce658b69190430dece24b3b5d.zip
Add patch to fix FreeBSD building (bug #136085) and mark ~x86-fbsd.
(Portage version: 2.1_rc4-r5)
Diffstat (limited to 'app-crypt/gpgme/files')
-rw-r--r--app-crypt/gpgme/files/gpgme-1.1.2-fbsd.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/app-crypt/gpgme/files/gpgme-1.1.2-fbsd.patch b/app-crypt/gpgme/files/gpgme-1.1.2-fbsd.patch
new file mode 100644
index 000000000000..564e6ac4cb5a
--- /dev/null
+++ b/app-crypt/gpgme/files/gpgme-1.1.2-fbsd.patch
@@ -0,0 +1,41 @@
+Index: gpgme-1.1.2/assuan/assuan.h
+===================================================================
+--- gpgme-1.1.2.orig/assuan/assuan.h
++++ gpgme-1.1.2/assuan/assuan.h
+@@ -23,6 +23,7 @@
+
+ #include <stdio.h>
+ #include <sys/types.h>
++#include <sys/socket.h>
+ #include <unistd.h>
+
+
+Index: gpgme-1.1.2/assuan/funopen.c
+===================================================================
+--- gpgme-1.1.2.orig/assuan/funopen.c
++++ gpgme-1.1.2/assuan/funopen.c
+@@ -38,7 +38,7 @@
+ cookie instead of the fiel descripor.
+ */
+
+-
++#ifndef HAVE_FUNOPEN
+ #ifdef HAVE_FOPENCOOKIE
+ FILE *
+ _assuan_funopen(void *cookie,
+@@ -61,3 +61,4 @@ _assuan_funopen(void *cookie,
+ #else
+ #error No known way to implement funopen.
+ #endif
++#endif
+Index: gpgme-1.1.2/assuan/mkerrors
+===================================================================
+--- gpgme-1.1.2.orig/assuan/mkerrors
++++ gpgme-1.1.2/assuan/mkerrors
+@@ -83,4 +83,4 @@ cat <<EOF
+ return s;
+ }
+
+-EOF
+\ No newline at end of file
++EOF