[DRE-commits] [ruby-rmagick] 04/11: bypass version check in a less intrusive way
Antonio Terceiro
terceiro at moszumanska.debian.org
Tue Aug 25 23:32:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-rmagick.
commit 2f346eaf72d8c2776540a7abe5f9a6a79b1309ed
Author: Antonio Terceiro <terceiro at debian.org>
Date: Tue Aug 25 18:32:59 2015 -0300
bypass version check in a less intrusive way
---
debian/changelog | 3 ++-
debian/patches/0001-Bypass-version-check.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
3 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 34e52de..78d9f9f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,7 +6,8 @@ ruby-rmagick (2.15.4-1) UNRELEASED; urgency=medium
- buid-samples-unconditionally.diff: dropped, the package now has proper
tests
- relative_paths_on_examples: dropped, not needed anymore
- - disable-version-check.diff: dropped
+ - disable-version-check.diff: dropped; replaced by
+ 0001-Bypass-version-check.patch
- fix_example_shebang.patch: dropped
- force-security.patch: dropped, already applied upstream
- extconf-use-pkg-config.patch: dropped, fixed upstream
diff --git a/debian/patches/0001-Bypass-version-check.patch b/debian/patches/0001-Bypass-version-check.patch
new file mode 100644
index 0000000..35778d4
--- /dev/null
+++ b/debian/patches/0001-Bypass-version-check.patch
@@ -0,0 +1,16 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Tue, 25 Aug 2015 18:32:00 -0300
+Subject: Bypass version check
+
+This is what SONAMEs are for.
+---
+ lib/rmagick.rb | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/rmagick.rb b/lib/rmagick.rb
+index 985a8d1..2211c73 100644
+--- a/lib/rmagick.rb
++++ b/lib/rmagick.rb
+@@ -1 +1,2 @@
++RMAGICK_BYPASS_VERSION_TEST = true
+ require 'rmagick_internal.rb'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0a8fdf4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Bypass-version-check.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rmagick.git
More information about the Pkg-ruby-extras-commits
mailing list