discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Kristaps Dzonsons <kristaps@bsd.lv>
To: discuss@mdocml.bsd.lv
Subject: Re: texi2mdoc
Date: Wed, 25 Feb 2015 20:50:32 +0100	[thread overview]
Message-ID: <54EE2788.8060206@bsd.lv> (raw)
In-Reply-To: <20150225172330.GA1566@k8>

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]

Sviatoslav,

The enclosed patch allows me to compile...

% make CC=/usr/local/musl/bin/musl-gcc

...with a musl freshly cloned via git.  I've already checked it into CVS.

Thanks for reporting this!

Best,

Kristaps

[-- Attachment #2: musl.patch --]
[-- Type: text/plain, Size: 911 bytes --]

Index: extern.h
===================================================================
RCS file: /home/cvs/mdocml/texi2mdoc/extern.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- extern.h	25 Feb 2015 14:49:14 -0000	1.16
+++ extern.h	25 Feb 2015 19:45:59 -0000	1.17
@@ -1,4 +1,4 @@
-/*	$Id: extern.h,v 1.16 2015/02/25 14:49:14 kristaps Exp $ */
+/*	$Id: extern.h,v 1.17 2015/02/25 19:45:59 kristaps Exp $ */
 /*
  * Copyright (c) 2015 Kristaps Dzonsons <kristaps@bsd.lv>
  *
@@ -16,6 +16,21 @@
  */
 #ifndef EXTERN_H
 #define EXTERN_H
+
+#if !defined(__BEGIN_DECLS)
+#  ifdef __cplusplus
+#  define	__BEGIN_DECLS		extern "C" {
+#  else
+#  define	__BEGIN_DECLS
+#  endif
+#endif
+#if !defined(__END_DECLS)
+#  ifdef __cplusplus
+#  define	__END_DECLS		}
+#  else
+#  define	__END_DECLS
+#  endif
+#endif
 
 /*
  * This defines each one of the Texinfo commands that we understand.

      reply	other threads:[~2015-02-25 19:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-23 15:31 texi2mdoc Kristaps Dzonsons
2015-02-23 16:56 ` texi2mdoc Svyatoslav Mishyn
2015-02-23 17:31   ` texi2mdoc Kristaps Dzonsons
2015-02-23 18:13     ` texi2mdoc Ingo Schwarze
2015-02-23 18:17     ` texi2mdoc Svyatoslav Mishyn
2015-02-25 15:17       ` texi2mdoc Kristaps Dzonsons
2015-02-25 17:23         ` texi2mdoc Svyatoslav Mishyn
2015-02-25 19:50           ` Kristaps Dzonsons [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54EE2788.8060206@bsd.lv \
    --to=kristaps@bsd.lv \
    --cc=discuss@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).