On Monday 30 January 2006 09:33, John Vandenberg wrote:
> Hi everyone,
>
> Here are a few more patches that I needed to build and test quilt on
> Tru64, OS X, and of lesser importance, MinGW.
>
> http://zeroj.hda0.net/quilt-20060130/series.php
http://zeroj.hda0.net/quilt-20060130/tru64-backup-files.diff
Fixed slightly differently. (Btw, more recent Try64 isn't as crappy
anymore according to Google.)
http://zeroj.hda0.net/quilt-20060130/getopt-spaces.diff
Yuck! See below.
http://zeroj.hda0.net/quilt-20060130/test-mail-stdin.diff
Added.
http://zeroj.hda0.net/quilt-20060130/hostname_f.diff
This was meant to be worked around by using the --sender option. I'm
updating the test case instead.
http://zeroj.hda0.net/quilt-20060130/compat_leftover.diff
Added.
http://zeroj.hda0.net/quilt-20060130/mingw-backup-files.diff
Is the attached version okay as well?
http://zeroj.hda0.net/quilt-20060130/test-ignore-eol-issues.diff
Workaround not added.
> The getopt patch is the most important of these, as it affects all
> platforms that don't have a native getopt. I haven't been able to
> complete the new mail test case on either platform due to uniq -D,
> date --rfc-822, and other miscellaneous issues.
Something is still seriously wrong in compat/getopt.in:
$ compat/getopt -o h -- \"
-- "
$ compat/getopt -o h -- \'
-- '
$ compat/getopt -o h -- \\
-- \
$ compat/getopt -o h -- "a b c"
-- a b c
The results should be:
-- '"'
-- ''\'''
-- '\'
-- 'a b c'
Also, please include a trailing newline.
Thanks,
Andreas
Index: quilt.changes
===================================================================
RCS file: /sources/quilt/quilt/quilt.changes,v
retrieving revision 1.393
diff -u -r1.393 quilt.changes
--- quilt.changes 30 Jan 2006 10:47:56 -0000 1.393
+++ quilt.changes 30 Jan 2006 10:51:46 -0000
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon Jan 30 11:52:00 CET 2006 - [EMAIL PROTECTED]
+
+- Allow backup-files to build on windows using the MinGW compiler.
+
+-------------------------------------------------------------------
Mon Jan 30 11:46:21 CET 2006 - [EMAIL PROTECTED]
- Makefile.in: The trailing slash in `find compat/' is causing OSX
Index: lib/backup-files.c
===================================================================
RCS file: /sources/quilt/quilt/lib/backup-files.c,v
retrieving revision 1.29
diff -u -r1.29 backup-files.c
--- lib/backup-files.c 30 Jan 2006 10:32:19 -0000 1.29
+++ lib/backup-files.c 30 Jan 2006 10:51:46 -0000
@@ -50,6 +50,17 @@
# define PATH_MAX 4096
#endif
+#ifdef __MINGW32__
+#define mkdir(x,y) mkdir(x)
+/* Symlinks are not supported */
+#define lstat stat
+static int link(const char *oldpath, const char *newpath)
+{
+ errno = ENOSYS;
+ return -1;
+}
+#endif
+
const char *progname;
enum { what_noop, what_backup, what_restore, what_remove };
_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev