diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-19 14:14:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-19 14:14:48 +0100 |
commit | 5cfef3c94cd7e82136c69a0322f5ba21f7e64632 (patch) | |
tree | 8f255dfacbacb657e3ac3654d01c1e11e651c066 /sci-chemistry/elem/files | |
parent | 8aebb228036d5e2863b7eaa6e319ab41c1669269 (diff) |
gentoo resync : 19.04.2018
Diffstat (limited to 'sci-chemistry/elem/files')
-rw-r--r-- | sci-chemistry/elem/files/elem-1.0.3-fix-build-system.patch | 65 | ||||
-rw-r--r-- | sci-chemistry/elem/files/elem-1.0.3-missing-stdlib.patch | 9 |
2 files changed, 74 insertions, 0 deletions
diff --git a/sci-chemistry/elem/files/elem-1.0.3-fix-build-system.patch b/sci-chemistry/elem/files/elem-1.0.3-fix-build-system.patch new file mode 100644 index 000000000000..b89f226e46a7 --- /dev/null +++ b/sci-chemistry/elem/files/elem-1.0.3-fix-build-system.patch @@ -0,0 +1,65 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,8 +1,4 @@ +-COMPILER=gcc +-LIBS = -lm -L./ -lforms -L/usr/X11R6/lib -lX11 -lnsl +-INCLUDE=-I/usr/X11R6/include/X11 -I/usr/include -I/usr/X11R6/include -I/usr/local/X11/include/ -I/usr/X/include/ +-FLAGS = -g -O2 +-DESTDIR = ++LIBS = -lm -L./ -lforms + + + default: +@@ -35,7 +31,7 @@ + @echo "erzeuge deutsche Version von elem" + + elem-de: elem_main_de.o elem_cb_de.o elem_de.o deutsch.h +- ${COMPILER} ${FLAGS} -o elem-de elem_main_de.o elem_cb_de.o elem_de.o ${LIBS} -DDEUTSCH ++ $(CC) $(LDFLAGS) $(CFLAGS) -o elem-de elem_main_de.o elem_cb_de.o elem_de.o $(LIBS) + + + +@@ -43,34 +39,34 @@ + @echo "creating english version of elem" + + elem-en: elem_main_en.o elem_cb_en.o elem_en.o english.h +- ${COMPILER} ${FLAGS} -o elem-en elem_main_en.o elem_cb_en.o elem_en.o ${LIBS} -DENGLISH ++ $(CC) $(LDFLAGS) $(CFLAGS) -o elem-en elem_main_en.o elem_cb_en.o elem_en.o $(LIBS) + + static-de : elem_main_de.o elem_cb_de.o elem_de.o +- ${COMPILER} ${FLAGS} -static -o elem-static-de elem_main_de.o elem_cb_de.o elem_de.o ${LIBS} -DDEUTSCH ++ $(CC) $(LDFLAGS) $(CFLAGS) -static -o elem-static-de elem_main_de.o elem_cb_de.o elem_de.o $(LIBS) + + static-en : elem_main_en.o elem_cb_en.o elem_en.o +- ${COMPILER} ${FLAGS} -static -o elem-static-en elem_main_en.o elem_cb_en.o elem_en.o ${LIBS} -DENGLISH ++ $(CC) $(LDFLAGS) $(CFLAGS) -static -o elem-static-en elem_main_en.o elem_cb_en.o elem_en.o $(LIBS) + + + + + elem_main_de.o : elem_main.c elem.h deutsch.h +- ${COMPILER} ${FLAGS} -DDEUTSCH -o elem_main_de.o -c elem_main.c ${INCLUDE} ++ $(CC) $(CFLAGS) $(CPPFLAGS) -DDEUTSCH -o elem_main_de.o -c elem_main.c + + elem_main_en.o : elem_main.c elem.h english.h +- ${COMPILER} ${FLAGS} -DENGLISH -o elem_main_en.o -c elem_main.c ${INCLUDE} ++ $(CC) $(CFLAGS) $(CPPFLAGS) -DENGLISH -o elem_main_en.o -c elem_main.c + + + elem_cb_de.o : elem_cb.c elem.h deutsch.h +- ${COMPILER} ${FLAGS} -DDEUTSCH -o elem_cb_de.o -c elem_cb.c ${INCLUDE} ++ $(CC) $(CFLAGS) $(CPPFLAGS) -DDEUTSCH -o elem_cb_de.o -c elem_cb.c + elem_cb_en.o : elem_cb.c elem.h english.h +- ${COMPILER} ${FLAGS} -DENGLISH -o elem_cb_en.o -c elem_cb.c ${INCLUDE} ++ $(CC) $(CFLAGS) $(CPPFLAGS) -DENGLISH -o elem_cb_en.o -c elem_cb.c + + + elem_de.o : elem.c elem.h +- ${COMPILER} ${FLAGS} -DDEUTSCH -o elem_de.o -c elem.c ${INCLUDE} ++ $(CC) $(CFLAGS) $(CPPFLAGS) -DDEUTSCH -o elem_de.o -c elem.c + elem_en.o : elem.c elem.h +- ${COMPILER} ${FLAGS} -DENGLISH -o elem_en.o -c elem.c ${INCLUDE} ++ $(CC) $(CFLAGS) $(CPPFLAGS) -DENGLISH -o elem_en.o -c elem.c + + + install-de: deutsch diff --git a/sci-chemistry/elem/files/elem-1.0.3-missing-stdlib.patch b/sci-chemistry/elem/files/elem-1.0.3-missing-stdlib.patch new file mode 100644 index 000000000000..e1937734a51c --- /dev/null +++ b/sci-chemistry/elem/files/elem-1.0.3-missing-stdlib.patch @@ -0,0 +1,9 @@ +--- a/elem_cb.c ++++ b/elem_cb.c +@@ -1,5 +1,6 @@ + #include "forms.h" + #include "elem.h" ++#include <stdlib.h> + #include <string.h> + + |