diff options
author | jschauma <jschauma@pkgsrc.org> | 2002-12-28 21:44:00 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2002-12-28 21:44:00 +0000 |
commit | 43f3a4175413b0420fe0957e9a1bea5416a66d8c (patch) | |
tree | 44d604fc7a4a80305e4d122a4b94b7ff1223aab1 /pkgtools | |
parent | 659d9c534738a2b5cba06302e2e65f667813ab90 (diff) | |
download | pkgsrc-43f3a4175413b0420fe0957e9a1bea5416a66d8c.tar.gz |
Synch with bootstrap-pkgsrc to make this compile on linux.
(Pointed out by Jeremy C. Reed (reed at reedmedia dot net).)
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install/files/lib/config.h.in | 2 | ||||
-rw-r--r-- | pkgtools/pkg_install/files/lib/pen.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/pkg_install/files/lib/config.h.in b/pkgtools/pkg_install/files/lib/config.h.in index 1d52c9fa8b5..f475afe76b0 100644 --- a/pkgtools/pkg_install/files/lib/config.h.in +++ b/pkgtools/pkg_install/files/lib/config.h.in @@ -159,7 +159,7 @@ /* Define if you have the md library (-lmd). */ #undef HAVE_LIBMD -#ifndef HAVE___ATTRIBUTE__ +#if !defined(HAVE___ATTRIBUTE__) && !defined(__linux__) # define __attribute__(x) #endif diff --git a/pkgtools/pkg_install/files/lib/pen.c b/pkgtools/pkg_install/files/lib/pen.c index 7373f5a1df6..9d8f3e64d12 100644 --- a/pkgtools/pkg_install/files/lib/pen.c +++ b/pkgtools/pkg_install/files/lib/pen.c @@ -1,4 +1,4 @@ -/* $NetBSD: pen.c,v 1.1.1.1 2002/12/20 18:14:03 schmonz Exp $ */ +/* $NetBSD: pen.c,v 1.2 2002/12/28 21:44:00 jschauma Exp $ */ #if 0 #include <sys/cdefs.h> @@ -6,7 +6,7 @@ #if 0 static const char *rcsid = "from FreeBSD Id: pen.c,v 1.25 1997/10/08 07:48:12 charnier Exp"; #else -__RCSID("$NetBSD: pen.c,v 1.1.1.1 2002/12/20 18:14:03 schmonz Exp $"); +__RCSID("$NetBSD: pen.c,v 1.2 2002/12/28 21:44:00 jschauma Exp $"); #endif #endif #endif @@ -227,8 +227,8 @@ leave_playpen(char *save) * We do this autoconf dance here to get around the old interface (it's * in libc on 2.7 and 2.8, but not in 2.9) */ -#if !defined(HAVE_STATFS) || (defined(HAVE_STATFS) && defined(HAVE_STATVFS)) -/* $NetBSD: pen.c,v 1.1.1.1 2002/12/20 18:14:03 schmonz Exp $ */ +#if !defined(HAVE_STATFS) || (defined(HAVE_STATFS) && defined(HAVE_STATVFS) && !defined(__linux__)) +/* $NetBSD: pen.c,v 1.2 2002/12/28 21:44:00 jschauma Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. |