Subject: pkg/24287: sysutils/nautilus wont' compile on FreeBSD; trival fix
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dotz@irc.pl>
List: netbsd-bugs
Date: 02/01/2004 12:36:17
>Number:         24287
>Category:       pkg
>Synopsis:       sysutils/nautilus wont' compile on FreeBSD; trival fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 01 12:37:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michal Pasternak
>Release:        N/A
>Organization:
>Environment:
FreeBSD mainframe.w.lub.pl 4.9-STABLE FreeBSD 4.9-STABLE #6: Sun Feb  1 03:14:06 CET 2004     doc@mainframe.w.lub.pl:/usr/src/sys/compile/MP-UX  i386

>Description:

sysutils/nautilus wont' compile on FreeBSD; it's a typical missing 
#include <sys/types.h> issue.


>How-To-Repeat:
Obvious
>Fix:
cvs server: Diffing .
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/nautilus/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo    2003/12/31 01:41:35     1.5
+++ distinfo    2004/02/01 12:30:58
@@ -8,3 +8,4 @@
 SHA1 (patch-ad) = 3a41dc22f3b0f76dc0efbc8efb71605be73a547a
 SHA1 (patch-ae) = a67d8b7ba3a1b9a71958736ef4946be301e67124
 SHA1 (patch-af) = dbdfb1e7e2103a3174fddaccad64868781052057
+SHA1 (patch-ag) = b52730ad68241dfc7e3dddc68056e9a28948e70d
cvs server: Diffing patches
Index: patches/patch-ag
===================================================================
RCS file: patch-ag
diff -N patch-ag
--- /dev/null   Thu Jul 11 11:18:53 2002
+++ patch-ag    Sun Feb  1 12:30:58 2004
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- libnautilus-private/nautilus-emblem-utils.c.orig   Sun Feb  1 13:22:13 2004
++++ libnautilus-private/nautilus-emblem-utils.c        Sun Feb  1 13:22:46 2004
+@@ -23,7 +23,9 @@
+ */
+ 
+ #include <config.h>
+-
++#ifdef __FreeBSD__
++#include <sys/types.h>
++#endif
+ #include <utime.h>
+ #include <stdio.h>
+ #include <time.h>

>Release-Note:
>Audit-Trail:
>Unformatted: