diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ada/asis/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ada/asis/files')
-rw-r--r-- | dev-ada/asis/files/asis-2016-gentoo.patch | 36 | ||||
-rw-r--r-- | dev-ada/asis/files/asis-2017-gentoo.patch | 50 |
2 files changed, 86 insertions, 0 deletions
diff --git a/dev-ada/asis/files/asis-2016-gentoo.patch b/dev-ada/asis/files/asis-2016-gentoo.patch new file mode 100644 index 000000000000..c5ffda3628b9 --- /dev/null +++ b/dev-ada/asis/files/asis-2016-gentoo.patch @@ -0,0 +1,36 @@ +--- asis-gpl-2015-src/Makefile.old 2017-01-03 13:59:38.106788092 +0000 ++++ asis-gpl-2015-src/Makefile 2017-01-03 14:01:43.735605615 +0000 +@@ -10,15 +10,18 @@ + # ==================================================== build + + all: +- $(GPRBUILD) -p -j0 -XBLD=$(BLD) -XOPSYS=$(OPSYS) \ +- $(GPRBUILD_FLAGS) -XASIS_COMPONENTS=$(COMPS) build_asis.gpr ++ $(GPRBUILD) -p -j$(PROCESSORS) -XBLD=$(BLD) -XOPSYS=$(OPSYS) \ ++ $(GPRBUILD_FLAGS) -XASIS_COMPONENTS=$(COMPS) build_asis.gpr \ ++ -cargs $(ADAFLAGS) + + tools: setup +- $(GPRBUILD) -p -j0 -XBLD=$(BLD) -XOPSYS=$(OPSYS) \ +- $(GPRBUILD_FLAGS) -XASIS_COMPONENTS=tools build_asis.gpr ++ $(GPRBUILD) -p -j$(PROCESSORS) -XBLD=$(BLD) -XOPSYS=$(OPSYS) \ ++ $(GPRBUILD_FLAGS) -XASIS_COMPONENTS=tools build_asis.gpr \ ++ -cargs $(ADAFLAGS) + + setup: +- $(GPRBUILD) -p -XBLD=$(BLD) tools/tool_utils/generate_factory.gpr ++ $(GPRBUILD) -p -j$(PROCESSORS) -XBLD=$(BLD) tools/tool_utils/generate_factory.gpr \ ++ -cargs $(ADAFLAGS) + rm -rf tools/tool_utils/ada_trees-factory.ads tools/tool_utils/ada_trees-factory.adb + rm -rf tools/gnat2xml/ada_trees-factory.ads tools/gnat2xml/ada_trees-factory.adb + cd tools/tool_utils ; ./ada_trees-generate_factory$(exe_ext) +--- asis-gpl-2016-src/Makefile.stub.old 2017-04-06 21:16:41.802376709 +0200 ++++ asis-gpl-2016-src/Makefile.stub 2017-04-06 21:17:01.627023825 +0200 +@@ -3,7 +3,6 @@ + + # Where Asis library should be installed + # Default is into current GNAT directory +-INSTALL_DIR = $(dir $(shell which gnatls)).. + prefix=$(INSTALL_DIR) + + # System commands diff --git a/dev-ada/asis/files/asis-2017-gentoo.patch b/dev-ada/asis/files/asis-2017-gentoo.patch new file mode 100644 index 000000000000..3c3ab73618fc --- /dev/null +++ b/dev-ada/asis/files/asis-2017-gentoo.patch @@ -0,0 +1,50 @@ +--- asis-gpl-2015-src/Makefile.old 2017-01-03 13:59:38.106788092 +0000 ++++ asis-gpl-2015-src/Makefile 2017-01-03 14:01:43.735605615 +0000 +@@ -10,18 +10,21 @@ + + .PHONY: all + all: setup-snames +- $(GPRBUILD) -p -j0 -XBLD=$(BLD) -XOPSYS=$(OPSYS) -XGNSA=$(GNSA) \ +- $(GPRBUILD_FLAGS) -XASIS_COMPONENTS=$(COMPS) build_asis.gpr ++ $(GPRBUILD) -p -j$(PROCESSORS) -XBLD=$(BLD) -XOPSYS=$(OPSYS) -XGNSA=$(GNSA) \ ++ $(GPRBUILD_FLAGS) -XASIS_COMPONENTS=$(COMPS) build_asis.gpr \ ++ -cargs $(ADAFLAGS) + + .PHONY: tools + tools: setup +- $(GPRBUILD) -p -j0 -XBLD=$(BLD) -XOPSYS=$(OPSYS) \ +- $(GPRBUILD_FLAGS) -XASIS_COMPONENTS=tools build_asis.gpr ++ $(GPRBUILD) -p -j$(PROCESSORS) -XBLD=$(BLD) -XOPSYS=$(OPSYS) \ ++ $(GPRBUILD_FLAGS) -XASIS_COMPONENTS=tools build_asis.gpr \ ++ -cargs $(ADAFLAGS) + + .PHONY: toolsdev + toolsdev: setup +- $(GPRBUILD) -p -j0 -XBLD=$(BLD) -XOPSYS=$(OPSYS) \ +- $(GPRBUILD_FLAGS) -XASIS_COMPONENTS=toolsdev build_asis.gpr ++ $(GPRBUILD) -p -j$(PROCESSORS) -XBLD=$(BLD) -XOPSYS=$(OPSYS) \ ++ $(GPRBUILD_FLAGS) -XASIS_COMPONENTS=toolsdev build_asis.gpr \ ++ -cargs $(ADAFLAGS) + + # The setup target re-generates 4 generated Ada files. We avoid changing the + # timestamps of unchanged files, to avoid triggering recompilation of +@@ -34,7 +37,8 @@ + + .PHONY: setup-snames + setup-snames: gnat/snames.ads-tmpl gnat/snames.adb-tmpl gnat/xutil.ads gnat/xutil.adb +- $(GPRBUILD) -p -XBLD=$(BLD) $(GPRBUILD_FLAGS) gnat/snames.gpr ++ $(GPRBUILD) -p -XBLD=$(BLD) $(GPRBUILD_FLAGS) gnat/snames.gpr \ ++ -cargs $(ADAFLAGS) + cd gnat ; ./xsnamest$(exe_ext) + if cmp --quiet gnat/snames.ns gnat/snames.ads; then \ + echo "snames.ads unchanged"; \ +@@ -52,7 +56,8 @@ + .PHONY: setup-factory + setup-factory: + $(GPRBUILD) -p -XBLD=$(BLD) $(GPRBUILD_FLAGS) \ +- tools/tool_utils/generate_factory.gpr ++ tools/tool_utils/generate_factory.gpr \ ++ -cargs $(ADAFLAGS) + cd tools/tool_utils ; \ + ./ada_trees-generate_factory$(exe_ext) + if cmp --quiet tools/tool_utils/ada_trees-factory.ns tools/tool_utils/ada_trees-factory.ads; then \ |