pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/argp argp: Try to fix usage of inline functions



details:   https://anonhg.NetBSD.org/pkgsrc/rev/117f23846ada
branches:  trunk
changeset: 384630:117f23846ada
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Wed Aug 29 18:08:07 2018 +0000

description:
argp: Try to fix usage of inline functions

Do not use 'extern inline' as it causes errors with undefined symbols.

diffstat:

 devel/argp/distinfo                       |  4 ++--
 devel/argp/patches/patch-argp-fmtstream.h |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r a03c3e7ebe5f -r 117f23846ada devel/argp/distinfo
--- a/devel/argp/distinfo       Wed Aug 29 16:29:47 2018 +0000
+++ b/devel/argp/distinfo       Wed Aug 29 18:08:07 2018 +0000
@@ -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 @@
 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 -r a03c3e7ebe5f -r 117f23846ada devel/argp/patches/patch-argp-fmtstream.h
--- a/devel/argp/patches/patch-argp-fmtstream.h Wed Aug 29 16:29:47 2018 +0000
+++ b/devel/argp/patches/patch-argp-fmtstream.h Wed Aug 29 18:08:07 2018 +0000
@@ -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 @@
  #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
  



Home | Main Index | Thread Index | Old Index