diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /sci-electronics/fasthenry/files | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'sci-electronics/fasthenry/files')
3 files changed, 106 insertions, 0 deletions
diff --git a/sci-electronics/fasthenry/files/fasthenry-3.0.20.07.17-ar.patch b/sci-electronics/fasthenry/files/fasthenry-3.0.20.07.17-ar.patch new file mode 100644 index 000000000000..ea1e671b7df1 --- /dev/null +++ b/sci-electronics/fasthenry/files/fasthenry-3.0.20.07.17-ar.patch @@ -0,0 +1,18 @@ +diff -ruN fasthenry-3.0wr.orig/src/sparse/Makefile fasthenry-3.0wr/src/sparse/Makefile +--- fasthenry-3.0wr.orig/src/sparse/Makefile 2020-10-24 18:35:15.348900086 +0300 ++++ fasthenry-3.0wr/src/sparse/Makefile 2020-10-24 18:37:09.729921680 +0300 +@@ -25,12 +25,12 @@ + # $(CC) $(CFLAGS) -o $(DESTINATION) $(TESTO) $(LIBRARY) -lm + + $(LIBRARY) : $(OFILES) +- ar r $(LIBRARY) $? ++ $(AR) r $(LIBRARY) $? + ranlib $(LIBRARY) + + spice : $(LIBRARY) spSMP.o + cp $(LIBRARY) ../SMP.a +- ar r ../SMP.a spSMP.o ++ $(AR) r ../SMP.a spSMP.o + ranlib ../SMP.a + + lint : diff --git a/sci-electronics/fasthenry/files/fasthenry-3.0.20.07.17-cflags.patch b/sci-electronics/fasthenry/files/fasthenry-3.0.20.07.17-cflags.patch new file mode 100644 index 000000000000..7053406cb26f --- /dev/null +++ b/sci-electronics/fasthenry/files/fasthenry-3.0.20.07.17-cflags.patch @@ -0,0 +1,48 @@ +diff -ruN fasthenry-3.0wr.orig/src/fasthenry/mk_syscfg.inc fasthenry-3.0wr/src/fasthenry/mk_syscfg.inc +--- fasthenry-3.0wr.orig/src/fasthenry/mk_syscfg.inc 2020-07-23 01:18:06.000000000 +0300 ++++ fasthenry-3.0wr/src/fasthenry/mk_syscfg.inc 2020-10-18 23:01:19.019207947 +0300 +@@ -2,7 +2,7 @@ + # except for MinGW. + + #CFLAGS = -O -g -DFOUR +-CFLAGS = -O3 -DFOUR ++CFLAGS += -DFOUR + + # For MinGW, there is no getrusage, and we'll skip a gethostname call + # to avoid having to link with winsock. +@@ -12,4 +12,4 @@ + + # We're going to assume gcc, you'll need to comment this if a + # non-compatible compiler is used. +-CC := gcc ++#CC := gcc +diff -ruN fasthenry-3.0wr.orig/src/sparse/Makefile fasthenry-3.0wr/src/sparse/Makefile +--- fasthenry-3.0wr.orig/src/sparse/Makefile 2019-09-02 21:41:53.000000000 +0300 ++++ fasthenry-3.0wr/src/sparse/Makefile 2020-10-18 23:01:49.339387549 +0300 +@@ -4,7 +4,7 @@ + # UC Berkeley + # + #CFLAGS = -O -g +-CFLAGS = -O3 ++#CFLAGS = -O3 + LINTFLAGS = -lc -lm + SHELL = /bin/sh + #CC = cc +diff -ruN fasthenry-3.0wr.orig/src/zbuf/mk_syscfg.inc fasthenry-3.0wr/src/zbuf/mk_syscfg.inc +--- fasthenry-3.0wr.orig/src/zbuf/mk_syscfg.inc 2020-07-23 01:18:23.000000000 +0300 ++++ fasthenry-3.0wr/src/zbuf/mk_syscfg.inc 2020-10-18 23:01:19.019207947 +0300 +@@ -2,7 +2,7 @@ + # except for MinGW. + + #CFLAGS = -O -g -DFOUR +-CFLAGS = -O3 -DFOUR ++CFLAGS += -DFOUR + + # For MinGW, there is no getrusage, and we'll skip a gethostname call + # to avoid having to link with winsock. +@@ -12,4 +12,4 @@ + + # We're going to assume gcc, you'll need to comment this if a + # non-compatible compiler is used. +-CC := gcc ++#CC := gcc diff --git a/sci-electronics/fasthenry/files/fasthenry-3.0.20.07.17-ldflags.patch b/sci-electronics/fasthenry/files/fasthenry-3.0.20.07.17-ldflags.patch new file mode 100644 index 000000000000..198f2f7e74fe --- /dev/null +++ b/sci-electronics/fasthenry/files/fasthenry-3.0.20.07.17-ldflags.patch @@ -0,0 +1,40 @@ +diff -ruN fasthenry-3.0wr.orig/src/fasthenry/Makefile fasthenry-3.0wr/src/fasthenry/Makefile +--- fasthenry-3.0wr.orig/src/fasthenry/Makefile 2020-07-12 19:17:05.000000000 +0300 ++++ fasthenry-3.0wr/src/fasthenry/Makefile 2020-10-24 18:27:20.624660092 +0300 +@@ -49,7 +49,7 @@ + @if [ $(SOLVER) = SPARSE_SOLVER ]; then \ + cd ../sparse; make CC=$(CC); \ + fi +- $(CC) -o fasthenry $(CFLAGS) $(OBJS) $(MOBJS) $(NONUNIOBJS) $(SOLVERLIB) -lm ++ $(CC) -o fasthenry $(LDFLAGS) $(CFLAGS) $(OBJS) $(MOBJS) $(NONUNIOBJS) $(SOLVERLIB) -lm + mv fasthenry $(BIN)/fasthenry + + clean: +diff -ruN fasthenry-3.0wr.orig/src/misc/Makefile fasthenry-3.0wr/src/misc/Makefile +--- fasthenry-3.0wr.orig/src/misc/Makefile 2019-03-21 23:10:58.000000000 +0200 ++++ fasthenry-3.0wr/src/misc/Makefile 2020-10-24 18:28:12.805126140 +0300 +@@ -1,10 +1,10 @@ + all: MakeLcircuit ReadOutput + + MakeLcircuit: MakeLcircuit.c +- $(CC) -O -o MakeLcircuit MakeLcircuit.c -lm ++ $(CC) $(LDFLAGS) $(CFLAGS) -o MakeLcircuit MakeLcircuit.c -lm + + ReadOutput: ReadOutput.c +- $(CC) -O -o ReadOutput ReadOutput.c -lm ++ $(CC) $(LDFLAGS) $(CFLAGS) -o ReadOutput ReadOutput.c -lm + + clean:: + -@rm -f *.o MakeLcircuit ReadOutput +diff -ruN fasthenry-3.0wr.orig/src/zbuf/Makefile fasthenry-3.0wr/src/zbuf/Makefile +--- fasthenry-3.0wr.orig/src/zbuf/Makefile 2019-09-08 22:53:50.000000000 +0300 ++++ fasthenry-3.0wr/src/zbuf/Makefile 2020-10-24 18:29:50.686000362 +0300 +@@ -41,7 +41,7 @@ + LIBS = -lm + + zbuf: $(OBJS) +- $(CC) -o zbuf $(CFLAGS) $(OBJS) $(LIBS) ++ $(CC) $(LDFLAGS) -o zbuf $(CFLAGS) $(OBJS) $(LIBS) + mv zbuf $(BIN)/zbuf + + clean: |