diff options
author | kamil <kamil@pkgsrc.org> | 2018-08-29 18:08:07 +0000 |
---|---|---|
committer | kamil <kamil@pkgsrc.org> | 2018-08-29 18:08:07 +0000 |
commit | 8e4eeca30e7d0cc340d7ae52b077f2063436899d (patch) | |
tree | fa3d64b4a331f0c6b479f9b6996c7be2a9789069 | |
parent | c4352028a89dd0a8754c66d367384b126e82abc4 (diff) | |
download | pkgsrc-8e4eeca30e7d0cc340d7ae52b077f2063436899d.tar.gz |
argp: Try to fix usage of inline functions
Do not use 'extern inline' as it causes errors with undefined symbols.
-rw-r--r-- | devel/argp/distinfo | 4 | ||||
-rw-r--r-- | devel/argp/patches/patch-argp-fmtstream.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/devel/argp/distinfo b/devel/argp/distinfo index e4f59c1821e..1ec4834b6f5 100644 --- a/devel/argp/distinfo +++ b/devel/argp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2017/07/12 11:05:59 wiz Exp $ +$NetBSD: distinfo,v 1.6 2018/08/29 18:08:07 kamil Exp $ SHA1 (argp-standalone-1.3.tar.gz) = 815c560680ebdc11694b88de2f8ec15133e0bfa0 RMD160 (argp-standalone-1.3.tar.gz) = 1c5cd0b1c382d93774be636a1ea2758d530cfef4 @@ -7,4 +7,4 @@ Size (argp-standalone-1.3.tar.gz) = 130255 bytes SHA1 (patch-aa) = 57560cba79069b6809de78a7edbad64e2f717c61 SHA1 (patch-ab) = 7ed54ce579b922416aceb0c4e3959307557e8af6 SHA1 (patch-argp-fmtstream.c) = c7e763bb317702e5072570783629d8e973e5f077 -SHA1 (patch-argp-fmtstream.h) = 7fd13de60b376001ee5eee72a065385b4abf9923 +SHA1 (patch-argp-fmtstream.h) = c0b740fc31d51d0295d6bd01a9ed1a84ff2b5205 diff --git a/devel/argp/patches/patch-argp-fmtstream.h b/devel/argp/patches/patch-argp-fmtstream.h index dfd9ea93886..5c7184d3612 100644 --- a/devel/argp/patches/patch-argp-fmtstream.h +++ b/devel/argp/patches/patch-argp-fmtstream.h @@ -1,4 +1,4 @@ -$NetBSD: patch-argp-fmtstream.h,v 1.1 2012/07/03 18:13:47 joerg Exp $ +$NetBSD: patch-argp-fmtstream.h,v 1.2 2018/08/29 18:08:08 kamil Exp $ --- argp-fmtstream.h.orig 2003-12-11 08:37:05.000000000 +0000 +++ argp-fmtstream.h @@ -38,10 +38,10 @@ $NetBSD: patch-argp-fmtstream.h,v 1.1 2012/07/03 18:13:47 joerg Exp $ #endif #ifndef ARGP_FS_EI -+#if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__) ++#if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__) && 0 #define ARGP_FS_EI extern inline +#else -+#define ARGP_FS_EI inline ++#define ARGP_FS_EI static inline +#endif #endif |