summaryrefslogtreecommitdiff
path: root/security/gnupg/patches/patch-ac
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-08-02 17:11:00 +0000
committerjoerg <joerg@pkgsrc.org>2011-08-02 17:11:00 +0000
commitbfe05c9ac28a4da4ff1d96930c6d37d0b90e0079 (patch)
treea7cba440cc3f25fb1ced0bf84f79ebc2a1724085 /security/gnupg/patches/patch-ac
parent5834101508ecbd6be0b3847de7d1410752040a19 (diff)
downloadpkgsrc-bfe05c9ac28a4da4ff1d96930c6d37d0b90e0079.tar.gz
Deal with c99 inline semantics.
Diffstat (limited to 'security/gnupg/patches/patch-ac')
-rw-r--r--security/gnupg/patches/patch-ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/security/gnupg/patches/patch-ac b/security/gnupg/patches/patch-ac
new file mode 100644
index 00000000000..0ae7f6ec6dc
--- /dev/null
+++ b/security/gnupg/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.19 2011/08/02 17:11:00 joerg Exp $
+
+--- mpi/mpi-inline.h.orig 2008-12-11 16:39:43.000000000 +0000
++++ mpi/mpi-inline.h
+@@ -28,10 +28,6 @@
+ #ifndef G10_MPI_INLINE_H
+ #define G10_MPI_INLINE_H
+
+-#ifndef G10_MPI_INLINE_DECL
+-#define G10_MPI_INLINE_DECL extern __inline__
+-#endif
+-
+ G10_MPI_INLINE_DECL mpi_limb_t
+ mpihelp_add_1( mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
+ mpi_size_t s1_size, mpi_limb_t s2_limb)