From 7584c1a3aa300d82ead97f9cafabd0d62e6b205e Mon Sep 17 00:00:00 2001 From: JeremyRand Date: Wed, 12 Jun 2019 04:51:20 +0000 Subject: [PATCH] qlib: fix Windows builds --- projects/certdehydrate-dane-rest-api/config | 4 ++-- projects/dnssec-hsts-native/config | 4 ++-- projects/github.com,miekg,dns/config | 3 ++- projects/github.com,namecoin,qlib/config | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/projects/certdehydrate-dane-rest-api/config b/projects/certdehydrate-dane-rest-api/config index 26a9491..03b5e59 100644 --- a/projects/certdehydrate-dane-rest-api/config +++ b/projects/certdehydrate-dane-rest-api/config @@ -24,8 +24,8 @@ input_files: project: gopkg.in,hlandau,easyconfig.v1 - name: github.com,miekg,dns project: github.com,miekg,dns - # v1.0.15 is the last tagged release that still works with q. - git_hash: '7064f7248f5fa5fd79382a76328b4e200b79e4ae' + var: + dns_q_compat: 1 - name: github.com,namecoin,crosssign project: github.com,namecoin,crosssign - name: github.com,namecoin,qlib diff --git a/projects/dnssec-hsts-native/config b/projects/dnssec-hsts-native/config index 313ddb8..efc9975 100644 --- a/projects/dnssec-hsts-native/config +++ b/projects/dnssec-hsts-native/config @@ -22,7 +22,7 @@ input_files: project: gopkg.in,hlandau,easyconfig.v1 - name: github.com,miekg,dns project: github.com,miekg,dns - # v1.0.15 is the last tagged release that still works with q. - git_hash: '7064f7248f5fa5fd79382a76328b4e200b79e4ae' + var: + dns_q_compat: 1 - name: github.com,namecoin,qlib project: github.com,namecoin,qlib diff --git a/projects/github.com,miekg,dns/config b/projects/github.com,miekg,dns/config index 8de5d33..e752e10 100644 --- a/projects/github.com,miekg,dns/config +++ b/projects/github.com,miekg,dns/config @@ -1,6 +1,7 @@ version: '[% c("abbrev") %]' git_url: https://github.com/miekg/dns.git -git_hash: '[% config.var_p.id.${"github.com/miekg/dns"} %]' +# v1.0.15 is the last tagged release that still works with q. +git_hash: '[% IF !c("var/dns_q_compat") -%][% config.var_p.id.${"github.com/miekg/dns"} %][% ELSE %]7064f7248f5fa5fd79382a76328b4e200b79e4ae[% END %]' filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz' build: '[% c("projects/go/var/build_go_lib") %]' diff --git a/projects/github.com,namecoin,qlib/config b/projects/github.com,namecoin,qlib/config index 19926f7..2612bbe 100644 --- a/projects/github.com,namecoin,qlib/config +++ b/projects/github.com,namecoin,qlib/config @@ -20,5 +20,5 @@ input_files: project: go - name: github.com,miekg,dns project: github.com,miekg,dns - # v1.0.15 is the last tagged release that still works with q. - git_hash: '7064f7248f5fa5fd79382a76328b4e200b79e4ae' + var: + dns_q_compat: 1