summaryrefslogtreecommitdiff
path: root/tin/tin-1.7.3/makecfg-buildcc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tin/tin-1.7.3/makecfg-buildcc.patch')
-rw-r--r--tin/tin-1.7.3/makecfg-buildcc.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/tin/tin-1.7.3/makecfg-buildcc.patch b/tin/tin-1.7.3/makecfg-buildcc.patch
index e69de29bb2..2b3dba44f9 100644
--- a/tin/tin-1.7.3/makecfg-buildcc.patch
+++ b/tin/tin-1.7.3/makecfg-buildcc.patch
@@ -0,0 +1,24 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- tin-1.7.3/src/Makefile.in~makecfg-buildcc
++++ tin-1.7.3/src/Makefile.in
+@@ -462,7 +462,7 @@
+ ./makecfg $(SRCDIR)/tincfg.tbl tincfg.h
+
+ makecfg$(EXEEXT): $(OBJDIR)/makecfg.o
+- $(LD) $(LDFLAGS) -o $@ $(OBJDIR)/makecfg.o @LIBS@
++ $(BUILD_CC) $(BUILD_LDFLAGS) -o $@ $(OBJDIR)/makecfg.o
+
+ $(OBJDIR)/active.o: $(SRCDIR)/active.c $(TIN_DEP)
+ $(OBJDIR)/art.o: $(SRCDIR)/art.c $(TIN_DEP) \
+@@ -519,6 +519,7 @@
+ $(OBJDIR)/main.o: $(SRCDIR)/main.c $(TIN_DEP) \
+ $(INCDIR)/version.h
+ $(OBJDIR)/makecfg.o: $(SRCDIR)/makecfg.c $(TIN_DEP)
++ $(BUILD_CC) $(BUILD_CFLAGS) -c -I../include -I../pcre -o $@ $(SRCDIR)/makecfg.c
+ $(OBJDIR)/memory.o: $(SRCDIR)/memory.c $(TIN_DEP) \
+ $(INCDIR)/rfc2046.h
+ $(OBJDIR)/mimetypes.o: $(SRCDIR)/mimetypes.c $(TIN_DEP)