From a5a0d419ba1ef280a2d316c6b2817ddf55027ca7 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 10 Jan 2019 02:55:58 +0000 Subject: [PATCH] removed community/ruby2.3 --- ...e-only-unsigned-long-for-rb_serial_t.patch | 24 ------ community/ruby2.3/PKGBUILD | 74 ------------------- 2 files changed, 98 deletions(-) delete mode 100644 community/ruby2.3/0002-Use-only-unsigned-long-for-rb_serial_t.patch delete mode 100644 community/ruby2.3/PKGBUILD diff --git a/community/ruby2.3/0002-Use-only-unsigned-long-for-rb_serial_t.patch b/community/ruby2.3/0002-Use-only-unsigned-long-for-rb_serial_t.patch deleted file mode 100644 index 1e1dd0781..000000000 --- a/community/ruby2.3/0002-Use-only-unsigned-long-for-rb_serial_t.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/internal.h b/internal.h -index 40916a5..785be49 100644 ---- a/internal.h -+++ b/internal.h -@@ -250,16 +250,8 @@ struct rb_subclass_entry { - rb_subclass_entry_t *next; - }; - --#if defined(HAVE_LONG_LONG) --typedef unsigned LONG_LONG rb_serial_t; --#define SERIALT2NUM ULL2NUM --#elif defined(HAVE_UINT64_T) --typedef uint64_t rb_serial_t; --#define SERIALT2NUM SIZET2NUM --#else - typedef unsigned long rb_serial_t; - #define SERIALT2NUM ULONG2NUM --#endif - - struct rb_classext_struct { - struct st_table *iv_index_tbl; --- -1.9.0 - diff --git a/community/ruby2.3/PKGBUILD b/community/ruby2.3/PKGBUILD deleted file mode 100644 index 2844be547..000000000 --- a/community/ruby2.3/PKGBUILD +++ /dev/null @@ -1,74 +0,0 @@ -# Maintainer: Sven-Hendrik Haase -# Contributor: Sergey Shatunov -# Contributor: Jonne Haß -# Contributor: Thomas Dziedzic -# Contributor: Allan McRae -# Contributor: John Proctor -# Contributor: Jeramy Rutley - -# ALARM: Kevin Mihelich -# - patch to fix running ruby on v5 (#705) - -_rubyver=2.3 -pkgname=ruby2.3 -pkgver=2.3.8 -pkgdesc='An object-oriented language for quick and easy programming' -pkgrel=1 -arch=(x86_64) -url='http://www.ruby-lang.org/en/' -license=(BSD custom) -depends=(gdbm openssl-1.0 libffi libyaml gmp zlib) -optdepends=('tk: for Ruby/TK') -makedepends=(gdbm openssl-1.0 libffi doxygen graphviz libyaml ttf-dejavu tk) -options=(!emptydirs) -source=(https://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz - 0002-Use-only-unsigned-long-for-rb_serial_t.patch) -sha512sums=('06373050e6c1af9cb6a5863aef878b21c8a45fd0e68414e3d546cb73ec3028207d3acc0a9326428f172b9347a30bbe69a16f9dc0bdb739161d677adb2d888095' - '5b3a73b66ed35eb25997109076ec3146ff5f7f843b2e39e7a15b32349c3b38c6035668e8b5d6dd94d97030dea52187e481e8ccdcb6bfc7a79bb12043a322711e') - -build() { - cd ruby-${pkgver} - - export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig - - # fixes https://bugs.ruby-lang.org/issues/9507 - [[ $CARCH == 'arm' ]] && patch -Np1 -i ../0002-Use-only-unsigned-long-for-rb_serial_t.patch - - PKG_CONFIG=/usr/bin/pkg-config ./configure \ - --prefix=/opt/ruby${_rubyver} \ - --program-suffix=-${_rubyver} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --sharedstatedir=/var/lib \ - --libexecdir=/usr/lib/ruby \ - --enable-shared \ - --disable-rpath \ - --with-dbm-type=gdbm_compat - - make ruby -} - -check() { - cd ruby-${pkgver} - - make test -} - -package() { - cd ruby-${pkgver} - - make DESTDIR="${pkgdir}" install-nodoc - - install -dm755 $pkgdir/usr/bin - install -dm755 $pkgdir/usr/lib - - for i in erb irb rdoc ri ruby testrb rake gem; do - ln -s /opt/$pkgname/bin/$i-${_rubyver} $pkgdir/usr/bin/$i-${_rubyver} - ln -s /opt/$pkgname/bin/$i-${_rubyver} $pkgdir/opt/$pkgname/bin/$i - done - - ln -s /opt/$pkgname/lib/libruby.so.${_rubyver} $pkgdir/usr/lib/libruby.so.${_rubyver} - - install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" - install -D -m644 BSDL "${pkgdir}/usr/share/licenses/$pkgname/BSDL" -}