diff options
author | nikita <nikita@pkgsrc.org> | 2020-05-14 14:28:04 +0000 |
---|---|---|
committer | nikita <nikita@pkgsrc.org> | 2020-05-14 14:28:04 +0000 |
commit | 6d3bdd575bebd67bc1bf5adf93c3c314f3df21e6 (patch) | |
tree | d97b7b051d836ea858d0d3e12eb3c67b3c1d52cb /lang | |
parent | 0a9b5789ac69bc00cc00bf615cbf74e7bcc4f13e (diff) | |
download | pkgsrc-6d3bdd575bebd67bc1bf5adf93c3c314f3df21e6.tar.gz |
lang/guile22: crude but working patch to make target-vendor check conforming
Diffstat (limited to 'lang')
-rw-r--r-- | lang/guile22/Makefile | 4 | ||||
-rw-r--r-- | lang/guile22/distinfo | 3 | ||||
-rw-r--r-- | lang/guile22/patches/patch-modules_system_base_target.scm | 20 |
3 files changed, 24 insertions, 3 deletions
diff --git a/lang/guile22/Makefile b/lang/guile22/Makefile index 468f2fd5f00..7d4e1206c11 100644 --- a/lang/guile22/Makefile +++ b/lang/guile22/Makefile @@ -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 --git a/lang/guile22/distinfo b/lang/guile22/distinfo index f8b720bcb1c..db3194e3d9e 100644 --- a/lang/guile22/distinfo +++ b/lang/guile22/distinfo @@ -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 @@ SHA512 (guile-2.2.7.tar.gz) = ad11885ffeb7655ef6c8543e67233992dc37bdcf91ed82188e 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 --git a/lang/guile22/patches/patch-modules_system_base_target.scm b/lang/guile22/patches/patch-modules_system_base_target.scm new file mode 100644 index 00000000000..45c7bc4430b --- /dev/null +++ b/lang/guile22/patches/patch-modules_system_base_target.scm @@ -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) |