summaryrefslogtreecommitdiff
path: root/packages/setserial/files
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-06-07 18:54:09 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-06-07 18:54:09 +0000
commit981c8b2b3fb9eb3109103a19d208c55b7f7d4c2a (patch)
treea43010311b5d23da320609f3b55d02806f64f487 /packages/setserial/files
parente70e6eec84b5ada3283b5489325a676f9c5a7f05 (diff)
setserial 2.17 add ldflags. closes #1545
Diffstat (limited to 'packages/setserial/files')
-rw-r--r--packages/setserial/files/.mtn2git_empty0
-rw-r--r--packages/setserial/files/addflags.patch21
2 files changed, 21 insertions, 0 deletions
diff --git a/packages/setserial/files/.mtn2git_empty b/packages/setserial/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/setserial/files/.mtn2git_empty
diff --git a/packages/setserial/files/addflags.patch b/packages/setserial/files/addflags.patch
new file mode 100644
index 0000000000..d4f4c91190
--- /dev/null
+++ b/packages/setserial/files/addflags.patch
@@ -0,0 +1,21 @@
+Index: setserial-2.17/Makefile.in
+===================================================================
+--- setserial-2.17.orig/Makefile.in
++++ setserial-2.17/Makefile.in
+@@ -13,6 +13,7 @@ STRIP = @STRIP@
+ CC = @CC@
+ RM = rm -f
+ CFLAGS = @CFLAGS@
++LDFLAGS = @LDFLAGS@
+ DEFS = @DEFS@
+ INCS = -I.
+ TAR = tar
+@@ -20,7 +21,7 @@ TAR = tar
+ all: setserial setserial.cat
+
+ setserial: setserial.c
+- $(CC) $(CFLAGS) $(DEFS) $(INCS) setserial.c -o setserial
++ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) $(INCS) setserial.c -o setserial
+
+ setserial.cat: setserial.8
+ nroff -man setserial.8 > setserial.cat