[DRE-commits] [ruby-rdiscount] 05/06: Use system libmarkdown

Alessandro Ghedini ghedo at moszumanska.debian.org
Sun Apr 13 10:38:15 UTC 2014


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

ghedo pushed a commit to branch master
in repository ruby-rdiscount.

commit f1390663dfc4810fe793badd134b98a5c214a2a8
Author: Alessandro Ghedini <alessandro at ghedini.me>
Date:   Thu Apr 10 20:19:47 2014 +0200

    Use system libmarkdown
    
    Closes: #649489
---
 debian/patches/01_use-system-libmarkdown.patch | 29 ++++++++++++++++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 30 insertions(+)

diff --git a/debian/patches/01_use-system-libmarkdown.patch b/debian/patches/01_use-system-libmarkdown.patch
new file mode 100644
index 0000000..7f6fb9c
--- /dev/null
+++ b/debian/patches/01_use-system-libmarkdown.patch
@@ -0,0 +1,29 @@
+Description: Use system libmarkdown
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/649489
+Forwarded: not-needed
+Author: Alessandro Ghedini <ghedo at debian.org>
+Last-Update: 2014-04-12
+
+--- a/Rakefile
++++ b/Rakefile
+@@ -17,7 +17,7 @@
+ end
+ CLEAN.include "ext/ruby-*"
+ 
+-file 'ext/Makefile' => FileList['ext/*.{c,h,rb}', "ext/ruby-#{RUBYDIGEST}"] do
++file 'ext/Makefile' => FileList['ext/*.rb', 'ext/rdiscount.c', "ext/ruby-#{RUBYDIGEST}"] do
+   chdir('ext') { ruby 'extconf.rb' }
+ end
+ CLEAN.include 'ext/Makefile', 'ext/mkmf.log'
+--- a/ext/extconf.rb
++++ b/ext/extconf.rb
+@@ -2,6 +2,8 @@
+ 
+ dir_config('rdiscount')
+ 
++have_library('markdown')
++
+ HAVE_RANDOM = have_func('random')
+ HAVE_SRANDOM = have_func('srandom')
+ HAVE_RAND = have_func('rand')
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f8150d4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_use-system-libmarkdown.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rdiscount.git



More information about the Pkg-ruby-extras-commits mailing list