summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/flasm/files')
-rw-r--r--app-misc/flasm/files/digest-flasm-1.6.13
-rw-r--r--app-misc/flasm/files/flasm-1.6.1-makefile.patch27
2 files changed, 30 insertions, 0 deletions
diff --git a/app-misc/flasm/files/digest-flasm-1.6.1 b/app-misc/flasm/files/digest-flasm-1.6.1
new file mode 100644
index 000000000000..a0b89a741e00
--- /dev/null
+++ b/app-misc/flasm/files/digest-flasm-1.6.1
@@ -0,0 +1,3 @@
+MD5 75e585dd5f47429b7ff56a8795366d02 flasm16src.zip 111142
+RMD160 4ee6000ecc4febbde1e130b8ad15a2da7b09c5b1 flasm16src.zip 111142
+SHA256 cbbc2aac2145e2b4f41a237efa2549b51230a3a05acf442f3b94a906797b192a flasm16src.zip 111142
diff --git a/app-misc/flasm/files/flasm-1.6.1-makefile.patch b/app-misc/flasm/files/flasm-1.6.1-makefile.patch
new file mode 100644
index 000000000000..549653f8451e
--- /dev/null
+++ b/app-misc/flasm/files/flasm-1.6.1-makefile.patch
@@ -0,0 +1,27 @@
+--- Makefile.old 2005-10-14 02:11:53.000000000 +0200
++++ Makefile 2006-10-27 22:59:55.654125000 +0200
+@@ -1,6 +1,4 @@
+ UNAME = $(shell uname)
+-CC = gcc
+-CFLAGS = -g -Wall -O2
+ LIBS = -lz
+ OFILES = util.o keywords.o flasm.o unflasm.o lex.yy.o assembler.tab.o
+ GARBAGE = assembler.tab.* lex.yy.c memwatch.o gmon.out memwatch.log core
+@@ -9,8 +7,6 @@
+ ifneq (,$(findstring debug,$(MAKECMDGOALS)))
+ CFLAGS += -DMEMWATCH -pg -p -pedantic -W -Wcast-align -Wcast-qual -Wshadow -Wnested-externs -Wstrict-prototypes -Waggregate-return -Wmissing-prototypes -Wpointer-arith
+ OFILES += memwatch.o
+-else
+- CFLAGS += -s
+ endif
+
+ # executable should not depend on cygwin.dll
+@@ -26,7 +22,7 @@
+ -rm -f ${OFILES} ${GARBAGE}
+
+ flasm: ${OFILES}
+- ${CC} $(CFLAGS) -o flasm ${OFILES} ${LIBS}
++ ${CC} $(CFLAGS) $(LDFLAGS) -o flasm ${OFILES} ${LIBS}
+
+ assembler.tab.c assembler.tab.h: assembler.y
+ bison --defines --debug assembler.y