pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2017Q2]: pkgsrc/devel/libbson Pullup ticket #5505 - requested ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4c00fd813145
branches:  pkgsrc-2017Q2
changeset: 408640:4c00fd813145
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Jul 15 18:51:00 2017 +0000

description:
Pullup ticket #5505 - requested by joerg
devel/libbson: build fix

Revisions pulled up:
- devel/libbson/distinfo                                        1.24
- devel/libbson/patches/patch-configure                         1.3

---
   Module Name: pkgsrc
   Committed By:        joerg
   Date:                Mon Jul  3 18:11:27 UTC 2017

   Modified Files:
        pkgsrc/devel/libbson: distinfo
   Added Files:
        pkgsrc/devel/libbson/patches: patch-configure

   Log Message:
   Fix nonsense shell syntax. From Robert Elz.

diffstat:

 devel/libbson/distinfo                |   3 ++-
 devel/libbson/patches/patch-configure |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r eaa189aaa896 -r 4c00fd813145 devel/libbson/distinfo
--- a/devel/libbson/distinfo    Sat Jul 15 18:43:57 2017 +0000
+++ b/devel/libbson/distinfo    Sat Jul 15 18:51:00 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.23 2017/06/14 10:24:15 fhajny Exp $
+$NetBSD: distinfo,v 1.23.2.1 2017/07/15 18:51:00 bsiegert Exp $
 
 SHA1 (libbson-1.6.3.tar.gz) = 3571026b7d1819f8ff64dec238e58e44d826021b
 RMD160 (libbson-1.6.3.tar.gz) = 3c81ea50475c889c960dd7c4d7eb636da4e3273e
 SHA512 (libbson-1.6.3.tar.gz) = 602f700dbb268e5eeeb36d39f63499ce9a253f915042ef2f620b3cceddf449284eab583ac2e950e150a2edb75ade189e3624b2cbe96097db501e1359d0b9c1d9
 Size (libbson-1.6.3.tar.gz) = 4831170 bytes
+SHA1 (patch-configure) = fc1e56e8e0d823801446440e59926b11caa388a8
diff -r eaa189aaa896 -r 4c00fd813145 devel/libbson/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libbson/patches/patch-configure     Sat Jul 15 18:51:00 2017 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-configure,v 1.3.2.2 2017/07/15 18:51:00 bsiegert Exp $
+
+$(( starts arithmetic expressions, not command evaluation.
+
+--- configure.orig     2017-07-02 23:03:45.185136445 +0000
++++ configure
+@@ -2431,9 +2431,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ BSON_CURRENT_FILE=${srcdir}/VERSION_CURRENT
+ BSON_VERSION=$(cat $BSON_CURRENT_FILE)
+ # Ensure newline for "cut" implementations that need it, e.g. HP-UX.
+-BSON_MAJOR_VERSION=$((cat $BSON_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f1)
+-BSON_MINOR_VERSION=$((cat $BSON_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f2)
+-BSON_MICRO_VERSION=$((cat $BSON_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f3)
++BSON_MAJOR_VERSION=$( (cat $BSON_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f1)
++BSON_MINOR_VERSION=$( (cat $BSON_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f2)
++BSON_MICRO_VERSION=$( (cat $BSON_CURRENT_FILE; echo) | cut -d- -f1 | cut -d. -f3)
+ BSON_PRERELEASE_VERSION=$(cut -s -d- -f2 $BSON_CURRENT_FILE)
+ 
+ 



Home | Main Index | Thread Index | Old Index