[Reproducible-commits] [discount] 87/121: Imported Upstream version 2.1.5a

Jérémy Bobbio lunar at moszumanska.debian.org
Tue Sep 23 20:56:20 UTC 2014


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch pu/reproducible_builds
in repository discount.

commit 288eee8bc0a975466fa8ce46d7b7998915ba19d2
Author: Alessandro Ghedini <al3xbio at gmail.com>
Date:   Thu Aug 9 15:56:10 2012 +0200

    Imported Upstream version 2.1.5a
---
 VERSION       |  2 +-
 configure.inc | 10 ++++++++--
 markdown.c    |  4 ++--
 3 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/VERSION b/VERSION
index cd57a8b..a1e4f49 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.1.5
+2.1.5a
diff --git a/configure.inc b/configure.inc
index 8dd57ad..091497f 100755
--- a/configure.inc
+++ b/configure.inc
@@ -193,8 +193,8 @@ AC_CHECK_FUNCS () {
     B=`echo "$1" | sed -e 's/(.*)//'`
 
     case "$B" in
-    "$1") F="$1()" ;;
-    *)    F="$1" ;;
+    "$1") F="$1()"; need_proto=1 ;;
+    *)    F="$1"  ; unset need_proto ;;
     esac
 
     shift
@@ -205,6 +205,10 @@ AC_CHECK_FUNCS () {
 	shift
     done
 
+    if [ "$need_proto" ]; then
+	echo "void $F;" >> ngc$$.c
+    fi
+
     cat >> ngc$$.c << EOF
 main()
 {
@@ -1169,6 +1173,8 @@ AC_CHECK_BASENAME() {
     cat > ngc$$.c << EOF
 #include <string.h>
 
+extern char *basename(char*);
+
 main()
 {
     char *a = basename("/a/test");
diff --git a/markdown.c b/markdown.c
index 5a65679..eb33ec5 100644
--- a/markdown.c
+++ b/markdown.c
@@ -230,9 +230,9 @@ checkline(Line *l)
 
     if ( stars || underscores ) { l->kind = chk_hr; }
     else if ( dashes ) { l->kind = chk_dash; }
-    else if ( tildes ) { l->kind = chk_tilde; }
-#if WITH_FENCED_CODE
     else if ( equals ) { l->kind = chk_equal; }
+#if WITH_FENCED_CODE
+    else if ( tildes ) { l->kind = chk_tilde; }
     else if ( backticks ) { l->kind = chk_backtick; }
 #endif
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/discount.git



More information about the Reproducible-commits mailing list