[arch-commits] Commit in mongodb-tools/trunk (PKGBUILD i686.patch)

Felix Yan fyan at archlinux.org
Mon Mar 30 16:05:45 UTC 2015


    Date: Monday, March 30, 2015 @ 18:05:45
  Author: fyan
Revision: 130319

upgpkg: mongodb-tools 3.1.0-2

add patch for i686 build

Added:
  mongodb-tools/trunk/i686.patch
Modified:
  mongodb-tools/trunk/PKGBUILD

------------+
 PKGBUILD   |   16 ++++++++++++----
 i686.patch |   11 +++++++++++
 2 files changed, 23 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-30 16:04:01 UTC (rev 130318)
+++ PKGBUILD	2015-03-30 16:05:45 UTC (rev 130319)
@@ -3,16 +3,24 @@
 
 pkgname=mongodb-tools
 pkgver=3.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="The MongoDB tools provide import, export, and diagnostic capabilities."
-arch=('x86_64')
+arch=('i686' 'x86_64')
 url="https://github.com/mongodb/mongo-tools"
 license=('Apache')
 depends=('libsasl')
 makedepends=('git' 'go')
-source=("git+https://github.com/mongodb/mongo-tools.git#tag=r$pkgver")
-md5sums=('SKIP')
+source=("git+https://github.com/mongodb/mongo-tools.git#tag=r$pkgver"
+        i686.patch)
+md5sums=('SKIP'
+         '1e77521c9040575ab1e7ed91ac6e410c')
 
+prepare() {
+  cd mongo-tools
+  # https://github.com/mongodb/mongo-tools/issues/13
+  patch -p0 -i ../i686.patch
+}
+
 build() {
   cd mongo-tools
   . ./set_gopath.sh

Added: i686.patch
===================================================================
--- i686.patch	                        (rev 0)
+++ i686.patch	2015-03-30 16:05:45 UTC (rev 130319)
@@ -0,0 +1,11 @@
+--- vendor/src/github.com/spacemonkeygo/openssl/ctx.go.orig	2015-03-09 23:14:45.000000000 +0100
++++ vendor/src/github.com/spacemonkeygo/openssl/ctx.go	2015-03-26 13:41:39.730177906 +0100
+@@ -533,7 +533,7 @@
+ 	return nil
+ }
+ 
+-type Options int
++type Options int64
+ 
+ const (
+ 	// NoCompression is only valid if you are using OpenSSL 1.0.1 or newer



More information about the arch-commits mailing list