NetBSD Problem Report #40187
From www@NetBSD.org Mon Dec 15 23:06:16 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 38B3B63BA68
for <gnats-bugs@gnats.netbsd.org>; Mon, 15 Dec 2008 23:06:16 +0000 (UTC)
Message-Id: <20081215230615.D5B2063BA1C@narn.NetBSD.org>
Date: Mon, 15 Dec 2008 23:06:15 +0000 (UTC)
From: rehsack@web.de
Reply-To: rehsack@web.de
To: gnats-bugs@NetBSD.org
Subject: [PATCH] sysutils/fam
X-Send-Pr-Version: www-1.0
>Number: 40187
>Category: pkg
>Synopsis: [PATCH] sysutils/fam
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: sno
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Dec 15 23:10:00 +0000 2008
>Closed-Date: Sat Nov 09 20:46:29 +0000 2019
>Last-Modified: Sat Nov 09 20:46:29 +0000 2019
>Originator: Jens Rehsack
>Release: none
>Organization:
Bayer Business Services
>Environment:
FreeBSD waldorf.muppets.liwing.de 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sun Nov 30 16:24:55 UTC 2008 root@waldorf.muppets.liwing.de:/usr/obj/usr/src/sys/WALDORF amd64
>Description:
sysutils/fam compilation fails on FreeBSD7-STABLE with "unknown identifier" or similar. MNT_NODEV is not declared on FreeBSD7.
>How-To-Repeat:
>Fix:
Index: patches/patch-ap
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/fam/patches/patch-ap,v
retrieving revision 1.13
diff -u -r1.13 patch-ap
--- patches/patch-ap 9 Nov 2008 14:32:28 -0000 1.13
+++ patches/patch-ap 15 Dec 2008 23:04:34 -0000
@@ -1,8 +1,8 @@
$NetBSD: patch-ap,v 1.13 2008/11/09 14:32:28 schwarz Exp $
---- src/mntent_compat.c++.orig Sun Jul 8 08:16:38 2007
-+++ src/mntent_compat.c++
-@@ -0,0 +1,193 @@
+--- src/mntent_compat.c++.orig 2008-12-15 11:55:41.000000000 +0000
++++ src/mntent_compat.c++ 2008-12-15 11:59:51.000000000 +0000
+@@ -0,0 +1,195 @@
+/*
+ * Copyright (c) 1980, 1989, 1993, 1994
+ * The Regents of the University of California. All rights reserved.
@@ -106,7 +106,9 @@
+ if (flags & MNT_SYNCHRONOUS) res = catopt(res, "sync");
+ if (flags & MNT_NOEXEC) res = catopt(res, "noexec");
+ if (flags & MNT_NOSUID) res = catopt(res, "nosuid");
++#ifdef MNT_NODEV
+ if (flags & MNT_NODEV) res = catopt(res, "nodev");
++#endif
+#ifdef MNT_UNION
+ if (flags & MNT_UNION) res = catopt(res, "union");
+#endif
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->freebsd-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 16 Dec 2008 10:12:42 +0000
Responsible-Changed-Why:
FreeBSD pkgsrc problem.
Responsible-Changed-From-To: freebsd-pkg-people->sno
Responsible-Changed-By: snj@NetBSD.org
Responsible-Changed-When: Tue, 19 May 2009 22:43:14 +0000
Responsible-Changed-Why:
sno's PR.
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 09 Nov 2019 20:46:29 +0000
State-Changed-Why:
Change exist in upstream package now. Thanks for the report and sorry it was not addressed at the time.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.