diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-06-17 14:23:25 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-06-17 14:23:18 +0200 |
commit | 824bb08c5d3e74eb9d15b2585db76b6ad6d157f1 (patch) | |
tree | 5af570b79faac18aca9078e5066a9ea930619c67 | |
parent | a4486026123b25de0eb1a58178bde41c8b527a07 (diff) | |
download | alpine_aports-824bb08c5d3e74eb9d15b2585db76b6ad6d157f1.tar.bz2 alpine_aports-824bb08c5d3e74eb9d15b2585db76b6ad6d157f1.tar.xz alpine_aports-824bb08c5d3e74eb9d15b2585db76b6ad6d157f1.zip |
community/ruby-nokogiri: upgrade to 1.8.3
-rw-r--r-- | community/ruby-nokogiri/APKBUILD | 8 | ||||
-rw-r--r-- | community/ruby-nokogiri/fix-extconf.patch | 11 |
2 files changed, 16 insertions, 3 deletions
diff --git a/community/ruby-nokogiri/APKBUILD b/community/ruby-nokogiri/APKBUILD index e8ee05f802..65ac7c920c 100644 --- a/community/ruby-nokogiri/APKBUILD +++ b/community/ruby-nokogiri/APKBUILD | |||
@@ -2,7 +2,7 @@ | |||
2 | # Maintainer: Jakub Jirutka <jakub@jirutka.cz> | 2 | # Maintainer: Jakub Jirutka <jakub@jirutka.cz> |
3 | pkgname=ruby-nokogiri | 3 | pkgname=ruby-nokogiri |
4 | _gemname=${pkgname#ruby-} | 4 | _gemname=${pkgname#ruby-} |
5 | pkgver=1.8.2 | 5 | pkgver=1.8.3 |
6 | pkgrel=0 | 6 | pkgrel=0 |
7 | pkgdesc="An HTML, XML, SAX, and Reader parser" | 7 | pkgdesc="An HTML, XML, SAX, and Reader parser" |
8 | url="http://nokogiri.org/" | 8 | url="http://nokogiri.org/" |
@@ -11,7 +11,8 @@ license="MIT" | |||
11 | depends="ruby ruby-mini_portile2" | 11 | depends="ruby ruby-mini_portile2" |
12 | makedepends="ruby-dev libxml2-dev libxslt-dev" | 12 | makedepends="ruby-dev libxml2-dev libxslt-dev" |
13 | checkdepends="ruby-minitest" | 13 | checkdepends="ruby-minitest" |
14 | source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" | 14 | source="https://rubygems.org/downloads/$_gemname-$pkgver.gem |
15 | fix-extconf.patch" | ||
15 | builddir="$srcdir/$_gemname-$pkgver" | 16 | builddir="$srcdir/$_gemname-$pkgver" |
16 | options="!check" # FIXME: some tests fails due to encoding issues | 17 | options="!check" # FIXME: some tests fails due to encoding issues |
17 | 18 | ||
@@ -78,4 +79,5 @@ package() { | |||
78 | build_all test_all Rakefile .[a-z]* *.md *.rdoc *.txt *.yml || true | 79 | build_all test_all Rakefile .[a-z]* *.md *.rdoc *.txt *.yml || true |
79 | } | 80 | } |
80 | 81 | ||
81 | sha512sums="e0ab71853440ca599ff693da809b8776ebc9a8a8a68035ef79b31bdee3b3dccbe4023750972b5fbed6f908e171633edee7d8f7276c35dba20fc4d2c7dbf6cf2f nokogiri-1.8.2.gem" | 82 | sha512sums="4825cc19667393c41a0c5a662474556991da3955fb17e67a363f979da8fadf0680eb4f89a7c87b71f6deba9db64e67bd463d5562d58604ea71a168abb8215eed nokogiri-1.8.3.gem |
83 | 514cc33109357457dfd7739991f3d270fe62a26313a5dfed0f539e89e4ed8de7dd08744540c7becc93ad12e6d096f2c4b4c3fb15f47b827a65352b895ab62a89 fix-extconf.patch" | ||
diff --git a/community/ruby-nokogiri/fix-extconf.patch b/community/ruby-nokogiri/fix-extconf.patch new file mode 100644 index 0000000000..6eb029535f --- /dev/null +++ b/community/ruby-nokogiri/fix-extconf.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- a/ext/nokogiri/extconf.rb | ||
2 | +++ b/ext/nokogiri/extconf.rb | ||
3 | @@ -434,7 +434,7 @@ | ||
4 | |||
5 | if RbConfig::MAKEFILE_CONFIG['CC'] =~ /gcc/ | ||
6 | $CFLAGS << " -O3" unless $CFLAGS[/-O\d/] | ||
7 | - $CFLAGS << " -Wall -Wcast-qual -Wwrite-strings -Wextra -Wmissing-noreturn -Winline" | ||
8 | + $CFLAGS << " -Wall -Wcast-qual -Wwrite-strings -Wmissing-noreturn -Winline" | ||
9 | end | ||
10 | |||
11 | case | ||