[SCM] Debian packaging of Text-Markdown-Discount CPAN distribution branch, master, updated. debian/0.02-1-10-gbc47ae2

Alessandro Ghedini al3xbio at gmail.com
Sun Sep 23 17:21:15 UTC 2012


The following commit has been merged in the master branch:
commit fa31db50d9403f1fbcf346b973e126ab7a900b3b
Author: Alessandro Ghedini <al3xbio at gmail.com>
Date:   Sun Sep 23 18:35:21 2012 +0200

    Drop do-not-use-cstring.patch (merged upstream)

diff --git a/debian/patches/do-not-use-cstring.patch b/debian/patches/do-not-use-cstring.patch
deleted file mode 100644
index 9eacaec..0000000
--- a/debian/patches/do-not-use-cstring.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-Description: Discount.xs include the header cstring.h which is intended 
- only for internal discount use.
-Origin: vendor
-Forwarded: https://github.com/sekimura/text-markdown-discount/pull/1
-Author: Alessandro Ghedini <al3xbio at gmail.com>
-Reviewed-by: Alessandro Ghedini <al3xbio at gmail.com>
-Last-Update: 2012-01-03
-
---- a/Discount.xs
-+++ b/Discount.xs
-@@ -6,36 +6,6 @@
- 
- #include <string.h>
- #include <mkdio.h>
--#include <cstring.h>
--
--typedef struct line {
--    Cstring text;
--    struct line *next;
--    int dle;
--} Line;
--
--typedef struct paragraph {
--    struct paragraph *next;	/* next paragraph */
--    struct paragraph *down;	/* recompiled contents of this paragraph */
--    struct line *text;		/* all the text in this paragraph */
--    char *ident;		/* %id% tag for QUOTE */
--    enum { WHITESPACE=0, CODE, QUOTE, MARKUP,
--	   HTML, STYLE, DL, UL, OL, AL, LISTITEM,
--	   HDR, HR } typ;
--    enum { IMPLICIT=0, PARA, CENTER} align;
--    int hnumber;		/* <Hn> for typ == HDR */
--} Paragraph;
--
--typedef struct document {
--    Line *headers;		/* title -> author(s) -> date */
--    ANCHOR(Line) content;	/* uncompiled text, not valid after compile() */
--    Paragraph *code;		/* intermediate code generated by compile() */
--    int compiled;		/* set after mkd_compile() */
--    int html;			/* set after (internal) htmlify() */
--    int tabstop;		/* for properly expanding tabs (ick) */
--    MMIOT *ctx;			/* backend buffers, flags, and structures */
--    char *base;			/* url basename for url fragments */
--} Document;
- 
- MODULE = Text::Markdown::Discount		PACKAGE = Text::Markdown::Discount	PREFIX = TextMarkdown_
- 
-@@ -49,7 +19,7 @@
-         int flags = MKD_NOHEADER|MKD_NOPANTS;
-         char *html = NULL;
-         int szhtml;
--        Document *doc;
-+        MMIOT *doc;
-     CODE:
-         if ( (doc = mkd_string(text, strlen(text), flags)) == 0 ) {
-             croak("failed at mkd_string");
diff --git a/debian/patches/series b/debian/patches/series
index b4b7e01..2c934eb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-do-not-use-cstring.patch
 use-system-markdown.patch

-- 
Debian packaging of Text-Markdown-Discount CPAN distribution



More information about the Pkg-perl-cvs-commits mailing list