Commit 7066acb7 authored by Rafaël Carré's avatar Rafaël Carré

contrib: gmp: fix duplicate symbol definitions in gnutls

parent 8eec37a5
--- gmp-4.2.1/gmp-h.in.orig 2013-03-26 14:53:42.132617397 +0100
+++ gmp-4.2.1/gmp-h.in 2013-03-26 14:53:47.424617630 +0100
@@ -420,8 +420,7 @@
for an inline too, so as to correctly specify "dllimport" on windows, in
case the function is called rather than inlined. */
#ifdef __GNUC__
-#define __GMP_EXTERN_INLINE extern __inline__
-#define __GMP_INLINE_PROTOTYPES 1
+#define __GMP_EXTERN_INLINE static __inline__
#endif
/* DEC C (eg. version 5.9) supports "static __inline foo()", even in -std1
......@@ -13,6 +13,7 @@ $(TARBALLS)/gmp-$(GMP_VERSION).tar.bz2:
gmp: gmp-$(GMP_VERSION).tar.bz2 .sum-gmp
$(UNPACK)
$(APPLY) $(SRC)/gmp/inline.diff
$(UPDATE_AUTOCONFIG)
$(MOVE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment