diff options
author | joerg <joerg@pkgsrc.org> | 2012-07-03 18:11:38 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-07-03 18:11:38 +0000 |
commit | 2a461af397ef97bede65ae0cb0f5f31545a1097e (patch) | |
tree | b2fcb7311e679c8e8ad0961c917f47046784fc12 /devel/blame | |
parent | 0f3fd28e63a49825bd4e24c8b86af03512731fd9 (diff) | |
download | pkgsrc-2a461af397ef97bede65ae0cb0f5f31545a1097e.tar.gz |
Fix build with c99 compilers
Diffstat (limited to 'devel/blame')
-rw-r--r-- | devel/blame/distinfo | 3 | ||||
-rw-r--r-- | devel/blame/patches/patch-lib_argp-fmtstream.h | 48 |
2 files changed, 50 insertions, 1 deletions
diff --git a/devel/blame/distinfo b/devel/blame/distinfo index c77b3a6cadf..e7e60a492bc 100644 --- a/devel/blame/distinfo +++ b/devel/blame/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/04/28 20:27:35 tnn Exp $ +$NetBSD: distinfo,v 1.2 2012/07/03 18:11:38 joerg Exp $ SHA1 (blame-1.3.1.tar.gz) = 9183b9b5f1db0611bda1b724e99957480764bbd7 RMD160 (blame-1.3.1.tar.gz) = fef43320fd6148f4543824642d6b2e86227af245 Size (blame-1.3.1.tar.gz) = 483406 bytes +SHA1 (patch-lib_argp-fmtstream.h) = 9cdd925d9eb80ab69b31e600d7cd01c5e8fe65b2 diff --git a/devel/blame/patches/patch-lib_argp-fmtstream.h b/devel/blame/patches/patch-lib_argp-fmtstream.h new file mode 100644 index 00000000000..144f5528b95 --- /dev/null +++ b/devel/blame/patches/patch-lib_argp-fmtstream.h @@ -0,0 +1,48 @@ +$NetBSD: patch-lib_argp-fmtstream.h,v 1.1 2012/07/03 18:11:38 joerg Exp $ + +--- lib/argp-fmtstream.h.orig 2006-11-18 10:07:43.000000000 +0000 ++++ lib/argp-fmtstream.h +@@ -135,6 +135,7 @@ extern ssize_t argp_fmtstream_printf (ar + const char *__fmt, ...) + __attribute__ ((__format__ (printf, 2, 3))); + ++#if 0 + extern int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); + extern int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); + +@@ -145,6 +146,7 @@ extern size_t __argp_fmtstream_write (ar + const char *__str, size_t __len); + extern size_t argp_fmtstream_write (argp_fmtstream_t __fs, + const char *__str, size_t __len); ++#endif + + /* Access macros for various bits of state. */ + #define argp_fmtstream_lmargin(__fs) ((__fs)->lmargin) +@@ -154,6 +156,7 @@ extern size_t argp_fmtstream_write (argp + #define __argp_fmtstream_rmargin argp_fmtstream_rmargin + #define __argp_fmtstream_wmargin argp_fmtstream_wmargin + ++#if 0 + /* Set __FS's left margin to LMARGIN and return the old value. */ + extern size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs, + size_t __lmargin); +@@ -175,6 +178,7 @@ extern size_t __argp_fmtstream_set_wmarg + /* Return the column number of the current output point in __FS. */ + extern size_t argp_fmtstream_point (argp_fmtstream_t __fs); + extern size_t __argp_fmtstream_point (argp_fmtstream_t __fs); ++#endif + + /* Internal routines. */ + extern void _argp_fmtstream_update (argp_fmtstream_t __fs); +@@ -198,7 +202,11 @@ extern int __argp_fmtstream_ensure (argp + #endif + + #ifndef ARGP_FS_EI ++#if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__) + #define ARGP_FS_EI extern inline ++#else ++#define ARGP_FS_EI inline ++#endif + #endif + + ARGP_FS_EI size_t |