Remove ruby21-base package since Ruby 2.1 is EOL.
Please use ruby23-base, ruby24-base or ruby22-base.
This commit is contained in:
parent
4c0380ed44
commit
9f08d58db9
47 changed files with 0 additions and 2617 deletions
|
@ -1,6 +0,0 @@
|
|||
bin/erb @PREFIX@/bin/erb@RUBY_SUFFIX@
|
||||
bin/gem @PREFIX@/bin/gem@RUBY_SUFFIX@
|
||||
bin/irb @PREFIX@/bin/irb@RUBY_SUFFIX@
|
||||
bin/rake @PREFIX@/bin/rake@RUBY_SUFFIX@
|
||||
bin/ruby @PREFIX@/bin/@RUBY_NAME@
|
||||
bin/testrb @PREFIX@/bin/testrb@RUBY_SUFFIX@
|
|
@ -1,14 +0,0 @@
|
|||
# $NetBSD: DEINSTALL,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
RUBY_GEM_BASE="${PREFIX}/@RUBY_GEM_BASE@"
|
||||
RUBY_SITERIDIR="${PREFIX}/@RUBY_SITERIDIR@"
|
||||
|
||||
case ${STAGE} in
|
||||
DEINSTALL)
|
||||
${RM} -f ${RUBY_SITERIDIR}/created.rid
|
||||
;;
|
||||
POST-DEINSTALL)
|
||||
${RM} -rf ${GEM_HOME}
|
||||
${RMDIR} ${RUBY_GEM_BASE} 2>/dev/null || true
|
||||
;;
|
||||
esac
|
|
@ -1,19 +0,0 @@
|
|||
Ruby is the interpreted scripting language for quick and
|
||||
easy object-oriented programming. It has many features to
|
||||
process text files and to do system management tasks (as in
|
||||
Perl). It is simple, straight-forward, and extensible.
|
||||
|
||||
Features of Ruby are shown below.
|
||||
|
||||
+ Simple Syntax
|
||||
+ *Normal* Object-Oriented features (ex. class, method calls)
|
||||
+ *Advanced* Object-Oriented features (ex. Mix-in, Singleton-method)
|
||||
+ Operator Overloading
|
||||
+ Exception Handling
|
||||
+ Iterators and Closures
|
||||
+ Garbage Collection
|
||||
+ Dynamic Loading of Object files (on some architecture)
|
||||
+ Highly Portable (works on many UNIX machines, and on DOS,
|
||||
Windows, Mac, BeOS etc.)
|
||||
|
||||
This package is Ruby 2.1.1 release minimum base package.
|
|
@ -1,14 +0,0 @@
|
|||
# $NetBSD: INSTALL,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
DATE="@DATE@"
|
||||
RUBY_SITERIDIR="${PREFIX}/@RUBY_SITERIDIR@"
|
||||
rid="${RUBY_SITERIDIR}/created.rid"
|
||||
|
||||
case ${STAGE} in
|
||||
POST-INSTALL)
|
||||
if [ -d ${RUBY_SITERIDIR} ]; then
|
||||
${DATE} > ${rid}
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
===========================================================================
|
||||
$NetBSD: MESSAGE,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
Note that this is a minimal package.
|
||||
|
||||
The original ${RUBY_DISTNAME} distribution includes more extension
|
||||
libraries, some of which are provided as separate packages:
|
||||
|
||||
databases/ruby-gdbm: GDBM module
|
||||
devel/ruby-fiddle: Fiddle module
|
||||
devel/ruby-readline: readline module
|
||||
x11/ruby-tk: Tk modules
|
||||
|
||||
===========================================================================
|
|
@ -1,100 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.26 2017/05/30 15:46:21 taca Exp $
|
||||
#
|
||||
|
||||
DISTNAME= ${RUBY_DISTNAME}
|
||||
PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION}
|
||||
CATEGORIES= lang ruby
|
||||
MASTER_SITES= ${MASTER_SITE_RUBY}
|
||||
|
||||
MAINTAINER= taca@NetBSD.org
|
||||
HOMEPAGE= ${RUBY_HOMEPAGE}
|
||||
COMMENT= Ruby ${RUBY_VERSION} release minimum base package
|
||||
|
||||
RUBY_VERSIONS_ACCEPTED= 21
|
||||
|
||||
USE_LANGUAGES= c c99
|
||||
USE_TOOLS+= pax yacc pkg-config
|
||||
GNU_CONFIGURE= yes
|
||||
TEST_TARGET= test
|
||||
CONFIGURE_ARGS+= --enable-shared
|
||||
WRKSRC= ${RUBY_WRKSRC}
|
||||
|
||||
.include "options.mk"
|
||||
.include "../../lang/ruby/platform.mk"
|
||||
|
||||
.if !empty(RUBY_SUFFIX)
|
||||
CONFIGURE_ARGS+= --program-suffix=${RUBY_SUFFIX}
|
||||
CONFIGURE_ARGS+= --with-soname=${RUBY_NAME}
|
||||
CONFIGURE_ARGS+= --with-ruby-version=${RUBY_VER_DIR}
|
||||
CONFIGURE_ARGS+= --with-ruby-pc="ruby-${RUBY_VERSION}.pc"
|
||||
.endif
|
||||
|
||||
DOCS= COPYING COPYING.ja ChangeLog NEWS README \
|
||||
README.EXT README.EXT.ja README.ja \
|
||||
doc/ChangeLog-1.8.0 doc/ChangeLog-1.9.3 doc/ChangeLog-YARV \
|
||||
doc/NEWS-1.8.7 doc/NEWS-1.9.1 doc/NEWS-1.9.2 doc/NEWS-1.9.3 \
|
||||
doc/etc.rd.ja doc/forwardable.rd.ja doc/globals.rdoc \
|
||||
doc/irb/irb-tools.rd.ja doc/irb/irb.rd.ja \
|
||||
doc/pty/README.expect.ja doc/pty/README.ja doc/shell.rd.ja
|
||||
EXT_DOCS= syslog/syslog.txt
|
||||
|
||||
BIGDECIMAL_EXAMPLES= linear.rb nlsolve.rb pi.rb
|
||||
OPENSSL_EXAMPLES= c_rehash.rb cert2text.rb certstore.rb cipher.rb \
|
||||
crlstore.rb echo_cli.rb echo_svr.rb gen_csr.rb \
|
||||
smime_read.rb smime_write.rb wget.rb
|
||||
|
||||
REPLACE_RUBY= bin/erb bin/gem bin/irb bin/rake bin/rdoc \
|
||||
bin/ri bin/testrb
|
||||
REPLACE_RUBY_DIRS= ext lib sample
|
||||
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 \
|
||||
${RUBY_DOC}/irb ${RUBY_DOC}/pty ${RUBY_DOC}/ripper \
|
||||
${RUBY_DOC}/stringio \
|
||||
${RUBY_EG}/bigdecimal ${RUBY_EG}/pty
|
||||
# ${RUBY_ARCHINC} ${RUBY_ARCHLIB}
|
||||
EMPTY_DIRS= generator/template markup/simple_markup
|
||||
|
||||
post-extract:
|
||||
${CP} ${FILESDIR}/AddTrustExternalCARoot-2048.pem \
|
||||
${WRKSRC}/lib/rubygems/ssl_certs
|
||||
|
||||
pre-configure:
|
||||
${RM} -f ${WRKSRC}/ext/gdbm/extconf.rb
|
||||
${RM} -f ${WRKSRC}/ext/fiddle/extconf.rb
|
||||
${RM} -f ${WRKSRC}/ext/readline/extconf.rb
|
||||
${RM} -f ${WRKSRC}/ext/tk/extconf.rb
|
||||
|
||||
pre-install:
|
||||
cd ${WRKSRC}/lib; \
|
||||
${FIND} . \( -name '*.orig' -o -name '*.orig_dist' \) \
|
||||
-exec ${RM} -f {} \;
|
||||
.for f in ${EMPTY_DIRS}
|
||||
${RMDIR} ${WRKSRC}/lib/rdoc/${f} 2>/dev/null || ${TRUE}
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/${f:C/^doc\///}
|
||||
.endfor
|
||||
.for f in ${EXT_DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/ext/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}
|
||||
.endfor
|
||||
cd ${WRKSRC}/ext/ripper; ${PAX} -rw README ${DESTDIR}${PREFIX}/${RUBY_DOC}/ripper
|
||||
cd ${WRKSRC}/ext/stringio; ${PAX} -rw README ${DESTDIR}${PREFIX}/${RUBY_DOC}/stringio
|
||||
cd ${WRKSRC}/sample; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_EG}
|
||||
.for f in ${BIGDECIMAL_EXAMPLES}
|
||||
${INSTALL_DATA} ${RUBY_WRKSRC}/ext/bigdecimal/sample/${f} \
|
||||
${DESTDIR}${PREFIX}/${RUBY_EG}/bigdecimal
|
||||
.endfor
|
||||
.for f in ${OPENSSL_EXAMPLES}
|
||||
${INSTALL_DATA} ${RUBY_WRKSRC}/sample/openssl/${f} \
|
||||
${DESTDIR}${PREFIX}/${RUBY_EG}/openssl
|
||||
.endfor
|
||||
${RUBY_GENERATE_PLIST}
|
||||
|
||||
.include "../../mk/bdb.buildlink3.mk"
|
||||
.include "../../converters/libiconv/buildlink3.mk"
|
||||
.include "../../devel/zlib/buildlink3.mk"
|
||||
.include "../../security/openssl/buildlink3.mk"
|
||||
.include "../../textproc/libyaml/buildlink3.mk"
|
||||
.include "../../lang/ruby/Makefile.common"
|
||||
.include "../../mk/bsd.pkg.mk"
|
File diff suppressed because it is too large
Load diff
|
@ -1,42 +0,0 @@
|
|||
$NetBSD: distinfo,v 1.25 2016/05/15 14:15:14 taca Exp $
|
||||
|
||||
SHA1 (ruby-2.1.10.tar.bz2) = 22dcd759d8cbb14c8735988fbc7ee5c35f9d4720
|
||||
RMD160 (ruby-2.1.10.tar.bz2) = 10715c21fec59b94e1fb4077b2aa71367adf422e
|
||||
SHA512 (ruby-2.1.10.tar.bz2) = 4b7213695416876e4de3cbce912f61ac89db052c74f0daa8424477991cfc49b07300e960177ff576b634a97ee8afef3c5aded5d5806329dbd01d0ce7b42b9b63
|
||||
Size (ruby-2.1.10.tar.bz2) = 12015299 bytes
|
||||
SHA1 (patch-configure) = 7f1f6d2dc7d32c96d6ae65562a9bc6d50d2b79dd
|
||||
SHA1 (patch-eval.c) = a1e86d4ed1729398393e83d519e991259c6163de
|
||||
SHA1 (patch-eval__error.c) = cc313587bb24e16e4702f784b30e64618ae3f5a4
|
||||
SHA1 (patch-ext_dbm_extconf.rb) = 08520edd956e17cb6cc80b6ee2c77af77a834bd2
|
||||
SHA1 (patch-ext_openssl_ossl__ssl.c) = d6aa1a2036597e7b51411d6eed9501f6a264c26c
|
||||
SHA1 (patch-ext_tk_lib_tk_autoload.rb) = e8bcb93feae90fd46531a412f6c963a6d5d2c132
|
||||
SHA1 (patch-ext_tk_lib_tk_fontchooser.rb) = cb0155332e5f519ada386fae770cd2f879527323
|
||||
SHA1 (patch-ext_tk_lib_tk_tk__mac.rb) = 24b9f282558200780adbf93e71edd1aa52d1c82b
|
||||
SHA1 (patch-ext_tk_lib_tkextlib_tcllib_validator.rb) = fb0cb5a138c2ae311d368ec4472ddd6bc36a0709
|
||||
SHA1 (patch-ext_tk_lib_tkextlib_tile_treeview.rb) = e31201b5d0f5c333f14b795ac5e670fdb9a250cf
|
||||
SHA1 (patch-ext_tk_lib_tkextlib_tkimg_dted.rb) = b0786f50ebab4b5a0ccf916054bc13fbd6820541
|
||||
SHA1 (patch-ext_tk_lib_tkextlib_tkimg_raw.rb) = 92a4bc7b995554b9933b1e9f9ce4df87e365bcfb
|
||||
SHA1 (patch-lib_mkmf.rb) = 04607b73702a8ee7edfbb371ebf88ebe8a4fc428
|
||||
SHA1 (patch-lib_rdoc_ri_driver.rb) = 5bdd3ed6f50a2ea79f643c6bebd7ad0063e79051
|
||||
SHA1 (patch-lib_rubygems.rb) = adfbb16b9d90fe38e253bcbd34d0efa712077f21
|
||||
SHA1 (patch-lib_rubygems_commands_setup__command.rb) = 46991d63256d0d3cc2f707fb286d1691331ad40e
|
||||
SHA1 (patch-lib_rubygems_commands_uninstall__command.rb) = 13b7f3bceb2876228027447640d51fde2700a970
|
||||
SHA1 (patch-lib_rubygems_commands_unpack__command.rb) = 48824278d5a0f0435d44755fbfcda55032792ea0
|
||||
SHA1 (patch-lib_rubygems_config__file.rb) = 0d863d3f886c1ed83585d96064725e7db7bec1bc
|
||||
SHA1 (patch-lib_rubygems_defaults.rb) = 5a55a54988b360b995e05e6dda7ed25d9cd1d90f
|
||||
SHA1 (patch-lib_rubygems_dependency__installer.rb) = d88441fe44de8ee61a5548dfbe0c12aa2bb5ace4
|
||||
SHA1 (patch-lib_rubygems_install__update__options.rb) = 9a15d509928aa0440691bef8ad43bbfd2688542f
|
||||
SHA1 (patch-lib_rubygems_installer.rb) = e3c077156f135b9a8a368ea39e2728a60e6f4378
|
||||
SHA1 (patch-lib_rubygems_platform.rb) = 965a916814127ef78f43b89b7af5e06d5d83b24f
|
||||
SHA1 (patch-lib_rubygems_specification.rb) = 0b30e2da8b5621ffc0f91fadc94f06ba30f47d41
|
||||
SHA1 (patch-lib_rubygems_uninstaller.rb) = 87fdddc435440aab57a6d44aba64abd0b2de6907
|
||||
SHA1 (patch-man_erb.1) = 1fe6ce4f4fe6418bfabb5e132a63596562030116
|
||||
SHA1 (patch-man_irb.1) = 2bf807b4c1b1c68d1f518caa054cfd900e0fedb7
|
||||
SHA1 (patch-man_ri.1) = af855135020f18c361cc55af676adc75e26bf4d3
|
||||
SHA1 (patch-man_ruby.1) = 5bc1e2e7c4c640659e33d0131d0982ce4e0d9fe0
|
||||
SHA1 (patch-template_verconf.h.in) = 1f4c0676d1335a9fc32ccf8cbfa41678dde96dcd
|
||||
SHA1 (patch-test_rubygems_test__gem.rb) = 4d8cc50c2782e29eefea0ea6deedf295a7f09bc2
|
||||
SHA1 (patch-thread.c) = 93bba713014dfb92a59ba9715f50f23c5329de6a
|
||||
SHA1 (patch-tool_rbinstall.rb) = 845e5136dc2b5e3c41aeb833890e786544d6f5d5
|
||||
SHA1 (patch-vm__eval.c) = b0739a5e64f99ce3adb86d7d676759cbc3aa7b1b
|
||||
SHA1 (patch-vm__trace.c) = 8e992c214b69c6237d4c4418aaba892079f9873e
|
|
@ -1,25 +0,0 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU
|
||||
MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs
|
||||
IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290
|
||||
MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux
|
||||
FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h
|
||||
bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v
|
||||
dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt
|
||||
H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9
|
||||
uMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX
|
||||
mk6vBbOmcZSccbNQYArHE504B4YCqOmoaSYYkKtMsE8jqzpPhNjfzp/haW+710LX
|
||||
a0Tkx63ubUFfclpxCDezeWWkWaCUN/cALw3CknLa0Dhy2xSoRcRdKn23tNbE7qzN
|
||||
E0S3ySvdQwAl+mG5aWpYIxG3pzOPVnVZ9c0p10a3CitlttNCbxWyuHv77+ldU9U0
|
||||
WicCAwEAAaOB3DCB2TAdBgNVHQ4EFgQUrb2YejS0Jvf6xCZU7wO94CTLVBowCwYD
|
||||
VR0PBAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wgZkGA1UdIwSBkTCBjoAUrb2YejS0
|
||||
Jvf6xCZU7wO94CTLVBqhc6RxMG8xCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRU
|
||||
cnVzdCBBQjEmMCQGA1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5ldHdvcmsx
|
||||
IjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENBIFJvb3SCAQEwDQYJKoZIhvcN
|
||||
AQEFBQADggEBALCb4IUlwtYj4g+WBpKdQZic2YR5gdkeWxQHIzZlj7DYd7usQWxH
|
||||
YINRsPkyPef89iYTx4AWpb9a/IfPeHmJIZriTAcKhjW88t5RxNKWt9x+Tu5w/Rw5
|
||||
6wwCURQtjr0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvC
|
||||
Nr4TDea9Y355e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEX
|
||||
c4g/VhsxOBi0cQ+azcgOno4uG+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5a
|
||||
mnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ=
|
||||
-----END CERTIFICATE-----
|
|
@ -1,37 +0,0 @@
|
|||
# $NetBSD: hacks.mk,v 1.2 2014/12/15 11:46:35 jperkin Exp $
|
||||
|
||||
.if !defined(RUBY21_BASE_HACKS_MK)
|
||||
RUBY21_BASE_HACKS_MK= defined
|
||||
|
||||
.include "../../mk/compiler.mk"
|
||||
|
||||
### [ Sun Jun 5 10:05:39 CEST 2005 : seb ]
|
||||
### On NetBSD/sparc64, gcc optimisation, at least for version 3.3.3,
|
||||
### produces segmentation faulting miniruby binary.
|
||||
### Also note that `-O' level optimisation produces a miniruby
|
||||
### binary that loops while running the installation scripts.
|
||||
###
|
||||
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
|
||||
. if !empty(CC_VERSION:Mgcc-3.3.*)
|
||||
PKG_HACKS+= optimisation
|
||||
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
|
||||
. endif
|
||||
### ruby193 binary built on NetBSD/sparc64 with gcc 4.5.1 and the default -O2
|
||||
### dumps core during generating RDocs.
|
||||
### Using -O1 works around.
|
||||
. if !empty(CC_VERSION:Mgcc-4.5.*)
|
||||
PKG_HACKS+= optimisation
|
||||
BUILDLINK_TRANSFORM+= opt:-O2:-O1
|
||||
. endif
|
||||
.endif
|
||||
|
||||
# On NetBSD/sh3el 6.0, the default -Os causes an error on compiling node.c:
|
||||
# {standard input}: Assembler messages: {standard input}:1458: \
|
||||
# Error: pcrel too far
|
||||
# and -O1 works around.
|
||||
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sh3*) && !empty(CC_VERSION:Mgcc-4.5.*)
|
||||
PKG_HACKS+= optimisation
|
||||
BUILDLINK_TRANSFORM+= opt:-Os:-O1 rm:-freorder-blocks
|
||||
.endif
|
||||
|
||||
.endif # RUBY21_BASE_HACKS_MK
|
|
@ -1,16 +0,0 @@
|
|||
# $NetBSD: options.mk,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.ruby
|
||||
PKG_SUPPORTED_OPTIONS= ruby-build-ri-db
|
||||
PKG_SUGGESTED_OPTIONS= ruby-build-ri-db
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mruby-build-ri-db)
|
||||
#PRIVILEGED_STAGES+= clean
|
||||
RUBY_DYNAMIC_DIRS+= ${RUBY_SYSRIDIR}
|
||||
# Use huge memory.
|
||||
UNLIMIT_RESOURCES+= datasize
|
||||
.else
|
||||
CONFIGURE_ARGS+= --enable-install-doc=no
|
||||
.endif
|
|
@ -1,119 +0,0 @@
|
|||
$NetBSD: patch-configure,v 1.4 2015/04/22 19:04:56 sevan Exp $
|
||||
|
||||
* Adding Interix support.
|
||||
* Ignore doxygen.
|
||||
|
||||
--- configure.orig 2014-11-13 13:38:30.000000000 +0000
|
||||
+++ configure
|
||||
@@ -5271,7 +5271,7 @@ esac
|
||||
else
|
||||
if test x"$target_alias" = x; then
|
||||
case "$target_os" in #(
|
||||
- darwin*) :
|
||||
+ notdarwin*) :
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for real target cpu" >&5
|
||||
$as_echo_n "checking for real target cpu... " >&6; }
|
||||
@@ -8631,6 +8631,10 @@ esac
|
||||
ac_cv_func_isinf=yes
|
||||
ac_cv_func_isnan=yes
|
||||
;; #(
|
||||
+ interix*) :
|
||||
+ LIBS="-lm $LIBS"
|
||||
+ ac_cv_func_getpgrp_void=yes
|
||||
+ ;; #(
|
||||
nacl) :
|
||||
|
||||
LIBS="-lm $LIBS"
|
||||
@@ -16323,6 +16327,8 @@ else
|
||||
# ifdef _MSC_VER
|
||||
# include <malloc.h>
|
||||
# define alloca _alloca
|
||||
+# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
|
||||
+# include <stdlib.h>
|
||||
# else
|
||||
# ifdef HAVE_ALLOCA_H
|
||||
# include <alloca.h>
|
||||
@@ -20040,7 +20046,9 @@ esac ;; #(
|
||||
interix*) :
|
||||
: ${LDSHARED='$(CC) -shared'}
|
||||
XLDFLAGS="$XLDFLAGS -Wl,-E"
|
||||
+ DLDFLAGS="$DLDFLAGS "'-Wl,-h,$(.TARGET) -Wl,--image-base,$$(($$RANDOM %4096/2*262144+1342177280))'
|
||||
LIBPATHFLAG=" -L%1\$-s"
|
||||
+ RPATHFLAG=' -Wl,-R%1$-s'
|
||||
rb_cv_dlopen=yes ;; #(
|
||||
freebsd*|dragonfly*) :
|
||||
|
||||
@@ -21041,7 +21049,7 @@ esac
|
||||
freebsd*|dragonfly*) :
|
||||
|
||||
SOLIBS='$(LIBS)'
|
||||
- LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)'
|
||||
+ LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)$(TEENY)'
|
||||
if test "$rb_cv_binary_elf" != "yes" ; then
|
||||
LIBRUBY_SO="$LIBRUBY_SO.\$(TEENY)"
|
||||
LIBRUBY_ALIASES=''
|
||||
@@ -21120,7 +21128,12 @@ esac
|
||||
;; #(
|
||||
interix*) :
|
||||
|
||||
- LIBRUBYARG_SHARED='-L. -L${libdir} -l$(RUBY_SO_NAME)'
|
||||
+ SOLIBS='$(LIBS)'
|
||||
+ LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR).$(TEENY)'
|
||||
+ # link explicitly to 0x48000000
|
||||
+ LIBRUBY_DLDFLAGS='-Wl,-h,lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) -Wl,--image-base,1207959552'
|
||||
+ LIBRUBYARG_SHARED='-Wl,-R -Wl,${PREFIX}/lib} -L${libdir} -L. -l$(RUBY_SO_NAME)'
|
||||
+ LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) lib$(RUBY_SO_NAME).so'
|
||||
;; #(
|
||||
mingw*|cygwin*|mswin*) :
|
||||
|
||||
@@ -21278,7 +21291,7 @@ esac
|
||||
esac
|
||||
if test "$enable_rpath" = yes; then
|
||||
test -z "$LIBRUBY_RPATHFLAGS" || LIBRUBY_RPATHFLAGS="$LIBRUBY_RPATHFLAGS "
|
||||
- LIBRUBY_RPATHFLAGS="$LIBRUBY_RPATHFLAGS${linker_flag}-R ${linker_flag}${libprefix}"
|
||||
+ LIBRUBY_RPATHFLAGS="$LIBRUBY_RPATHFLAGS${linker_flag}-R ${linker_flag}${PREFIX}/lib"
|
||||
test "x$cross_compiling" = xyes || LIBRUBY_RPATHFLAGS="$LIBRUBY_RPATHFLAGS -L${libprefix}"
|
||||
LIBRUBYARG_SHARED="$LIBRUBY_RPATHFLAGS $LIBRUBYARG_SHARED"
|
||||
LIBRUBYARG_STATIC="$LIBRUBY_RPATHFLAGS $LIBRUBYARG_STATIC"
|
||||
@@ -21591,11 +21604,7 @@ if test "$install_doc" != no; then
|
||||
else
|
||||
RDOCTARGET="nodoc"
|
||||
fi
|
||||
- if test "$install_capi" != no -a -n "$DOXYGEN"; then
|
||||
- CAPITARGET="capi"
|
||||
- else
|
||||
- CAPITARGET="nodoc"
|
||||
- fi
|
||||
+ CAPITARGET="nodoc"
|
||||
else
|
||||
RDOCTARGET="nodoc"
|
||||
CAPITARGET="nodoc"
|
||||
@@ -22180,7 +22189,7 @@ if test ${RUBY_LIB_VERSION_STYLE+set}; t
|
||||
elif test -z "${ruby_version}"; then
|
||||
as_fn_error $? "No ruby version, No place for bundled libraries" "$LINENO" 5
|
||||
else
|
||||
- RUBY_LIB_VERSION="\"${ruby_version}\""
|
||||
+ RUBY_LIB_VERSION="${ruby_version}"
|
||||
fi
|
||||
|
||||
|
||||
@@ -23686,17 +23695,7 @@ which seems to be undefined. Please mak
|
||||
"Makefile":F)
|
||||
tmpmk=confmk$$.tmp
|
||||
{
|
||||
- if test ${VCS+set}; then
|
||||
- :
|
||||
- elif svn info "$srcdir" > /dev/null 2>&1; then
|
||||
- VCS='svn'
|
||||
- elif test -d "$srcdir/.git/svn"; then
|
||||
- VCS='git svn'
|
||||
- elif test -d "$srcdir/.git"; then
|
||||
- VCS='git'
|
||||
- else
|
||||
- VCS='echo cannot'
|
||||
- fi
|
||||
+ VCS='echo cannot'
|
||||
case "$VCS" in #(
|
||||
svn) :
|
||||
VCSUP='$(VCS) up $(SVNUPOPTIONS)' ;; #(
|
|
@ -1,22 +0,0 @@
|
|||
$NetBSD: patch-eval.c,v 1.1 2015/11/20 14:31:59 joerg Exp $
|
||||
|
||||
--- eval.c.orig 2015-11-16 14:50:49.000000000 +0000
|
||||
+++ eval.c
|
||||
@@ -743,7 +743,7 @@ rb_rescue2(VALUE (* b_proc) (ANYARGS), V
|
||||
{
|
||||
int state;
|
||||
rb_thread_t *th = GET_THREAD();
|
||||
- rb_control_frame_t *cfp = th->cfp;
|
||||
+ rb_control_frame_t *volatile cfp = th->cfp;
|
||||
volatile VALUE result = Qfalse;
|
||||
volatile VALUE e_info = th->errinfo;
|
||||
va_list args;
|
||||
@@ -809,7 +809,7 @@ rb_protect(VALUE (* proc) (VALUE), VALUE
|
||||
volatile VALUE result = Qnil;
|
||||
volatile int status;
|
||||
rb_thread_t *th = GET_THREAD();
|
||||
- rb_control_frame_t *cfp = th->cfp;
|
||||
+ rb_control_frame_t * volatile cfp = th->cfp;
|
||||
struct rb_vm_protect_tag protect_tag;
|
||||
rb_jmpbuf_t org_jmpbuf;
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
$NetBSD: patch-eval__error.c,v 1.1 2015/11/20 14:31:59 joerg Exp $
|
||||
|
||||
--- eval_error.c.orig 2015-11-16 15:02:19.000000000 +0000
|
||||
+++ eval_error.c
|
||||
@@ -80,9 +80,9 @@ static void
|
||||
error_print(void)
|
||||
{
|
||||
volatile VALUE errat = Qundef;
|
||||
- rb_thread_t *th = GET_THREAD();
|
||||
- VALUE errinfo = th->errinfo;
|
||||
- int raised_flag = th->raised_flag;
|
||||
+ rb_thread_t * volatile th = GET_THREAD();
|
||||
+ volatile VALUE errinfo = th->errinfo;
|
||||
+ volatile int raised_flag = th->raised_flag;
|
||||
volatile VALUE eclass = Qundef, e = Qundef;
|
||||
const char *volatile einfo;
|
||||
volatile long elen;
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-ext_dbm_extconf.rb,v 1.1 2015/01/07 10:37:56 taca Exp $
|
||||
|
||||
Fix for Mac OS X 10.4 Tiger.
|
||||
|
||||
--- ext/dbm/extconf.rb.orig 2013-08-12 03:59:50.000000000 +0000
|
||||
+++ ext/dbm/extconf.rb
|
||||
@@ -136,7 +136,7 @@ def headers.db_check2(db, hdr)
|
||||
have_library("gdbm") or return false
|
||||
end
|
||||
|
||||
- if !have_type("DBM", hdr, hsearch)
|
||||
+ if !have_type("DBM", ["db.h", hdr], hsearch)
|
||||
return false
|
||||
end
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-ext_openssl_ossl__ssl.c,v 1.1 2016/03/24 16:29:50 taca Exp $
|
||||
|
||||
Utilize OPENSSL_NO_SSL2.
|
||||
|
||||
--- ext/openssl/ossl_ssl.c.orig 2015-11-18 11:34:19.000000000 +0000
|
||||
+++ ext/openssl/ossl_ssl.c
|
||||
@@ -128,7 +128,7 @@ struct {
|
||||
OSSL_SSL_METHOD_ENTRY(TLSv1_1_server),
|
||||
OSSL_SSL_METHOD_ENTRY(TLSv1_1_client),
|
||||
#endif
|
||||
-#if defined(HAVE_SSLV2_METHOD) && defined(HAVE_SSLV2_SERVER_METHOD) && \
|
||||
+#if !defined(OPENSSL_NO_SSL2) && defined(HAVE_SSLV2_METHOD) && defined(HAVE_SSLV2_SERVER_METHOD) && \
|
||||
defined(HAVE_SSLV2_CLIENT_METHOD)
|
||||
OSSL_SSL_METHOD_ENTRY(SSLv2),
|
||||
OSSL_SSL_METHOD_ENTRY(SSLv2_server),
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-ext_tk_lib_tk_autoload.rb,v 1.1 2014/12/14 14:00:17 taca Exp $
|
||||
|
||||
* Add tcl/tk 8.6 support.
|
||||
|
||||
--- ext/tk/lib/tk/autoload.rb.orig 2011-05-15 11:55:52.000000000 +0000
|
||||
+++ ext/tk/lib/tk/autoload.rb
|
||||
@@ -94,6 +94,8 @@ module Tk
|
||||
autoload :Y_Scrollable, 'tk/scrollable'
|
||||
autoload :Scrollable, 'tk/scrollable'
|
||||
|
||||
+ autoload :Fontchooser, 'tk/fontchooser'
|
||||
+
|
||||
autoload :Wm, 'tk/wm'
|
||||
autoload :Wm_for_General, 'tk/wm'
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
$NetBSD: patch-ext_tk_lib_tk_fontchooser.rb,v 1.1 2014/12/14 14:00:17 taca Exp $
|
||||
|
||||
* Add tcl/tk 8.6 support.
|
||||
|
||||
--- ext/tk/lib/tk/fontchooser.rb.orig 2011-05-15 11:55:52.000000000 +0000
|
||||
+++ ext/tk/lib/tk/fontchooser.rb
|
||||
@@ -8,6 +8,10 @@ module TkFont::Chooser
|
||||
extend TkCore
|
||||
end
|
||||
|
||||
+module Tk
|
||||
+ Fontchooser = TkFont::Chooser
|
||||
+end
|
||||
+
|
||||
class << TkFont::Chooser
|
||||
def method_missing(id, *args)
|
||||
name = id.id2name
|
|
@ -1,165 +0,0 @@
|
|||
$NetBSD: patch-ext_tk_lib_tk_tk__mac.rb,v 1.1 2014/12/14 14:00:17 taca Exp $
|
||||
|
||||
* Add tcl/tk 8.6 support.
|
||||
|
||||
--- /dev/null 2014-12-14 12:34:31.000000000 +0000
|
||||
+++ ext/tk/lib/tk/tk_mac.rb
|
||||
@@ -0,0 +1,158 @@
|
||||
+#
|
||||
+# tk/tk_mac.rb : Access Mac-Specific functionality on OS X from Tk
|
||||
+# (supported by Tk8.6 or later)
|
||||
+#
|
||||
+# ATTENTION !!
|
||||
+# This is NOT TESTED. Because I have no test-environment.
|
||||
+#
|
||||
+require 'tk'
|
||||
+
|
||||
+module Tk
|
||||
+ module Mac
|
||||
+ end
|
||||
+end
|
||||
+
|
||||
+module Tk::Mac
|
||||
+ extend TkCore
|
||||
+
|
||||
+ # event handler callbacks
|
||||
+ def self.def_ShowPreferences(cmd=Proc.new)
|
||||
+ ip_eval("proc ::tk::mac::ShowPreferences {} { #{install_cmd(cmd)} }")
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+ def self.def_OpenApplication(cmd=Proc.new)
|
||||
+ ip_eval("proc ::tk::mac::OpenApplication {} { #{install_cmd(cmd)} }")
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+ def self.def_ReopenApplication(cmd=Proc.new)
|
||||
+ ip_eval("proc ::tk::mac::ReopenApplication {} { #{install_cmd(cmd)} }")
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+ def self.def_OpenDocument(cmd=Proc.new)
|
||||
+ ip_eval("proc ::tk::mac::OpenDocument {args} { eval #{install_cmd(cmd)} $args }")
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+ def self.def_PrintDocument(cmd=Proc.new)
|
||||
+ ip_eval("proc ::tk::mac::PrintDocument {args} { eval #{install_cmd(cmd)} $args }")
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+ def self.def_Quit(cmd=Proc.new)
|
||||
+ ip_eval("proc ::tk::mac::Quit {} { #{install_cmd(cmd)} }")
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+ def self.def_OnHide(cmd=Proc.new)
|
||||
+ ip_eval("proc ::tk::mac::OnHide {} { #{install_cmd(cmd)} }")
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+ def self.def_OnShow(cmd=Proc.new)
|
||||
+ ip_eval("proc ::tk::mac::OnShow {} { #{install_cmd(cmd)} }")
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+ def self.def_ShowHelp(cmd=Proc.new)
|
||||
+ ip_eval("proc ::tk::mac::ShowHelp {} { #{install_cmd(cmd)} }")
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+
|
||||
+ # additional dialogs
|
||||
+ def self.standardAboutPanel
|
||||
+ tk_call('::tk::mac::standardAboutPanel')
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+
|
||||
+ # system configuration
|
||||
+ def self.useCompatibilityMetrics(mode)
|
||||
+ tk_call('::tk::mac::useCompatibilityMetrics', mode)
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+ def self.CGAntialiasLimit(limit)
|
||||
+ tk_call('::tk::mac::CGAntialiasLimit', limit)
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+ def self.antialiasedtext(num)
|
||||
+ tk_call('::tk::mac::antialiasedtext', num)
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+ def self.useThemedToplevel(mode)
|
||||
+ tk_call('::tk::mac::useThemedToplevel', mode)
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+end
|
||||
+
|
||||
+class Tk::Mac::IconBitmap < TkImage
|
||||
+ TkCommandNames = ['::tk::mac::iconBitmap'].freeze
|
||||
+
|
||||
+ def self.new(width, height, keys)
|
||||
+ if keys.kind_of?(Hash)
|
||||
+ name = nil
|
||||
+ if keys.key?(:imagename)
|
||||
+ name = keys[:imagename]
|
||||
+ elsif keys.key?('imagename')
|
||||
+ name = keys['imagename']
|
||||
+ end
|
||||
+ if name
|
||||
+ if name.kind_of?(TkImage)
|
||||
+ obj = name
|
||||
+ else
|
||||
+ name = _get_eval_string(name)
|
||||
+ obj = nil
|
||||
+ Tk_IMGTBL.mutex.synchronize{
|
||||
+ obj = Tk_IMGTBL[name]
|
||||
+ }
|
||||
+ end
|
||||
+ if obj
|
||||
+ if !(keys[:without_creating] || keys['without_creating'])
|
||||
+ keys = _symbolkey2str(keys)
|
||||
+ keys.delete('imagename')
|
||||
+ keys.delete('without_creating')
|
||||
+ obj.instance_eval{
|
||||
+ tk_call_without_enc('::tk::mac::iconBitmap',
|
||||
+ @path, width, height, *hash_kv(keys, true))
|
||||
+ }
|
||||
+ end
|
||||
+ return obj
|
||||
+ end
|
||||
+ end
|
||||
+ end
|
||||
+ (obj = self.allocate).instance_eval{
|
||||
+ Tk_IMGTBL.mutex.synchronize{
|
||||
+ initialize(width, height, keys)
|
||||
+ Tk_IMGTBL[@path] = self
|
||||
+ }
|
||||
+ }
|
||||
+ obj
|
||||
+ end
|
||||
+
|
||||
+ def initialize(width, height, keys)
|
||||
+ @path = nil
|
||||
+ without_creating = false
|
||||
+ if keys.kind_of?(Hash)
|
||||
+ keys = _symbolkey2str(keys)
|
||||
+ @path = keys.delete('imagename')
|
||||
+ without_creating = keys.delete('without_creating')
|
||||
+ end
|
||||
+ unless @path
|
||||
+ Tk_Image_ID.mutex.synchronize{
|
||||
+ @path = Tk_Image_ID.join(TkCore::INTERP._ip_id_)
|
||||
+ Tk_Image_ID[1].succ!
|
||||
+ }
|
||||
+ end
|
||||
+ unless without_creating
|
||||
+ tk_call_without_enc('::tk::mac::iconBitmap',
|
||||
+ @path, width, height, *hash_kv(keys, true))
|
||||
+ end
|
||||
+ end
|
||||
+end
|
|
@ -1,72 +0,0 @@
|
|||
$NetBSD: patch-ext_tk_lib_tkextlib_tcllib_validator.rb,v 1.1 2014/12/14 14:00:17 taca Exp $
|
||||
|
||||
* Add tcl/tk 8.6 support.
|
||||
|
||||
--- /dev/null 2014-12-14 12:38:18.000000000 +0000
|
||||
+++ ext/tk/lib/tkextlib/tcllib/validator.rb
|
||||
@@ -0,0 +1,65 @@
|
||||
+#
|
||||
+# tkextlib/tcllib/validator.rb
|
||||
+# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
|
||||
+#
|
||||
+# * Part of tcllib extension
|
||||
+# * Provides a unified validation API
|
||||
+#
|
||||
+
|
||||
+require 'tk'
|
||||
+require 'tkextlib/tcllib.rb'
|
||||
+
|
||||
+# TkPackage.require('widget::validator', '0.1')
|
||||
+TkPackage.require('widget::validator')
|
||||
+
|
||||
+module Tk::Tcllib
|
||||
+ module Validator
|
||||
+ PACKAGE_NAME = 'widget::validator'.freeze
|
||||
+ def self.package_name
|
||||
+ PACKAGE_NAME
|
||||
+ end
|
||||
+
|
||||
+ def self.package_version
|
||||
+ begin
|
||||
+ TkPackage.require('widget::validator')
|
||||
+ rescue
|
||||
+ ''
|
||||
+ end
|
||||
+ end
|
||||
+ end
|
||||
+end
|
||||
+
|
||||
+module Tk::Tcllib::Validator
|
||||
+ extend TkCore
|
||||
+
|
||||
+ def self.attach(widget, color, cmd=Proc.new)
|
||||
+ tk_call_without_enc('::widget::validator', 'attach', widget, color, cmd)
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+ def self.detach(widget)
|
||||
+ tk_call_without_enc('::widget::validator', 'detach', widget)
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+ def self.validate(widget)
|
||||
+ tk_call_without_enc('::widget::validator', 'validate', widget)
|
||||
+ nil
|
||||
+ end
|
||||
+
|
||||
+ def attach_validator(color, cmd=Proc.new)
|
||||
+ tk_call_without_enc('::widget::validator', 'attach', @path, color, cmd)
|
||||
+ self
|
||||
+ end
|
||||
+
|
||||
+ def detach_validator(color, cmd=Proc.new)
|
||||
+ tk_call_without_enc('::widget::validator', 'detach', @path)
|
||||
+ self
|
||||
+ end
|
||||
+
|
||||
+ def invoke_validator(color, cmd=Proc.new)
|
||||
+ tk_call_without_enc('::widget::validator', 'validate', @path)
|
||||
+ self
|
||||
+ end
|
||||
+ alias validate_validator invoke_validator
|
||||
+end
|
|
@ -1,50 +0,0 @@
|
|||
$NetBSD: patch-ext_tk_lib_tkextlib_tile_treeview.rb,v 1.1 2014/12/14 14:00:17 taca Exp $
|
||||
|
||||
* Add tcl/tk 8.6 support.
|
||||
|
||||
--- ext/tk/lib/tkextlib/tile/treeview.rb.orig 2009-10-02 10:45:39.000000000 +0000
|
||||
+++ ext/tk/lib/tkextlib/tile/treeview.rb
|
||||
@@ -986,6 +986,18 @@ class Tk::Tile::Treeview::Tag < TkObject
|
||||
end
|
||||
alias added? tag_has?
|
||||
|
||||
+ def tag_has
|
||||
+ @t.tag_has(@id)
|
||||
+ end
|
||||
+
|
||||
+ def add(*items)
|
||||
+ @t.tag_add(@id, *items)
|
||||
+ end
|
||||
+
|
||||
+ def remove(*items)
|
||||
+ @t.tag_remove(@id, *items)
|
||||
+ end
|
||||
+
|
||||
def bind(seq, *args)
|
||||
if TkComm._callback_entry?(args[0]) || !block_given?
|
||||
cmd = args.shift
|
||||
@@ -1299,6 +1311,24 @@ class Tk::Tile::Treeview < TkWindow
|
||||
_bindinfo([@path, 'tag', 'bind', tag], context)
|
||||
end
|
||||
alias tagbindinfo tag_bindinfo
|
||||
+
|
||||
+ def tag_names
|
||||
+ tk_split_simplelist(tk_send('tag', 'names')).collect{|id|
|
||||
+ Tk::Tile::Treeview::Tag.id2obj(self, id)
|
||||
+ }
|
||||
+ end
|
||||
+
|
||||
+ def tag_add(tag, *items)
|
||||
+ fail ArgumentError, "no target items" if items.empty?
|
||||
+ tk_send('tag', 'add', tagid(tag), *(items.collect{|item| tagid(item)}))
|
||||
+ self
|
||||
+ end
|
||||
+
|
||||
+ def tag_remove(tag, *items)
|
||||
+ tk_send('tag', 'remove', tagid(tag), *(items.collect{|item| tagid(item)}))
|
||||
+ self
|
||||
+ end
|
||||
+
|
||||
end
|
||||
|
||||
#Tk.__set_toplevel_aliases__(:Ttk, Tk::Tile::Treeview, :TkTreeview)
|
|
@ -1,40 +0,0 @@
|
|||
$NetBSD: patch-ext_tk_lib_tkextlib_tkimg_dted.rb,v 1.1 2014/12/14 14:00:17 taca Exp $
|
||||
|
||||
* Add tcl/tk 8.6 support.
|
||||
|
||||
--- /dev/null 2014-12-14 12:40:18.000000000 +0000
|
||||
+++ ext/tk/lib/tkextlib/tkimg/dted.rb
|
||||
@@ -0,0 +1,33 @@
|
||||
+#
|
||||
+# TkImg - format 'DTED'
|
||||
+# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
|
||||
+#
|
||||
+require 'tk'
|
||||
+
|
||||
+# call setup script for general 'tkextlib' libraries
|
||||
+require 'tkextlib/setup.rb'
|
||||
+
|
||||
+# call setup script
|
||||
+require 'tkextlib/tkimg/setup.rb'
|
||||
+
|
||||
+# TkPackage.require('img::dted', '1.4')
|
||||
+TkPackage.require('img::dted')
|
||||
+
|
||||
+module Tk
|
||||
+ module Img
|
||||
+ module DTED
|
||||
+ PACKAGE_NAME = 'img::dted'.freeze
|
||||
+ def self.package_name
|
||||
+ PACKAGE_NAME
|
||||
+ end
|
||||
+
|
||||
+ def self.package_version
|
||||
+ begin
|
||||
+ TkPackage.require('img::dted')
|
||||
+ rescue
|
||||
+ ''
|
||||
+ end
|
||||
+ end
|
||||
+ end
|
||||
+ end
|
||||
+end
|
|
@ -1,40 +0,0 @@
|
|||
$NetBSD: patch-ext_tk_lib_tkextlib_tkimg_raw.rb,v 1.1 2014/12/14 14:00:17 taca Exp $
|
||||
|
||||
* Add tcl/tk 8.6 support.
|
||||
|
||||
--- /dev/null 2014-12-14 12:40:52.000000000 +0000
|
||||
+++ ext/tk/lib/tkextlib/tkimg/raw.rb
|
||||
@@ -0,0 +1,33 @@
|
||||
+#
|
||||
+# TkImg - format 'Raw Data'
|
||||
+# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
|
||||
+#
|
||||
+require 'tk'
|
||||
+
|
||||
+# call setup script for general 'tkextlib' libraries
|
||||
+require 'tkextlib/setup.rb'
|
||||
+
|
||||
+# call setup script
|
||||
+require 'tkextlib/tkimg/setup.rb'
|
||||
+
|
||||
+# TkPackage.require('img::raw', '1.4')
|
||||
+TkPackage.require('img::raw')
|
||||
+
|
||||
+module Tk
|
||||
+ module Img
|
||||
+ module Raw
|
||||
+ PACKAGE_NAME = 'img::raw'.freeze
|
||||
+ def self.package_name
|
||||
+ PACKAGE_NAME
|
||||
+ end
|
||||
+
|
||||
+ def self.package_version
|
||||
+ begin
|
||||
+ TkPackage.require('img::raw')
|
||||
+ rescue
|
||||
+ ''
|
||||
+ end
|
||||
+ end
|
||||
+ end
|
||||
+ end
|
||||
+end
|
|
@ -1,21 +0,0 @@
|
|||
$NetBSD: patch-lib_mkmf.rb,v 1.1 2015/04/30 03:27:20 taca Exp $
|
||||
|
||||
Avoid to generate empty command line on some platforms:
|
||||
|
||||
$(DLLIB): $(OBJS) Makefile
|
||||
...
|
||||
$(Q) $(POSTLINK)
|
||||
|
||||
And POSTLINK is empty macro. In such case, GNU make ignore empty command
|
||||
line but BSD make tries to execute it and causes error.
|
||||
|
||||
--- lib/mkmf.rb.orig 2015-03-17 16:56:55.000000000 +0000
|
||||
+++ lib/mkmf.rb
|
||||
@@ -1909,6 +1909,7 @@ LDSHARED = #{CONFIG['LDSHARED']}
|
||||
LDSHAREDXX = #{config_string('LDSHAREDXX') || '$(LDSHARED)'}
|
||||
AR = #{CONFIG['AR']}
|
||||
EXEEXT = #{CONFIG['EXEEXT']}
|
||||
+POSTLINK = #{CONFIG['POSTLINK']}
|
||||
|
||||
}
|
||||
CONFIG.each do |key, val|
|
|
@ -1,37 +0,0 @@
|
|||
$NetBSD: patch-lib_rdoc_ri_driver.rb,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
* Defer loading readline, when it is really needed.
|
||||
Some unknown reason:
|
||||
|
||||
1. build devel/ruby-readline with editline(3).
|
||||
2. Execute a ruby script loading readline in background from shell.
|
||||
3. When the script output something to stdout, it got SIGTSTP and suspends.
|
||||
|
||||
There is no such problem when build devel/ruby-readline with GNU's readline.
|
||||
|
||||
--- lib/rdoc/ri/driver.rb.orig 2013-09-18 23:33:36.000000000 +0000
|
||||
+++ lib/rdoc/ri/driver.rb
|
||||
@@ -2,11 +2,6 @@ require 'abbrev'
|
||||
require 'optparse'
|
||||
|
||||
begin
|
||||
- require 'readline'
|
||||
-rescue LoadError
|
||||
-end
|
||||
-
|
||||
-begin
|
||||
require 'win32console'
|
||||
rescue LoadError
|
||||
end
|
||||
@@ -1069,6 +1064,11 @@ The ri pager can be set with the 'RI_PAG
|
||||
# Runs ri interactively using Readline if it is available.
|
||||
|
||||
def interactive
|
||||
+ begin
|
||||
+ require 'readline'
|
||||
+ rescue LoadError
|
||||
+ end
|
||||
+
|
||||
puts "\nEnter the method name you want to look up."
|
||||
|
||||
if defined? Readline then
|
|
@ -1,45 +0,0 @@
|
|||
$NetBSD: patch-lib_rubygems.rb,v 1.2 2015/03/08 15:08:33 taca Exp $
|
||||
|
||||
* Add install_root option for pkgsrc's rubygems support.
|
||||
|
||||
--- lib/rubygems.rb.orig 2014-02-06 02:59:36.000000000 +0000
|
||||
+++ lib/rubygems.rb
|
||||
@@ -257,10 +257,16 @@ module Gem
|
||||
##
|
||||
# The path where gem executables are to be installed.
|
||||
|
||||
- def self.bindir(install_dir=Gem.dir)
|
||||
- return File.join install_dir, 'bin' unless
|
||||
- install_dir.to_s == Gem.default_dir.to_s
|
||||
- Gem.default_bindir
|
||||
+ def self.bindir(install_dir=Gem.dir, install_root=nil)
|
||||
+ if install_dir.to_s == Gem.default_dir.to_s
|
||||
+ install_dir = Gem.default_bindir
|
||||
+ else
|
||||
+ install_dir = File.join install_dir, 'bin'
|
||||
+ end
|
||||
+ unless install_root.nil? or install_root.empty?
|
||||
+ install_dir = File.join install_root, install_dir
|
||||
+ end
|
||||
+ install_dir
|
||||
end
|
||||
|
||||
##
|
||||
@@ -572,7 +578,7 @@ module Gem
|
||||
# gem's paths are inserted before site lib directory by default.
|
||||
|
||||
def self.load_path_insert_index
|
||||
- index = $LOAD_PATH.index RbConfig::CONFIG['sitelibdir']
|
||||
+ index = $LOAD_PATH.index RbConfig::CONFIG['vendorlibdir']
|
||||
|
||||
index
|
||||
end
|
||||
@@ -743,7 +749,7 @@ module Gem
|
||||
def self.prefix
|
||||
prefix = File.dirname RUBYGEMS_DIR
|
||||
|
||||
- if prefix != File.expand_path(RbConfig::CONFIG['sitelibdir']) and
|
||||
+ if prefix != File.expand_path(RbConfig::CONFIG['vendorlibdir']) and
|
||||
prefix != File.expand_path(RbConfig::CONFIG['libdir']) and
|
||||
'lib' == File.basename(RUBYGEMS_DIR) then
|
||||
prefix
|
|
@ -1,41 +0,0 @@
|
|||
$NetBSD: patch-lib_rubygems_commands_setup__command.rb,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
* Make sure to setup under DESTDIR.
|
||||
|
||||
--- lib/rubygems/commands/setup_command.rb.orig 2013-07-22 16:33:18.000000000 +0000
|
||||
+++ lib/rubygems/commands/setup_command.rb
|
||||
@@ -145,7 +145,7 @@ By default, this RubyGems will install g
|
||||
|
||||
uninstall_old_gemcutter
|
||||
|
||||
- documentation_success = install_rdoc
|
||||
+ documentation_success = install_rdoc install_destdir
|
||||
|
||||
say
|
||||
if @verbose then
|
||||
@@ -284,11 +284,15 @@ TEXT
|
||||
end
|
||||
end
|
||||
|
||||
- def install_rdoc
|
||||
+ def install_rdoc(install_destdir)
|
||||
gem_doc_dir = File.join Gem.dir, 'doc'
|
||||
rubygems_name = "rubygems-#{Gem::VERSION}"
|
||||
rubygems_doc_dir = File.join gem_doc_dir, rubygems_name
|
||||
|
||||
+ unless install_destdir.empty?
|
||||
+ FileUtils.mkdir_p gem_doc_dir unless File.exist?(gem_doc_dir)
|
||||
+ end
|
||||
+
|
||||
begin
|
||||
Gem.ensure_gem_subdirectories Gem.dir
|
||||
rescue SystemCallError
|
||||
@@ -299,7 +303,7 @@ TEXT
|
||||
(not File.exist? rubygems_doc_dir or
|
||||
File.writable? rubygems_doc_dir) then
|
||||
say "Removing old RubyGems RDoc and ri" if @verbose
|
||||
- Dir[File.join(Gem.dir, 'doc', 'rubygems-[0-9]*')].each do |dir|
|
||||
+ Dir[File.join(gem_doc_dir, 'rubygems-[0-9]*')].each do |dir|
|
||||
rm_rf dir
|
||||
end
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
$NetBSD: patch-lib_rubygems_commands_uninstall__command.rb,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
* Add install_root option for pkgsrc's rubygems support.
|
||||
|
||||
--- lib/rubygems/commands/uninstall_command.rb.orig 2013-09-18 21:29:41.000000000 +0000
|
||||
+++ lib/rubygems/commands/uninstall_command.rb
|
||||
@@ -23,6 +23,11 @@ class Gem::Commands::UninstallCommand <
|
||||
options[:all] = value
|
||||
end
|
||||
|
||||
+ add_option('-B', '--install-root DIR',
|
||||
+ 'Root directory for gem files') do |value, options|
|
||||
+ options[:install_root] = File.expand_path(value)
|
||||
+ end
|
||||
+
|
||||
add_option('-I', '--[no-]ignore-dependencies',
|
||||
'Ignore dependency requirements while',
|
||||
'uninstalling') do |value, options|
|
|
@ -1,27 +0,0 @@
|
|||
$NetBSD: patch-lib_rubygems_commands_unpack__command.rb,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
* Add install_root option for pkgsrc's rubygems support.
|
||||
|
||||
--- lib/rubygems/commands/unpack_command.rb.orig 2013-09-25 00:53:19.000000000 +0000
|
||||
+++ lib/rubygems/commands/unpack_command.rb
|
||||
@@ -14,6 +14,10 @@ class Gem::Commands::UnpackCommand < Gem
|
||||
:version => Gem::Requirement.default,
|
||||
:target => Dir.pwd
|
||||
|
||||
+ add_option('--install-root DIR', 'Root directory for gem files on extract') do |value, options|
|
||||
+ options[:install_root] = value
|
||||
+ end
|
||||
+
|
||||
add_option('--target=DIR',
|
||||
'target directory for unpacking') do |value, options|
|
||||
options[:target] = value
|
||||
@@ -87,6 +91,9 @@ command help for an example.
|
||||
else
|
||||
basename = File.basename path, '.gem'
|
||||
target_dir = File.expand_path basename, options[:target]
|
||||
+ if options[:install_root]
|
||||
+ target_dir = File.join(options[:install_root], target_dir)
|
||||
+ end
|
||||
|
||||
package = Gem::Package.new path
|
||||
package.extract_files target_dir
|
|
@ -1,40 +0,0 @@
|
|||
$NetBSD: patch-lib_rubygems_config__file.rb,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
* Don't hard code config file's path for gem.
|
||||
|
||||
--- lib/rubygems/config_file.rb.orig 2013-10-24 14:31:17.000000000 +0000
|
||||
+++ lib/rubygems/config_file.rb
|
||||
@@ -57,32 +57,7 @@ class Gem::ConfigFile
|
||||
|
||||
# :stopdoc:
|
||||
|
||||
- system_config_path =
|
||||
- begin
|
||||
- require "etc"
|
||||
- Etc.sysconfdir
|
||||
- rescue LoadError, NoMethodError
|
||||
- begin
|
||||
- # TODO: remove after we drop 1.8.7 and 1.9.1
|
||||
- require 'Win32API'
|
||||
-
|
||||
- CSIDL_COMMON_APPDATA = 0x0023
|
||||
- path = 0.chr * 260
|
||||
- if RUBY_VERSION > '1.9' then
|
||||
- SHGetFolderPath = Win32API.new 'shell32', 'SHGetFolderPath', 'PLPLP',
|
||||
- 'L', :stdcall
|
||||
- SHGetFolderPath.call nil, CSIDL_COMMON_APPDATA, nil, 1, path
|
||||
- else
|
||||
- SHGetFolderPath = Win32API.new 'shell32', 'SHGetFolderPath', 'LLLLP',
|
||||
- 'L'
|
||||
- SHGetFolderPath.call 0, CSIDL_COMMON_APPDATA, 0, 1, path
|
||||
- end
|
||||
-
|
||||
- path.strip
|
||||
- rescue LoadError
|
||||
- RbConfig::CONFIG["sysconfdir"] || "/etc"
|
||||
- end
|
||||
- end
|
||||
+ system_config_path = '@PKG_SYSCONFDIR@'
|
||||
|
||||
# :startdoc:
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-lib_rubygems_defaults.rb,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
* Use vendordir instead of sitedir.
|
||||
|
||||
--- lib/rubygems/defaults.rb.orig 2014-02-06 02:59:36.000000000 +0000
|
||||
+++ lib/rubygems/defaults.rb
|
||||
@@ -29,7 +29,7 @@ module Gem
|
||||
def self.default_dir
|
||||
path = if defined? RUBY_FRAMEWORK_VERSION then
|
||||
[
|
||||
- File.dirname(RbConfig::CONFIG['sitedir']),
|
||||
+ File.dirname(RbConfig::CONFIG['vendordir']),
|
||||
'Gems',
|
||||
RbConfig::CONFIG['ruby_version']
|
||||
]
|
|
@ -1,36 +0,0 @@
|
|||
$NetBSD: patch-lib_rubygems_dependency__installer.rb,v 1.2 2015/03/08 15:08:33 taca Exp $
|
||||
|
||||
* Add install_root option for pkgsrc's rubygems support.
|
||||
|
||||
--- lib/rubygems/dependency_installer.rb.orig 2014-02-06 02:59:36.000000000 +0000
|
||||
+++ lib/rubygems/dependency_installer.rb
|
||||
@@ -63,6 +63,7 @@ class Gem::DependencyInstaller
|
||||
# :format_executable:: See Gem::Installer#initialize.
|
||||
# :ignore_dependencies:: Don't install any dependencies.
|
||||
# :install_dir:: See Gem::Installer#install.
|
||||
+ # :install_root:: See Gem::Installer#install.
|
||||
# :prerelease:: Allow prerelease versions. See #install.
|
||||
# :security_policy:: See Gem::Installer::new and Gem::Security.
|
||||
# :user_install:: See Gem::Installer.new
|
||||
@@ -100,7 +101,12 @@ class Gem::DependencyInstaller
|
||||
@installed_gems = []
|
||||
@toplevel_specs = nil
|
||||
|
||||
- @cache_dir = options[:cache_dir] || @install_dir
|
||||
+ @install_root = options[:install_root] || ""
|
||||
+ install_dir = @install_dir
|
||||
+ unless @install_root.nil? or @install_root.empty?
|
||||
+ install_dir = File.join(@install_root, install_dir)
|
||||
+ end
|
||||
+ @cache_dir = options[:cache_dir] || install_dir
|
||||
|
||||
@errors = nil
|
||||
end
|
||||
@@ -379,6 +385,7 @@ class Gem::DependencyInstaller
|
||||
:force => @force,
|
||||
:format_executable => @format_executable,
|
||||
:ignore_dependencies => @ignore_dependencies,
|
||||
+ :install_root => @install_root,
|
||||
:security_policy => @security_policy,
|
||||
:user_install => @user_install,
|
||||
:wrappers => @wrappers,
|
|
@ -1,19 +0,0 @@
|
|||
$NetBSD: patch-lib_rubygems_install__update__options.rb,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
* Add install_root option for pkgsrc's rubygems support.
|
||||
|
||||
--- lib/rubygems/install_update_options.rb.orig 2013-09-14 08:59:02.000000000 +0000
|
||||
+++ lib/rubygems/install_update_options.rb
|
||||
@@ -36,6 +36,12 @@ module Gem::InstallUpdateOptions
|
||||
value
|
||||
end
|
||||
|
||||
+ add_option(:"Install/Update", '-B', '--install-root DIR',
|
||||
+ 'Root directory for gem files on install') do |value, options|
|
||||
+ options[:install_root] = File.expand_path(value)
|
||||
+ Gem.ensure_gem_subdirectories File.join options[:install_root], Gem.dir
|
||||
+ end
|
||||
+
|
||||
add_option(:"Install/Update", '-i', '--install-dir DIR',
|
||||
'Gem repository directory to get installed',
|
||||
'gems') do |value, options|
|
|
@ -1,42 +0,0 @@
|
|||
$NetBSD: patch-lib_rubygems_installer.rb,v 1.2 2015/03/08 15:08:33 taca Exp $
|
||||
|
||||
* Add install_root option for pkgsrc's rubygems support.
|
||||
* Tweak build_info directory with destdir to store build_args.
|
||||
|
||||
--- lib/rubygems/installer.rb.orig 2014-02-06 02:59:36.000000000 +0000
|
||||
+++ lib/rubygems/installer.rb
|
||||
@@ -94,6 +94,9 @@ class Gem::Installer
|
||||
# If your Ruby is ruby18, foo_exec will be installed as
|
||||
# foo_exec18.
|
||||
# :ignore_dependencies:: Don't raise if a dependency is missing.
|
||||
+ # :install_root:: The directory to use as a buildroot for "destdir"-style
|
||||
+ # installation. All paths during installation are relative
|
||||
+ # to the buildroot.
|
||||
# :install_dir:: The directory to install the gem into.
|
||||
# :security_policy:: Use the specified security policy. See Gem::Security
|
||||
# :user_install:: Indicate that the gem should be unpacked into the users
|
||||
@@ -588,7 +591,13 @@ class Gem::Installer
|
||||
# If the user has asked for the gem to be installed in a directory that is
|
||||
# the system gem directory, then use the system bin directory, else create
|
||||
# (or use) a new bin dir under the gem_home.
|
||||
- @bin_dir = options[:bin_dir] || Gem.bindir(gem_home)
|
||||
+ install_root = options[:install_root]
|
||||
+ @bin_dir = options[:bin_dir] || Gem.bindir(gem_home, install_root)
|
||||
+ @development = options[:development]
|
||||
+ unless install_root.nil? or install_root.empty?
|
||||
+ @install_root = File.expand_path install_root
|
||||
+ @gem_home = File.join(@install_root, @gem_home)
|
||||
+ end
|
||||
@development = options[:development]
|
||||
|
||||
@build_args = options[:build_args] || Gem::Command.build_args
|
||||
@@ -769,6 +778,9 @@ TEXT
|
||||
return if @build_args.empty?
|
||||
|
||||
build_info_dir = File.join gem_home, 'build_info'
|
||||
+ unless @install_root.nil? or @install_root.empty?
|
||||
+ build_info_dir = File.join @gem_home, "build_info"
|
||||
+ end
|
||||
|
||||
FileUtils.mkdir_p build_info_dir
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
$NetBSD: patch-lib_rubygems_platform.rb,v 1.3 2015/03/08 15:08:33 taca Exp $
|
||||
|
||||
* Don't replace "i486" to "x86".
|
||||
* Make various NetBSD to simple "netbsd".
|
||||
|
||||
--- lib/rubygems/platform.rb.orig 2014-02-06 02:59:36.000000000 +0000
|
||||
+++ lib/rubygems/platform.rb
|
||||
@@ -62,10 +62,7 @@ class Gem::Platform
|
||||
|
||||
cpu = arch.shift
|
||||
|
||||
- @cpu = case cpu
|
||||
- when /i\d86/ then 'x86'
|
||||
- else cpu
|
||||
- end
|
||||
+ @cpu = cpu
|
||||
|
||||
if arch.length == 2 and arch.last =~ /^\d+(\.\d+)?$/ then # for command-line
|
||||
@os, @version = arch
|
||||
@@ -93,7 +90,8 @@ class Gem::Platform
|
||||
os, version = $1, $3
|
||||
@cpu = 'x86' if @cpu.nil? and os =~ /32$/
|
||||
[os, version]
|
||||
- when /netbsdelf/ then [ 'netbsdelf', nil ]
|
||||
+ when /netbsd(elf)?([\d\.]*)-*.*/ then
|
||||
+ ['netbsd', ($2.empty?)? nil: $2]
|
||||
when /openbsd(\d+\.\d+)?/ then [ 'openbsd', $1 ]
|
||||
when /solaris(\d+\.\d+)?/ then [ 'solaris', $1 ]
|
||||
# test
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-lib_rubygems_specification.rb,v 1.3 2015/03/08 15:08:33 taca Exp $
|
||||
|
||||
* Allow duplicated dependencies for now.
|
||||
|
||||
--- lib/rubygems/specification.rb.orig 2014-02-06 02:59:36.000000000 +0000
|
||||
+++ lib/rubygems/specification.rb
|
||||
@@ -2605,7 +2605,7 @@ http://opensource.org/licenses/alphabeti
|
||||
|
||||
dependencies.each do |dep|
|
||||
if prev = seen[dep.name] then
|
||||
- raise Gem::InvalidSpecificationException, <<-MESSAGE
|
||||
+ warn <<-MESSAGE
|
||||
duplicate dependency on #{dep}, (#{prev.requirement}) use:
|
||||
add_runtime_dependency '#{dep.name}', '#{dep.requirement}', '#{prev.requirement}'
|
||||
MESSAGE
|
|
@ -1,31 +0,0 @@
|
|||
$NetBSD: patch-lib_rubygems_uninstaller.rb,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
* Add install_root option for pkgsrc's rubygems support.
|
||||
|
||||
--- lib/rubygems/uninstaller.rb.orig 2013-12-10 19:54:19.000000000 +0000
|
||||
+++ lib/rubygems/uninstaller.rb
|
||||
@@ -51,6 +51,11 @@ class Gem::Uninstaller
|
||||
@force_ignore = options[:ignore]
|
||||
@bin_dir = options[:bin_dir]
|
||||
@format_executable = options[:format_executable]
|
||||
+ install_root = options[:install_root]
|
||||
+ unless install_root.nil? or install_root.empty?
|
||||
+ @install_root = File.expand_path install_root
|
||||
+ @gem_home = File.join(@install_root, @gem_home)
|
||||
+ end
|
||||
@abort_on_dependent = options[:abort_on_dependent]
|
||||
|
||||
# Indicate if development dependencies should be checked when
|
||||
@@ -200,7 +205,11 @@ class Gem::Uninstaller
|
||||
end
|
||||
|
||||
if remove then
|
||||
- bin_dir = @bin_dir || Gem.bindir(spec.base_dir)
|
||||
+ bin_dir = @bin_dir || (Gem.bindir @gem_home, @install_root)
|
||||
+
|
||||
+ unless @install_root.nil? or @install_root.empty?
|
||||
+ bindir = File.join(@install_root, bindir)
|
||||
+ end
|
||||
|
||||
raise Gem::FilePermissionError, bin_dir unless File.writable? bin_dir
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
$NetBSD: patch-man_erb.1,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
* Fix mdoc markup.
|
||||
|
||||
--- man/erb.1.orig 2012-11-15 04:22:44.000000000 +0000
|
||||
+++ man/erb.1
|
||||
@@ -143,12 +143,12 @@ class.
|
||||
.Pp
|
||||
.Sh REPORTING BUGS
|
||||
.Bl -bullet
|
||||
-.Li Security vulnerabilities should be reported via an email to
|
||||
-.Aq security@ruby-lang.org Ns
|
||||
-.Li .
|
||||
+.It
|
||||
+Security vulnerabilities should be reported via an email to
|
||||
+.Aq security@ruby-lang.org .
|
||||
Reported problems will be published after being fixed.
|
||||
-.Pp
|
||||
-.Li And you can report other bugs and feature requests via the
|
||||
+.It
|
||||
+You can report other bugs and feature requests via the
|
||||
Ruby Issue Tracking System (http://bugs.ruby-lang.org).
|
||||
Do not report security vulnerabilities
|
||||
via the system because it publishes the vulnerabilities immediately.
|
|
@ -1,24 +0,0 @@
|
|||
$NetBSD: patch-man_irb.1,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
* Fix mdoc markup.
|
||||
|
||||
--- man/irb.1.orig 2012-11-15 04:22:44.000000000 +0000
|
||||
+++ man/irb.1
|
||||
@@ -159,12 +159,12 @@ Personal irb initialization.
|
||||
.Pp
|
||||
.Sh REPORTING BUGS
|
||||
.Bl -bullet
|
||||
-.Li Security vulnerabilities should be reported via an email to
|
||||
-.Aq security@ruby-lang.org Ns
|
||||
-.Li .
|
||||
+.It
|
||||
+Security vulnerabilities should be reported via an email to
|
||||
+.Aq security@ruby-lang.org .
|
||||
Reported problems will be published after being fixed.
|
||||
-.Pp
|
||||
-.Li And you can report other bugs and feature requests via the
|
||||
+.It
|
||||
+You can report other bugs and feature requests via the
|
||||
Ruby Issue Tracking System (http://bugs.ruby-lang.org).
|
||||
Do not report security vulnerabilities
|
||||
via the system because it publishes the vulnerabilities immediately.
|
|
@ -1,24 +0,0 @@
|
|||
$NetBSD: patch-man_ri.1,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
* Fix mdoc markup.
|
||||
|
||||
--- man/ri.1.orig 2013-07-13 15:17:18.000000000 +0000
|
||||
+++ man/ri.1
|
||||
@@ -166,12 +166,12 @@ Searches user-wide documents here.
|
||||
.Pp
|
||||
.Sh REPORTING BUGS
|
||||
.Bl -bullet
|
||||
-.Li Security vulnerabilities should be reported via an email to
|
||||
-.Aq security@ruby-lang.org Ns
|
||||
-.Li .
|
||||
+.It
|
||||
+Security vulnerabilities should be reported via an email to
|
||||
+.Aq security@ruby-lang.org .
|
||||
Reported problems will be published after being fixed.
|
||||
-.Pp
|
||||
-.Li And you can report other bugs and feature requests via the
|
||||
+.It
|
||||
+You can report other bugs and feature requests via the
|
||||
Ruby Issue Tracking System (http://bugs.ruby-lang.org).
|
||||
Do not report security vulnerabilities
|
||||
via the system because it publishes the vulnerabilities immediately.
|
|
@ -1,24 +0,0 @@
|
|||
$NetBSD: patch-man_ruby.1,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
* Fix mdoc markup.
|
||||
|
||||
--- man/ruby.1.orig 2013-01-11 17:44:16.000000000 +0000
|
||||
+++ man/ruby.1
|
||||
@@ -499,12 +499,12 @@ Ruby projects on Github.
|
||||
.Pp
|
||||
.Sh REPORTING BUGS
|
||||
.Bl -bullet
|
||||
-.Li Security vulnerabilities should be reported via an email to
|
||||
-.Aq security@ruby-lang.org Ns
|
||||
-.Li .
|
||||
+.It
|
||||
+Security vulnerabilities should be reported via an email to
|
||||
+.Aq security@ruby-lang.org .
|
||||
Reported problems will be published after they've been fixed.
|
||||
-.Pp
|
||||
-.Li And you can report other bugs and feature requests via the
|
||||
+.It
|
||||
+You can report other bugs and feature requests via the
|
||||
Ruby Issue Tracking System (http://bugs.ruby-lang.org).
|
||||
Do not report security vulnerabilities
|
||||
via the system because it publishes the vulnerabilities immediately.
|
|
@ -1,13 +0,0 @@
|
|||
$NetBSD: patch-template_verconf.h.in,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
--- template/verconf.h.in.orig 2013-05-16 13:35:44.000000000 +0000
|
||||
+++ template/verconf.h.in
|
||||
@@ -8,7 +8,7 @@
|
||||
% elsif !C["RUBY_LIB_VERSION"]
|
||||
#define RUBY_LIB_VERSION_STYLE 3 /* full */
|
||||
% else
|
||||
-#define RUBY_LIB_VERSION ${RUBY_LIB_VERSION}
|
||||
+#define RUBY_LIB_VERSION "${RUBY_LIB_VERSION}"
|
||||
% end
|
||||
#define RUBY_EXEC_PREFIX "<%='${RUBY_EXEC_PREFIX}' if C['RUBY_EXEC_PREFIX']%>"
|
||||
#define RUBY_LIB_PREFIX "${rubylibprefix}"
|
|
@ -1,21 +0,0 @@
|
|||
$NetBSD: patch-test_rubygems_test__gem.rb,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
* Use vendordir instead of sitedir.
|
||||
|
||||
--- test/rubygems/test_gem.rb.orig 2014-02-06 02:59:36.000000000 +0000
|
||||
+++ test/rubygems/test_gem.rb
|
||||
@@ -560,12 +560,12 @@ class TestGem < Gem::TestCase
|
||||
end
|
||||
|
||||
def test_self_prefix_sitelibdir
|
||||
- orig_sitelibdir = RbConfig::CONFIG['sitelibdir']
|
||||
+ orig_sitelibdir = RbConfig::CONFIG['vendorlibdir']
|
||||
RbConfig::CONFIG['sitelibdir'] = @@project_dir
|
||||
|
||||
assert_nil Gem.prefix
|
||||
ensure
|
||||
- RbConfig::CONFIG['sitelibdir'] = orig_sitelibdir
|
||||
+ RbConfig::CONFIG['vendorlibdir'] = orig_sitelibdir
|
||||
end
|
||||
|
||||
def test_self_read_binary
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-thread.c,v 1.1 2015/11/20 14:31:59 joerg Exp $
|
||||
|
||||
--- thread.c.orig 2015-11-16 15:03:41.000000000 +0000
|
||||
+++ thread.c
|
||||
@@ -420,8 +420,8 @@ rb_threadptr_unlock_all_locking_mutexes(
|
||||
void
|
||||
rb_thread_terminate_all(void)
|
||||
{
|
||||
- rb_thread_t *th = GET_THREAD(); /* main thread */
|
||||
- rb_vm_t *vm = th->vm;
|
||||
+ rb_thread_t *volatile th = GET_THREAD(); /* main thread */
|
||||
+ rb_vm_t *volatile vm = th->vm;
|
||||
|
||||
if (vm->main_thread != th) {
|
||||
rb_bug("rb_thread_terminate_all: called by child thread (%p, %p)",
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-tool_rbinstall.rb,v 1.1 2014/03/14 19:40:47 taca Exp $
|
||||
|
||||
* Don't install which has already ${RUBY_VER} suffix.
|
||||
|
||||
--- tool/rbinstall.rb.orig 2013-11-09 16:37:46.000000000 +0000
|
||||
+++ tool/rbinstall.rb
|
||||
@@ -222,7 +222,7 @@ def install_recursive(srcdir, dest, opti
|
||||
end
|
||||
end
|
||||
end
|
||||
- skip |= %w"#*# *~ *.old *.bak *.orig *.rej *.diff *.patch *.core"
|
||||
+ skip |= %w"#*# *~ *.old *.bak *.orig *.rej *.diff *.patch *.core *210"
|
||||
prune = path_matcher(prune)
|
||||
skip = path_matcher(skip)
|
||||
File.directory?(srcdir) or return rescue return
|
|
@ -1,33 +0,0 @@
|
|||
$NetBSD: patch-vm__eval.c,v 1.1 2015/11/20 14:31:59 joerg Exp $
|
||||
|
||||
--- vm_eval.c.orig 2015-11-16 14:55:47.000000000 +0000
|
||||
+++ vm_eval.c
|
||||
@@ -1062,7 +1062,7 @@ rb_iterate(VALUE (* it_proc) (VALUE), VA
|
||||
int state;
|
||||
volatile VALUE retval = Qnil;
|
||||
NODE *node = NEW_IFUNC(bl_proc, data2);
|
||||
- rb_thread_t *th = GET_THREAD();
|
||||
+ rb_thread_t * volatile th = GET_THREAD();
|
||||
rb_control_frame_t *volatile cfp = th->cfp;
|
||||
|
||||
node->nd_aid = rb_frame_this_func();
|
||||
@@ -1190,7 +1190,7 @@ eval_string_with_cref(VALUE self, VALUE
|
||||
int state;
|
||||
VALUE result = Qundef;
|
||||
VALUE envval;
|
||||
- rb_thread_t *th = GET_THREAD();
|
||||
+ rb_thread_t *volatile th = GET_THREAD();
|
||||
rb_env_t *env = NULL;
|
||||
rb_block_t block, *base_block;
|
||||
volatile int parse_in_eval;
|
||||
@@ -1843,8 +1843,8 @@ rb_catch_protect(VALUE t, rb_block_call_
|
||||
{
|
||||
int state;
|
||||
volatile VALUE val = Qnil; /* OK */
|
||||
- rb_thread_t *th = GET_THREAD();
|
||||
- rb_control_frame_t *saved_cfp = th->cfp;
|
||||
+ rb_thread_t * volatile th = GET_THREAD();
|
||||
+ rb_control_frame_t * volatile saved_cfp = th->cfp;
|
||||
volatile VALUE tag = t;
|
||||
|
||||
TH_PUSH_TAG(th);
|
|
@ -1,13 +0,0 @@
|
|||
$NetBSD: patch-vm__trace.c,v 1.1 2015/11/20 14:31:59 joerg Exp $
|
||||
|
||||
--- vm_trace.c.orig 2015-11-16 15:02:00.000000000 +0000
|
||||
+++ vm_trace.c
|
||||
@@ -390,7 +390,7 @@ rb_suppress_tracing(VALUE (*func)(VALUE)
|
||||
volatile int raised;
|
||||
volatile int outer_state;
|
||||
VALUE result = Qnil;
|
||||
- rb_thread_t *th = GET_THREAD();
|
||||
+ rb_thread_t * volatile th = GET_THREAD();
|
||||
int state;
|
||||
const int tracing = th->trace_arg ? 1 : 0;
|
||||
rb_trace_arg_t dummy_trace_arg;
|
Loading…
Reference in a new issue