pkgsrc-Bugs archive

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

pkg/33000: audio/libvisual fails to build on OpenSolaris with SunStudio and GCC compilers



>Number:         33000
>Category:       pkg
>Synopsis:       audio/libvisual fails to build on OpenSolaris with SunStudio 
>and GCC compilers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 05 12:50:00 +0000 2006
>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 */





Home | Main Index | Thread Index | Old Index