NetBSD Problem Report #36584

From  Sun Jul  1 16:22:48 2007
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 047C663B882
	for <>; Sun,  1 Jul 2007 16:22:48 +0000 (UTC)
Message-Id: <>
Date: Sun,  1 Jul 2007 15:48:13 +0000 (UTC)
Subject: multimedia/libdvdread does not compile under Interix
X-Send-Pr-Version: www-1.0

>Number:         36584
>Category:       pkg
>Synopsis:       multimedia/libdvdread does not compile under Interix
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    interix-pkg-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 01 16:25:00 +0000 2007
>Last-Modified:  Mon Jul 02 00:01:12 +0000 2007
>Originator:     John Ruschmeyer
>Release:        pkgsrc 2007Q1
Interix enterprise 3.5 SP-8.0.1969.1 x86 Intel_x86_Family15_Model0_Stepping7
The multimedia/libdvdread package does not curretnly build under Interix/SFU because Interix does not provide either <inttypes.h> or <stdint.h>. This is so that the code can use definitions for severl unsigned types. NetBSD has equivalent types, but defines them with diffent names and in a different include file.

This problem is especially series because libdvdread is a dependency of a number of other packages.

Starting at line 26 of dvdread/ifo_types.h is a block which begins "#if defined(__BEOS__)" and contains the test in question in the #else clause.

This block should be replaced with:

#if defined(__BEOS__)
#if !defined(_INTTYPES_H_) && !defined(_INTTYPES_H) && !defined(_STDINT_H_) && !
#error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
#if defined(__INTERIX)
#include <sys/types.h>

#define uint8_t u_int8_t
#define uint16_t u_int16_t
#define uint32_t u_int32_t
#define uint64_t u_int64_t

#if !defined(UINT8_MAX) || !defined(UINT16_MAX) || !defined(INT32_MAX)
#error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."



Responsible-Changed-From-To: pkg-manager->interix-pkg-people
Responsible-Changed-When: Mon, 02 Jul 2007 00:01:12 +0000
Interix specific problem.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.