pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/mongo-c-driver



Module Name:    pkgsrc
Committed By:   dholland
Date:           Sat Sep  9 16:15:45 UTC 2017

Modified Files:
        pkgsrc/databases/mongo-c-driver: distinfo
Added Files:
        pkgsrc/databases/mongo-c-driver/patches: patch-configure

Log Message:
Fix illegal shell syntax. Package now builds.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/databases/mongo-c-driver/distinfo
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/databases/mongo-c-driver/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/mongo-c-driver/distinfo
diff -u pkgsrc/databases/mongo-c-driver/distinfo:1.24 pkgsrc/databases/mongo-c-driver/distinfo:1.25
--- pkgsrc/databases/mongo-c-driver/distinfo:1.24       Thu Aug 17 17:04:35 2017
+++ pkgsrc/databases/mongo-c-driver/distinfo    Sat Sep  9 16:15:45 2017
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.24 2017/08/17 17:04:35 fhajny Exp $
+$NetBSD: distinfo,v 1.25 2017/09/09 16:15:45 dholland Exp $
 
 SHA1 (mongo-c-driver-1.7.0.tar.gz) = 92c4a951e3c38ec3ea14d7d545be1afce3b59fb6
 RMD160 (mongo-c-driver-1.7.0.tar.gz) = 703cdf6f76238f5dc7fdc00ca33168958fa923ca
 SHA512 (mongo-c-driver-1.7.0.tar.gz) = 4e383da2d35ad7b09519b14778242ed36703eec31dae1f8bf486dca32b9cfc71ff810faa30b80512c38ef7c9d1bb3643a0153c4a74c102e0a0a8178eb598f46e
 Size (mongo-c-driver-1.7.0.tar.gz) = 7151766 bytes
+SHA1 (patch-configure) = 13c0bf97cdad469d4f592564231f88b0222fa2a1
 SHA1 (patch-src_mongoc_mongoc-cursor.c) = 9e0ada19f237972c9671bd90ff656ab9249f694f

Added files:

Index: pkgsrc/databases/mongo-c-driver/patches/patch-configure
diff -u /dev/null pkgsrc/databases/mongo-c-driver/patches/patch-configure:1.3
--- /dev/null   Sat Sep  9 16:15:45 2017
+++ pkgsrc/databases/mongo-c-driver/patches/patch-configure     Sat Sep  9 16:15:45 2017
@@ -0,0 +1,19 @@
+$NetBSD: patch-configure,v 1.3 2017/09/09 16:15:45 dholland Exp $
+
+Fix illegal shell syntax.
+
+--- configure~ 2017-08-09 16:16:15.000000000 +0000
++++ configure
+@@ -2708,9 +2708,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ MONGOC_CURRENT_FILE=${srcdir}/VERSION_CURRENT
+ MONGOC_VERSION=$(cat $MONGOC_CURRENT_FILE)
+ # Ensure newline for "cut" implementations that need it, e.g. HP-UX.
+-MONGOC_MAJOR_VERSION=$((cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f1)
+-MONGOC_MINOR_VERSION=$((cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f2)
+-MONGOC_MICRO_VERSION=$((cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f3)
++MONGOC_MAJOR_VERSION=$( (cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f1)
++MONGOC_MINOR_VERSION=$( (cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f2)
++MONGOC_MICRO_VERSION=$( (cat $MONGOC_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f3)
+ MONGOC_PRERELEASE_VERSION=$(cut -s -d- -f2 $MONGOC_CURRENT_FILE)
+ 
+ 



Home | Main Index | Thread Index | Old Index