diff options
author | hans <hans@pkgsrc.org> | 2012-02-29 20:17:31 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-02-29 20:17:31 +0000 |
commit | 06d9fa9dc65385c9b8c70e58cb4ff0ee272aa322 (patch) | |
tree | 43ce5c5054d5c93c8348371dc1c516257e1a902f /archivers | |
parent | e98301c0b20347599eefebcb81deb2dead40aab9 (diff) | |
download | pkgsrc-06d9fa9dc65385c9b8c70e58cb4ff0ee272aa322.tar.gz |
By using dirent.h instead of sys/dir.h this suddenly builds on SunOS.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/xbin/distinfo | 4 | ||||
-rw-r--r-- | archivers/xbin/patches/patch-aa | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/archivers/xbin/distinfo b/archivers/xbin/distinfo index 131f248c45d..778db8788d1 100644 --- a/archivers/xbin/distinfo +++ b/archivers/xbin/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2005/10/03 11:23:42 joerg Exp $ +$NetBSD: distinfo,v 1.5 2012/02/29 20:17:31 hans Exp $ SHA1 (xbinunix.c) = 20db911814c29c5f236d5dc2a27fe25c7a5f61fb RMD160 (xbinunix.c) = 92a2daccb405c95e7a1b00f4162009f3c4245631 @@ -6,4 +6,4 @@ Size (xbinunix.c) = 18563 bytes SHA1 (xbin.man) = 2e223e6a02a2436f29c586fa711ee5ad3bbf591d RMD160 (xbin.man) = d01696da1c79f1693161417c6a8ced87b5b11c12 Size (xbin.man) = 3277 bytes -SHA1 (patch-aa) = 688b15f04eb783aa007383383d7614460ffb5083 +SHA1 (patch-aa) = a2a772abc6200936e25cfd63edbd9b3f30fb7e02 diff --git a/archivers/xbin/patches/patch-aa b/archivers/xbin/patches/patch-aa index 66a7addd70e..b183466b42c 100644 --- a/archivers/xbin/patches/patch-aa +++ b/archivers/xbin/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1 2005/10/03 11:23:43 joerg Exp $ +$NetBSD: patch-aa,v 1.2 2012/02/29 20:17:32 hans Exp $ --- xbinunix.c.orig 2005-08-17 18:43:47.000000000 +0000 +++ xbinunix.c @@ -10,7 +10,8 @@ $NetBSD: patch-aa,v 1.1 2005/10/03 11:23:43 joerg Exp $ #include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
- #include <sys/dir.h>
+-#include <sys/dir.h>
++#include <dirent.h>
-#ifdef MAXNAMLEN /* 4.2 BSD */
+#if defined(NAME_MAX) |