pkgsrc/archivers/arj/patches/patch-ae
minskim 3ca62e0038 Make this package build on Darwin.
- Include mount.h to use statfs.
  - Use chown(2) if lchown(2) is unavailable.  (Can be problematic,
    but no easy solution.)
  - Pass -bundle to gcc to build a Mach-o bundle format file.
2005-03-22 16:24:13 +00:00

16 lines
342 B
Text

$NetBSD: patch-ae,v 1.1 2005/03/22 16:24:13 minskim Exp $
--- uxspec.c.orig Sat Apr 17 06:39:42 2004
+++ uxspec.c
@@ -13,6 +13,11 @@
#include <unistd.h>
#endif
+#include "c_defs.h"
+#ifndef HAVE_LCHOWN
+#define lchown chown
+#endif
+
DEBUGHDR(__FILE__) /* Debug information block */
/* UXSPECIAL block types */