aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mgetty/mgetty-1.1.30
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mgetty/mgetty-1.1.30')
-rw-r--r--recipes/mgetty/mgetty-1.1.30/faxqhelper_ldflags.patch13
-rw-r--r--recipes/mgetty/mgetty-1.1.30/newslock_ldflags.patch13
2 files changed, 26 insertions, 0 deletions
diff --git a/recipes/mgetty/mgetty-1.1.30/faxqhelper_ldflags.patch b/recipes/mgetty/mgetty-1.1.30/faxqhelper_ldflags.patch
new file mode 100644
index 0000000000..4d3ea24b57
--- /dev/null
+++ b/recipes/mgetty/mgetty-1.1.30/faxqhelper_ldflags.patch
@@ -0,0 +1,13 @@
+Index: mgetty-1.1.30/fax/Makefile
+===================================================================
+--- mgetty-1.1.30.orig/fax/Makefile 2009-05-09 22:00:37.814162343 +0200
++++ mgetty-1.1.30/fax/Makefile 2009-05-09 22:01:04.209581406 +0200
+@@ -36,7 +36,7 @@
+ @cd .. ; $(MAKE) sedscript
+
+ faxq-helper: faxq-helper.o
+- $(CC) $(CFLAGS) -o faxq-helper faxq-helper.o
++ $(CC) $(CFLAGS) $(LDFLAGS) -o faxq-helper faxq-helper.o
+
+ faxq-helper.o: faxq-helper.c
+ $(CC) $(CFLAGS) -DFAX_SPOOL_OUT=\"$(FAX_SPOOL_OUT)\" \
diff --git a/recipes/mgetty/mgetty-1.1.30/newslock_ldflags.patch b/recipes/mgetty/mgetty-1.1.30/newslock_ldflags.patch
new file mode 100644
index 0000000000..a4fc814bd0
--- /dev/null
+++ b/recipes/mgetty/mgetty-1.1.30/newslock_ldflags.patch
@@ -0,0 +1,13 @@
+Index: mgetty-1.1.30/Makefile
+===================================================================
+--- mgetty-1.1.30.orig/Makefile 2009-05-09 21:55:50.072936310 +0200
++++ mgetty-1.1.30/Makefile 2009-05-09 21:56:09.401939481 +0200
+@@ -569,7 +569,7 @@
+ ./sedscript <sendfax.cfg.in >sendfax.config
+
+ newslock: compat/newslock.c
+- $(CC) $(CFLAGS) -o newslock compat/newslock.c
++ $(CC) $(CFLAGS) $(LDFLAGS) -o newslock compat/newslock.c
+
+ # internal: use this to create a "clean" mgetty+sendfax tree
+ bindist: all doc-all sedscript