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 | aports-824bb08c5d3e74eb9d15b2585db76b6ad6d157f1.tar.bz2 aports-824bb08c5d3e74eb9d15b2585db76b6ad6d157f1.tar.xz |
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 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=ruby-nokogiri _gemname=${pkgname#ruby-} -pkgver=1.8.2 +pkgver=1.8.3 pkgrel=0 pkgdesc="An HTML, XML, SAX, and Reader parser" url="http://nokogiri.org/" @@ -11,7 +11,8 @@ license="MIT" depends="ruby ruby-mini_portile2" makedepends="ruby-dev libxml2-dev libxslt-dev" checkdepends="ruby-minitest" -source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" +source="https://rubygems.org/downloads/$_gemname-$pkgver.gem + fix-extconf.patch" builddir="$srcdir/$_gemname-$pkgver" options="!check" # FIXME: some tests fails due to encoding issues @@ -78,4 +79,5 @@ package() { build_all test_all Rakefile .[a-z]* *.md *.rdoc *.txt *.yml || true } -sha512sums="e0ab71853440ca599ff693da809b8776ebc9a8a8a68035ef79b31bdee3b3dccbe4023750972b5fbed6f908e171633edee7d8f7276c35dba20fc4d2c7dbf6cf2f nokogiri-1.8.2.gem" +sha512sums="4825cc19667393c41a0c5a662474556991da3955fb17e67a363f979da8fadf0680eb4f89a7c87b71f6deba9db64e67bd463d5562d58604ea71a168abb8215eed nokogiri-1.8.3.gem +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 @@ +--- a/ext/nokogiri/extconf.rb ++++ b/ext/nokogiri/extconf.rb +@@ -434,7 +434,7 @@ + + if RbConfig::MAKEFILE_CONFIG['CC'] =~ /gcc/ + $CFLAGS << " -O3" unless $CFLAGS[/-O\d/] +- $CFLAGS << " -Wall -Wcast-qual -Wwrite-strings -Wextra -Wmissing-noreturn -Winline" ++ $CFLAGS << " -Wall -Wcast-qual -Wwrite-strings -Wmissing-noreturn -Winline" + end + + case |