Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/guile22 lang/guile22: crude but working patch to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9455ae361cf5
branches:  trunk
changeset: 431527:9455ae361cf5
user:      nikita <nikita%pkgsrc.org@localhost>
date:      Thu May 14 14:28:04 2020 +0000

description:
lang/guile22: crude but working patch to make target-vendor check conforming

diffstat:

 lang/guile22/Makefile                                     |   4 +-
 lang/guile22/distinfo                                     |   3 +-
 lang/guile22/patches/patch-modules_system_base_target.scm |  20 +++++++++++++++
 3 files changed, 24 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r 5c40ab74aafc -r 9455ae361cf5 lang/guile22/Makefile
--- a/lang/guile22/Makefile     Thu May 14 14:28:01 2020 +0000
+++ b/lang/guile22/Makefile     Thu May 14 14:28:04 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2020/03/19 14:15:17 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2020/05/14 14:28:04 nikita Exp $
 
 DISTNAME=      guile-2.2.7
 PKGNAME=       ${DISTNAME:S/guile/guile22/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    lang
 MASTER_SITES=  ftp://ftp.gnu.org/gnu/guile/
 
diff -r 5c40ab74aafc -r 9455ae361cf5 lang/guile22/distinfo
--- a/lang/guile22/distinfo     Thu May 14 14:28:01 2020 +0000
+++ b/lang/guile22/distinfo     Thu May 14 14:28:04 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2020/03/10 22:43:27 wiz Exp $
+$NetBSD: distinfo,v 1.10 2020/05/14 14:28:04 nikita Exp $
 
 SHA1 (guile-2.2.7.tar.gz) = 4e4a5b1d1ccfaee887dc4ff63c088e9452715ab2
 RMD160 (guile-2.2.7.tar.gz) = 8c3dba807c4d236da81373e593d61007812ae236
@@ -6,3 +6,4 @@
 Size (guile-2.2.7.tar.gz) = 18129833 bytes
 SHA1 (patch-lib_Makefile.in) = ae3428997a653d89cef9bd51f52b57b64431b753
 SHA1 (patch-libguile_loader.c) = 32b012d095c343995f93d0c8160411c4b0cfbee1
+SHA1 (patch-modules_system_base_target.scm) = 84b204ac5c739e7a85aab325901ace84c7ae061a
diff -r 5c40ab74aafc -r 9455ae361cf5 lang/guile22/patches/patch-modules_system_base_target.scm
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/guile22/patches/patch-modules_system_base_target.scm Thu May 14 14:28:04 2020 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-modules_system_base_target.scm,v 1.1 2020/05/14 14:28:04 nikita Exp $
+
+Crude patch to make target.scm conform to vendor field of gnu-tripplet
+being optional.
+
+Tested with GnuTLS Guile bindings, where the current implementation
+prevents building on any platform which isn't conforming to having a
+vendor part.
+
+--- module/system/base/target.scm.orig  2018-06-18 14:14:47.000000000 +0200
++++ module/system/base/target.scm       2020-05-14 15:51:14.664581289 +0200
+@@ -46,7 +46,7 @@
+           (let ((parts (string-split target #\-)))
+             (or (< (length parts) 3)
+                 (or-map string-null? parts))))
+-      (error "invalid target" target)))
++      (string-append "invalid target" target)))
+ 
+ (define (with-target target thunk)
+   (validate-target target)



Home | Main Index | Thread Index | Old Index