On Thu, 30 Jul 2009, Peter Breitenlohner wrote:


attached is a small patch addressing the points 1, 2, and 4.

Sorry, I forgot to attach the patch.

Regards
Peter Breitenlohner <[email protected]>
diff -ur cpio-2.10.orig/src/Makefile.am cpio-2.10/src/Makefile.am
--- cpio-2.10.orig/src/Makefile.am      2009-06-19 11:24:50.000000000 +0200
+++ cpio-2.10/src/Makefile.am   2009-07-29 18:27:31.000000000 +0200
@@ -37,6 +37,10 @@
  makepath.c\
  userspec.c
 
+mt_SOURCES = \
+ fatal.c\
+ mt.c
+
 noinst_HEADERS =\
  cpio.h\
  cpiohdr.h\
@@ -50,4 +54,4 @@
 
 LDADD=../lib/libpax.a ../gnu/libgnu.a @INTLLIBS@
 
-mt.o main.o: ../lib/rmt-command.h
+mt.$(OBJEXT) main.$(OBJEXT): ../lib/rmt-command.h
diff -ur cpio-2.10.orig/src/mt.c cpio-2.10/src/mt.c
--- cpio-2.10.orig/src/mt.c     2009-02-14 19:15:50.000000000 +0100
+++ cpio-2.10/src/mt.c  2009-07-29 18:36:50.000000000 +0200
@@ -77,6 +77,9 @@
 #endif
 #include <rmt-command.h>
 
+#include "configmake.h"
+#include "paxlib.h"
+
 #if defined(HAVE_UNISTD_H)
 #include <unistd.h>
 #endif

Reply via email to