pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44334: digger compilation fix on DragonFlyBSD



>Number:         44334
>Category:       pkg
>Synopsis:       digger compilation fix on DragonFlyBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 06 18:00:00 +0000 2011
>Originator:     Ilia
>Release:        DragonFly 2.9.1
>Organization:
>Environment:
DragonFly 2.9-DEVELOPMENT DragonFly v2.9.1.370.g78775c-DEVELOPMENT #0: Sun Jan 
2 12:34:32 2011    root@:/usr/obj/usr/src/sys/GENERIC i386
>Description:
In file included from def.h:141,
                 from digger.c:1:
/usr/include/sys/syslimits.h:39:2: error: #error this file needs sys/cdefs.h as 
a prerequisite
*** Error code 1
>How-To-Repeat:

>Fix:
--- distinfob   2011-01-06 20:10:58 -0600
+++ distinfo    2011-01-06 20:11:07 -0600
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = 07ad1bb5100d389fca04584f511de9feee45edc7
 SHA1 (patch-ab) = 524341c6e188731d22675e75fd3a6cafbaa00537
 SHA1 (patch-ac) = 0491f8edaa2d1b13fc69c09dd74fe59f3f3618ef
+SHA1 (patch-ad) = 61d981044ab385018cbd215baec0055beb3fce04


$NetBSD$

--- def.h.orig  2011-01-07 02:10:06 +0000
+++ def.h
@@ -138,6 +138,7 @@ typedef unsigned long int Uint5;
 #elif defined UNIX && !defined _VGL
 /* While SDL and other X11 related apps could be runned as ordinary user */
 #ifdef FREEBSD
+#include <sys/types.h>
 #include <sys/syslimits.h>
 #else /* I donno what is analog of PATH_MAX for Linux :( */
 #define PATH_MAX 1024



Home | Main Index | Thread Index | Old Index