pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/xbin Define BSD and link with -lcompat on Dr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4bbb84336a8a
branches: trunk
changeset: 500146:4bbb84336a8a
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Oct 03 11:23:42 2005 +0000
description:
Define BSD and link with -lcompat on DragonFly, too. Use NAME_MAX, when
available and fallback to filesystem constants otherwise.
diffstat:
archivers/xbin/Makefile | 4 ++--
archivers/xbin/distinfo | 3 ++-
archivers/xbin/patches/patch-aa | 21 +++++++++++++++++++++
3 files changed, 25 insertions(+), 3 deletions(-)
diffs (57 lines):
diff -r 6dae659d339b -r 4bbb84336a8a archivers/xbin/Makefile
--- a/archivers/xbin/Makefile Mon Oct 03 11:22:02 2005 +0000
+++ b/archivers/xbin/Makefile Mon Oct 03 11:23:42 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2005/06/06 14:03:53 yyamano Exp $
+# $NetBSD: Makefile,v 1.21 2005/10/03 11:23:42 joerg Exp $
#
DISTNAME= ${PRGNAME}unix
@@ -23,7 +23,7 @@
.include "../../mk/bsd.prefs.mk"
-.if !empty(OPSYS:M*BSD)
+.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly"
CFLAGS+= -DBSD
LDFLAGS+= -lcompat
.endif
diff -r 6dae659d339b -r 4bbb84336a8a archivers/xbin/distinfo
--- a/archivers/xbin/distinfo Mon Oct 03 11:22:02 2005 +0000
+++ b/archivers/xbin/distinfo Mon Oct 03 11:23:42 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 14:45:27 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/10/03 11:23:42 joerg Exp $
SHA1 (xbinunix.c) = 20db911814c29c5f236d5dc2a27fe25c7a5f61fb
RMD160 (xbinunix.c) = 92a2daccb405c95e7a1b00f4162009f3c4245631
@@ -6,3 +6,4 @@
SHA1 (xbin.man) = 2e223e6a02a2436f29c586fa711ee5ad3bbf591d
RMD160 (xbin.man) = d01696da1c79f1693161417c6a8ced87b5b11c12
Size (xbin.man) = 3277 bytes
+SHA1 (patch-aa) = 688b15f04eb783aa007383383d7614460ffb5083
diff -r 6dae659d339b -r 4bbb84336a8a archivers/xbin/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/xbin/patches/patch-aa Mon Oct 03 11:23:42 2005 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2005/10/03 11:23:43 joerg Exp $
+
+--- xbinunix.c.orig 2005-08-17 18:43:47.000000000 +0000
++++ xbinunix.c
+@@ -2,12 +2,15 @@
+ static char version[] = "xbin.c Version 2.3 09/30/85";
+ #endif lint
+
++#include <limits.h>
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/dir.h>
+
+-#ifdef MAXNAMLEN /* 4.2 BSD */
++#if defined(NAME_MAX)
++#define FNAMELEN NAME_MAX
++#elif defined(MAXNAMLEN) /* 4.2 BSD */
+ #define FNAMELEN MAXNAMLEN
+ #else
+ #define FNAMELEN DIRSIZ
Home |
Main Index |
Thread Index |
Old Index