summaryrefslogtreecommitdiff
path: root/graphics/flasm/files
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-18 07:46:07 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-18 07:46:07 +0000
commit21fb94e2a926064f7d38fc1640131764857477e6 (patch)
tree604db599a82ee9abeea65e16112311a8b934d059 /graphics/flasm/files
parentSupport staging (diff)
- Support staging
- Respect CC and hence fix build with clang - Respect CFLAGS
Notes
Notes: svn path=/head/; revision=348518
Diffstat (limited to 'graphics/flasm/files')
-rw-r--r--graphics/flasm/files/patch-Makefile10
-rw-r--r--graphics/flasm/files/patch-unflasm.c4
2 files changed, 12 insertions, 2 deletions
diff --git a/graphics/flasm/files/patch-Makefile b/graphics/flasm/files/patch-Makefile
new file mode 100644
index 000000000000..e3eb048d20d7
--- /dev/null
+++ b/graphics/flasm/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- ./Makefile.orig 2014-03-18 08:44:13.925827724 +0100
++++ ./Makefile 2014-03-18 08:44:31.479832342 +0100
+@@ -1,6 +1,5 @@
+ UNAME = $(shell uname)
+-CC = gcc
+-CFLAGS = -g -Wall -O2
++CC ?= gcc
+ 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
diff --git a/graphics/flasm/files/patch-unflasm.c b/graphics/flasm/files/patch-unflasm.c
index 209a39b8baef..c9651eff858b 100644
--- a/graphics/flasm/files/patch-unflasm.c
+++ b/graphics/flasm/files/patch-unflasm.c
@@ -1,5 +1,5 @@
---- unflasm.c.orig 2007-06-10 03:40:47.000000000 +0900
-+++ unflasm.c 2010-07-22 12:09:29.000000000 +0900
+--- ./unflasm.c.orig 2014-03-18 08:44:06.055828097 +0100
++++ ./unflasm.c 2014-03-18 08:44:06.060828422 +0100
@@ -1012,29 +1012,11 @@
}