[DRE-commits] [ruby-ffi-yajl] 02/06: Refresh '0001-Use-the-system-libyajl2.patch'
Tiago Ilieve
myhro-guest at moszumanska.debian.org
Thu May 5 16:34:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
myhro-guest pushed a commit to branch master
in repository ruby-ffi-yajl.
commit c5098928151f89a784d01a802c95f961eccad0a7
Author: Tiago Ilieve <tiago.myhro at gmail.com>
Date: Wed May 4 19:31:07 2016 -0300
Refresh '0001-Use-the-system-libyajl2.patch'
Fixes 'the patch has fuzz which is not allowed' error.
---
debian/patches/0001-Use-the-system-libyajl2.patch | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/debian/patches/0001-Use-the-system-libyajl2.patch b/debian/patches/0001-Use-the-system-libyajl2.patch
index 6297d61..3835377 100644
--- a/debian/patches/0001-Use-the-system-libyajl2.patch
+++ b/debian/patches/0001-Use-the-system-libyajl2.patch
@@ -1,5 +1,7 @@
From: Antonio Terceiro <terceiro at debian.org>
Date: Sat, 13 Jun 2015 12:54:04 -0300
+Last-Update: Wed, 04 May 2016 19:13:54 -0300
+Reviewed-by: Tiago Ilieve <tiago.myhro at gmail.com>
Subject: Use the system libyajl2
---
@@ -10,11 +12,10 @@ Subject: Use the system libyajl2
4 files changed, 5 insertions(+), 24 deletions(-)
create mode 100644 lib/libyajl2.rb
-diff --git a/ext/ffi_yajl/ext/encoder/extconf.rb b/ext/ffi_yajl/ext/encoder/extconf.rb
-index f7f0116..68ac9b3 100644
--- a/ext/ffi_yajl/ext/encoder/extconf.rb
+++ b/ext/ffi_yajl/ext/encoder/extconf.rb
-@@ -1,13 +1,8 @@
+@@ -1,14 +1,9 @@
+ # rubocop:disable Style/GlobalVars
require 'mkmf'
require 'rubygems'
-require 'libyajl2'
@@ -28,11 +29,10 @@ index f7f0116..68ac9b3 100644
# remove "-Wl,--no-undefined" flag if existent to allow for loading with dlopen
$LDFLAGS.slice!("-Wl,--no-undefined")
-diff --git a/ext/ffi_yajl/ext/parser/extconf.rb b/ext/ffi_yajl/ext/parser/extconf.rb
-index 0b13bca..9ab2489 100644
--- a/ext/ffi_yajl/ext/parser/extconf.rb
+++ b/ext/ffi_yajl/ext/parser/extconf.rb
-@@ -1,13 +1,8 @@
+@@ -1,14 +1,9 @@
+ # rubocop:disable Style/GlobalVars
require 'mkmf'
require 'rubygems'
-require 'libyajl2'
@@ -46,9 +46,6 @@ index 0b13bca..9ab2489 100644
# remove "-Wl,--no-undefined" flag if existent to allow for loading with dlopen
$LDFLAGS.slice!("-Wl,--no-undefined")
-diff --git a/lib/libyajl2.rb b/lib/libyajl2.rb
-new file mode 100644
-index 0000000..7497bfb
--- /dev/null
+++ b/lib/libyajl2.rb
@@ -0,0 +1,5 @@
@@ -57,11 +54,9 @@ index 0000000..7497bfb
+ '/path/to/whatever'
+ end
+end
-diff --git a/metadata.yml b/metadata.yml
-index d8b1fdd..7b6335c 100644
--- a/metadata.yml
+++ b/metadata.yml
-@@ -81,20 +81,6 @@ dependencies:
+@@ -81,20 +81,6 @@
- !ruby/object:Gem::Version
version: '1.16'
- !ruby/object:Gem::Dependency
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-ffi-yajl.git
More information about the Pkg-ruby-extras-commits
mailing list