Subject: pkg/34530: devel/glib2 compile fails on solaris 9
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <heas@shrubbery.net>
List: pkgsrc-bugs
Date: 09/14/2006 20:50:00
>Number:         34530
>Category:       pkg
>Synopsis:       devel/glib2 compile fails on solaris 9
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 14 20:50:00 +0000 2006
>Originator:     john heasley
>Release:        NetBSD 3.99.17
>Organization:
	
>Environment:
	
	
System: NetBSD guelah 3.99.17 NetBSD 3.99.17 (guelah) #1: Tue Apr 18 01:51:21 UTC 2006 root@oak:/sys/arch/sparc64/compile/guelah sparc64
Architecture: sparc64
Machine: sparc64
>Description:
Build of devel/glib2 fails on Solaris 9.  Solaris 9 does not offer a posix
monotonic clock option, only real-time.  As written, this check doesn't make
sense to me anyway.
>How-To-Repeat:
>Fix:
	

Index: patches/patch-ai
===================================================================
RCS file: /cvsroot/pkgsrc/devel/glib2/patches/patch-ai,v
retrieving revision 1.7
diff -r1.7 patch-ai
1c1
< $NetBSD: patch-ai,v 1.7 2006/09/08 09:32:57 joerg Exp $
---
> $NetBSD$
3c3
< --- glib/gtimer.c.orig	2006-09-08 09:11:08.000000000 +0000
---
> --- glib/gtimer.c.orig	2006-08-28 03:05:42.000000000 +0000
8a9
> -#if !defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK >= 0
13c14
<  #if !defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK >= 0
---
> +#if defined(_POSIX_MONOTONIC_CLOCK)

>Unformatted: