Sat Jan 16 16:35:04 2021 UTC ()
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
(spz)
diff -r1.6 -r1.6.2.1 pkgsrc/sysutils/xentools413/distinfo
diff -r0 -r1.1.2.2 pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_Makefile.rules
diff -r1.1 -r1.1.6.1 pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_common.make
--- pkgsrc/sysutils/xentools413/distinfo 2020/12/16 17:17:08 1.6
+++ pkgsrc/sysutils/xentools413/distinfo 2021/01/16 16:35:04 1.6.2.1
$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
--- pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_common.make 2020/05/26 11:12:11 1.1
+++ pkgsrc/sysutils/xentools413/patches/patch-tools_ocaml_common.make 2021/01/16 16:35:04 1.1.6.1