summaryrefslogtreecommitdiff
path: root/sci-mathematics/why3-for-spark/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
commitc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch)
treec44943ee0563a3fa957716de909fed683117fcb9 /sci-mathematics/why3-for-spark/files
parent69051588e2f955485fe5d45d45e616bc60a2de57 (diff)
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'sci-mathematics/why3-for-spark/files')
-rw-r--r--sci-mathematics/why3-for-spark/files/why3-for-spark-2020-bibtex.patch11
-rw-r--r--sci-mathematics/why3-for-spark/files/why3-for-spark-2020-flags.patch28
-rw-r--r--sci-mathematics/why3-for-spark/files/why3-for-spark-2020-gentoo.patch10
3 files changed, 49 insertions, 0 deletions
diff --git a/sci-mathematics/why3-for-spark/files/why3-for-spark-2020-bibtex.patch b/sci-mathematics/why3-for-spark/files/why3-for-spark-2020-bibtex.patch
new file mode 100644
index 000000000000..bcc4762641b9
--- /dev/null
+++ b/sci-mathematics/why3-for-spark/files/why3-for-spark-2020-bibtex.patch
@@ -0,0 +1,11 @@
+--- a/doc/conf.py 2021-02-08 20:09:27.000629537 +0100
++++ b/doc/conf.py 2021-02-08 20:10:04.653994573 +0100
+@@ -34,6 +34,8 @@
+ 'why3'
+ ]
+
++bibtex_bibfiles = ['manual.bib']
++
+ # Add any paths that contain templates here, relative to this directory.
+ templates_path = ['_templates']
+
diff --git a/sci-mathematics/why3-for-spark/files/why3-for-spark-2020-flags.patch b/sci-mathematics/why3-for-spark/files/why3-for-spark-2020-flags.patch
new file mode 100644
index 000000000000..2e5247ac3fa6
--- /dev/null
+++ b/sci-mathematics/why3-for-spark/files/why3-for-spark-2020-flags.patch
@@ -0,0 +1,28 @@
+--- a/Makefile.in 2020-06-12 21:03:33.375534124 +0200
++++ b/Makefile.in 2020-06-12 21:03:48.623283408 +0200
+@@ -121,7 +121,7 @@
+
+ WARNINGS = A-4-9-41-44-45-50-52@5@8@48
+
+-FLAGS = -w $(WARNINGS) -safe-string -keep-locs -bin-annot -dtypes -g $(INCLUDES)
++FLAGS = -w $(WARNINGS) -safe-string -keep-locs -bin-annot -dtypes -g $(INCLUDES) -cclib "$(LDFLAGS)" -ccopt "$(CFLAGS)"
+ OFLAGS = $(FLAGS)
+ BFLAGS = $(FLAGS)
+
+@@ -664,13 +664,13 @@
+ all: $(TOOLS)
+
+ lib/why3server$(EXE): $(SERVER_O)
+- $(CC) -Wall -o $@ $^
++ $(CC) -Wall $(CFLAGS) -o $@ $^ $(LDFLAGS)
+
+ lib/why3cpulimit$(EXE): $(CPULIM_O)
+- $(CC) -Wall -o $@ $^
++ $(CC) -Wall $(CFLAGS) -o $@ $^ $(LDFLAGS)
+
+ %.o: %.c
+- $(CC) -Wall -O -g -o $@ -c $<
++ $(CC) -Wall -O -g $(CFLAGS) -o $@ -c $<
+
+ uninstall-bin::
+ rm -f $(LIBDIR)/why3/why3server$(EXE) $(LIBDIR)/why3/why3cpulimit$(EXE)
diff --git a/sci-mathematics/why3-for-spark/files/why3-for-spark-2020-gentoo.patch b/sci-mathematics/why3-for-spark/files/why3-for-spark-2020-gentoo.patch
new file mode 100644
index 000000000000..47daa3e69908
--- /dev/null
+++ b/sci-mathematics/why3-for-spark/files/why3-for-spark-2020-gentoo.patch
@@ -0,0 +1,10 @@
+--- a/Makefile.in 2020-05-27 21:19:08.736241502 +0200
++++ b/Makefile.in 2020-05-27 21:19:14.042156954 +0200
+@@ -50,7 +50,6 @@
+ OCAMLINSTALLLIB = $(DESTDIR)@OCAMLINSTALLLIB@
+ OCAMLBEST = @OCAMLBEST@
+ OCAMLVERSION = @OCAMLVERSION@
+-CC = gcc
+ COQC = @COQC@
+ COQDEP = @COQDEP@
+ FRAMAC_LIBDIR = $(DESTDIR)@FRAMAC_LIBDIR@