NetBSD Problem Report #33000

From www@netbsd.org  Sun Mar  5 12:48:24 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 7900563B121; Sun,  5 Mar 2006 12:48:24 +0000 (UTC)
Message-Id: <20060305124824.7900563B121@narn.netbsd.org>
Date: Sun,  5 Mar 2006 12:48:24 +0000 (UTC)
From: segv@netctl.net
Reply-To: segv@netctl.net
To: gnats-bugs@netbsd.org
Subject: audio/libvisual fails to build on OpenSolaris with SunStudio and GCC compilers
X-Send-Pr-Version: www-1.0

>Number:         33000
>Category:       pkg
>Synopsis:       audio/libvisual fails to build on OpenSolaris with SunStudio and GCC compilers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 05 12:50:00 +0000 2006
>Closed-Date:    Tue Jul 10 14:04:56 +0000 2018
>Last-Modified:  Tue Jul 10 14:04:56 +0000 2018
>Originator:     segv
>Release:        
>Organization:
>Environment:
SunOS e450-lan 5.11 snv_28 sun4u sparc SUNW,Ultra-4

>Description:
Building audio/libvisual fails on OpenSolaris. The problem is libvisual/lv_types.h file, which tries to define uint*_t types in a non-portable manner
>How-To-Repeat:

>Fix:
--- libvisual/lv_types.h.orig   Sun Mar  5 12:36:43 2006
+++ libvisual/lv_types.h        Sun Mar  5 12:36:47 2006
@@ -24,7 +24,7 @@
 #ifndef _LV_TYPES_H
 #define _LV_TYPES_H

-#include <sys/types.h>
+#include <stdint.h>

 #ifdef __cplusplus
 extern "C" {
@@ -32,18 +32,6 @@

 #define VISUAL_CHECK_CAST(uiobj, cast_type, cast)    ((cast*) (uiobj))

-#ifndef uint8_t
-#define uint8_t                u_int8_t
-#endif
-
-#ifndef uint16_t
-#define uint16_t       u_int16_t
-#endif
-
-#ifndef uint32_t
-#define uint32_t       u_int32_t
-#endif
-
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Sun, 12 Mar 2006 19:06:25 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.


State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Tue, 10 Jul 2018 14:04:56 +0000
State-Changed-Why:
OpenSolaris is dead.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.