parent
e156cc12fd
commit
2b6ca764bb
@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.ruby-lang.org/
|
|||||||
TERMUX_PKG_DESCRIPTION="Dynamic programming language with a focus on simplicity and productivity"
|
TERMUX_PKG_DESCRIPTION="Dynamic programming language with a focus on simplicity and productivity"
|
||||||
_MAJOR_VERSION=2.4
|
_MAJOR_VERSION=2.4
|
||||||
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.1
|
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.1
|
||||||
|
TERMUX_PKG_REVISION=1
|
||||||
TERMUX_PKG_SRCURL=https://cache.ruby-lang.org/pub/ruby/${_MAJOR_VERSION}/ruby-${TERMUX_PKG_VERSION}.tar.xz
|
TERMUX_PKG_SRCURL=https://cache.ruby-lang.org/pub/ruby/${_MAJOR_VERSION}/ruby-${TERMUX_PKG_VERSION}.tar.xz
|
||||||
TERMUX_PKG_SHA256=4fc8a9992de3e90191de369270ea4b6c1b171b7941743614cc50822ddc1fe654
|
TERMUX_PKG_SHA256=4fc8a9992de3e90191de369270ea4b6c1b171b7941743614cc50822ddc1fe654
|
||||||
# libbffi is used by the fiddle extension module:
|
# libbffi is used by the fiddle extension module:
|
||||||
|
10
packages/ruby/ext-syslog-extconf.rb.patch
Normal file
10
packages/ruby/ext-syslog-extconf.rb.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
diff -u -r ../ruby-2.4.1/ext/syslog/extconf.rb ./ext/syslog/extconf.rb
|
||||||
|
--- ../ruby-2.4.1/ext/syslog/extconf.rb 2015-12-16 06:31:54.000000000 +0100
|
||||||
|
+++ ./ext/syslog/extconf.rb 2017-04-26 22:52:43.683243769 +0200
|
||||||
|
@@ -7,5 +7,6 @@
|
||||||
|
have_header("syslog.h") &&
|
||||||
|
have_func("openlog") &&
|
||||||
|
have_func("setlogmask") &&
|
||||||
|
+ have_library("log", "__android_log_write") &&
|
||||||
|
create_makefile("syslog")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user