Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 91FE61A924A for ; Sat, 16 Jan 2021 16:35:07 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id A93AD84DAB; Sat, 16 Jan 2021 16:35:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E300384D9C for ; Sat, 16 Jan 2021 16:35:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id VoTe8RKHZI8d for ; Sat, 16 Jan 2021 16:35:05 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 15C1C84CBC for ; Sat, 16 Jan 2021 16:35:05 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0EF00FA9D; Sat, 16 Jan 2021 16:35:05 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_161081490531390" MIME-Version: 1.0 Date: Sat, 16 Jan 2021 16:35:05 +0000 From: "S.P.Zeidler" Subject: CVS commit: [pkgsrc-2020Q4] pkgsrc/sysutils/xentools413 To: pkgsrc-changes@NetBSD.org Reply-To: spz@netbsd.org X-Mailer: log_accum Message-Id: <20210116163505.0EF00FA9D@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_161081490531390 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: spz Date: Sat Jan 16 16:35:04 UTC 2021 Modified Files: pkgsrc/sysutils/xentools413 [pkgsrc-2020Q4]: distinfo pkgsrc/sysutils/xentools413/patches [pkgsrc-2020Q4]: patch-tools_ocaml_common.make Added Files: pkgsrc/sysutils/xentools413/patches [pkgsrc-2020Q4]: patch-tools_ocaml_Makefile.rules Log Message: Pullup ticket #6395 - requested by bouyer sysutils/xentools413: build fix Revisions pulled up: - sysutils/xentools413/distinfo 1.7 - sysutils/xentools413/patches/patch-tools_ocaml_Makefile.rules 1.1 - sysutils/xentools413/patches/patch-tools_ocaml_common.make 1.2 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: bouyer Date: Fri Jan 8 22:08:46 UTC 2021 Modified Files: pkgsrc/sysutils/xentools413: distinfo pkgsrc/sysutils/xentools413/patches: patch-tools_ocaml_common.make Added Files: pkgsrc/sysutils/xentools413/patches: patch-tools_ocaml_Makefile.rules Log Message: Fix build with newer ocaml, from Chavdar Ivanov To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/xentools413/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_Makefile.rules cvs rdiff -u -r1.1 -r1.2 \ pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_common.make To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.6.2.1 pkgsrc/sysutils/xentools413/distinfo cvs rdiff -u -r0 -r1.1.2.2 \ pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_Makefile.rules cvs rdiff -u -r1.1 -r1.1.6.1 \ pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_common.make Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_161081490531390 Content-Disposition: inline Content-Length: 4137 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/sysutils/xentools413/distinfo diff -u pkgsrc/sysutils/xentools413/distinfo:1.6 pkgsrc/sysutils/xentools413/distinfo:1.6.2.1 --- pkgsrc/sysutils/xentools413/distinfo:1.6 Wed Dec 16 17:17:08 2020 +++ pkgsrc/sysutils/xentools413/distinfo Sat Jan 16 16:35:04 2021 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2020/12/16 17:17:08 bouyer Exp $ +$NetBSD: distinfo,v 1.6.2.1 2021/01/16 16:35:04 spz Exp $ SHA1 (xen413/ipxe-1dd56dbd11082fb622c2ed21cfaced4f47d798a6.tar.gz) = b78d21457bc07b4c4d3e770109c169ddafdacdf5 RMD160 (xen413/ipxe-1dd56dbd11082fb622c2ed21cfaced4f47d798a6.tar.gz) = 846dbcc0f56e87fca8c87b00ca2ed031471d4246 @@ -70,7 +70,8 @@ SHA1 (patch-tools_libxl_libxl_event.c) = SHA1 (patch-tools_libxl_libxl_internal.h) = 31da26f2121fe2a1928d75f719554ed9389c187b SHA1 (patch-tools_libxl_libxl_netbsd.c) = e2289fabc37bbb0fa078ce9a7256229f998c5982 SHA1 (patch-tools_libxl_libxl_uuid.c) = 1eb8c027dbeb7e67df7475ee6e4d87220140c65b -SHA1 (patch-tools_ocaml_common.make) = 4b845bdf3a013852109749ee18dfe28e3440d951 +SHA1 (patch-tools_ocaml_Makefile.rules) = 2198396f896999adb8ea05f100a0a5ec36733b1a +SHA1 (patch-tools_ocaml_common.make) = 0e243aff97d8e8c6349f548dbbab878f3ca1acb6 SHA1 (patch-tools_ocaml_libs_eventchn_xeneventchn_stubs.c) = 371e45af87b4432aedeaba1871aa94a4f492e011 SHA1 (patch-tools_ocaml_xenstored_Makefile) = b267702cf4090c7b45bba530e60327fced24e3e5 SHA1 (patch-tools_ocaml_xenstored_utils.ml) = 5e85a0039d668c9b533e8deaa65fcdab9a5ad4c7 Index: pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_common.make diff -u pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_common.make:1.1 pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_common.make:1.1.6.1 --- pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_common.make:1.1 Tue May 26 11:12:11 2020 +++ pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_common.make Sat Jan 16 16:35:04 2021 @@ -1,11 +1,10 @@ -$NetBSD: patch-tools_ocaml_common.make,v 1.1 2020/05/26 11:12:11 bouyer Exp $ +$NetBSD: patch-tools_ocaml_common.make,v 1.1.6.1 2021/01/16 16:35:04 spz Exp $ Handle ocaml-findlib 1.7.3 already appending destdir -Add -unsafe-string to fix build with ocaml-4.06.0 and later ---- tools/ocaml/common.make.orig 2018-01-23 13:49:58.000000000 +0000 -+++ tools/ocaml/common.make -@@ -3,7 +3,7 @@ include $(XEN_ROOT)/tools/Rules.mk +--- tools/ocaml/common.make.orig 2020-10-30 12:24:39.000000000 +0100 ++++ tools/ocaml/common.make 2021-01-08 22:09:56.936759911 +0100 +@@ -3,7 +3,7 @@ CC ?= gcc OCAMLOPT ?= ocamlopt OCAMLC ?= ocamlc @@ -14,14 +13,7 @@ Add -unsafe-string to fix build with oca OCAMLDEP ?= ocamldep OCAMLLEX ?= ocamllex OCAMLYACC ?= ocamlyacc -@@ -12,11 +12,11 @@ OCAMLFIND ?= ocamlfind - CFLAGS += -fPIC -Werror -I$(shell ocamlc -where) - - OCAMLOPTFLAG_G := $(shell $(OCAMLOPT) -h 2>&1 | sed -n 's/^ *\(-g\) .*/\1/p') --OCAMLOPTFLAGS = $(OCAMLOPTFLAG_G) -ccopt "$(LDFLAGS)" -dtypes $(OCAMLINCLUDE) -cc $(CC) -w F -warn-error F --OCAMLCFLAGS += -g $(OCAMLINCLUDE) -w F -warn-error F -+OCAMLOPTFLAGS = $(OCAMLOPTFLAG_G) -unsafe-string -ccopt "$(LDFLAGS)" -dtypes $(OCAMLINCLUDE) -cc $(CC) -w F -warn-error F -+OCAMLCFLAGS += -unsafe-string -g $(OCAMLINCLUDE) -w F -warn-error F +@@ -17,6 +17,6 @@ VERSION := 4.1 Added files: Index: pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_Makefile.rules diff -u /dev/null pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_Makefile.rules:1.1.2.2 --- /dev/null Sat Jan 16 16:35:05 2021 +++ pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_Makefile.rules Sat Jan 16 16:35:04 2021 @@ -0,0 +1,13 @@ +$NetBSD: patch-tools_ocaml_Makefile.rules,v 1.1.2.2 2021/01/16 16:35:04 spz Exp $ + +--- tools/ocaml/Makefile.rules.orig 2021-01-08 22:48:10.638776688 +0100 ++++ tools/ocaml/Makefile.rules 2021-01-08 22:49:05.627085243 +0100 +@@ -34,7 +34,7 @@ + $(call quiet-command, $(OCAMLYACC) -q $<,MLYACC,$@) + + %.o: %.c +- $(call quiet-command, $(CC) $(CFLAGS) -c -o $@ $<,CC,$@) ++ $(call quiet-command, $(CC) $(CFLAGS) -Wno-error=discarded-qualifiers -c -o $@ $<,CC,$@) + + META: META.in + sed 's/@VERSION@/$(VERSION)/g' < $< $o --_----------=_161081490531390--