1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

- Fix compile error on recent current

include/iprt/stdint.h:162: error: 'intptr_t' has a previous declaration as 'typedef long int intptr_t'
/usr/include/sys/_stdint.h:78: error: conflicting declaration 'typedef uintptr_t uintptr_t'
include/iprt/stdint.h:165: error: 'uintptr_t' has a previous declaration as 'typedef long unsigned int uintptr_t'
kBuild: Compiling tstAsmStructsasm - src/VBox/VMM/testcase/tstAsmStructsAsm.asm
kBuild: Compiling tstGlobalConfig - src/VBox/VMM/testcase/tstGlobalConfig.cpp
kmk: * [out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o]

Submitted by:	Tijl Coosemans <tijl@freebsd.org>
Feature safe:	yes
This commit is contained in:
Bernhard Froehlich 2012-03-09 21:42:01 +00:00
parent 05197de7ca
commit b9276d3bb2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293025
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= virtualbox-ose
DISTVERSION= 4.1.8
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://tmp.chruetertee.ch/ \
http://freebsd.unixfreunde.de/sources/ \

View File

@ -0,0 +1,11 @@
--- include/iprt/types.h.orig 2012-03-05 10:48:48.000000000 +0100
+++ include/iprt/types.h 2012-03-05 11:21:25.000000000 +0100
@@ -82,6 +82,8 @@
# include <stddef.h>
# define _UINT64_T_DECLARED
# define _INT64_T_DECLARED
+# define _UINTPTR_T_DECLARED
+# define _INTPTR_T_DECLARED
# include <sys/types.h>
# elif defined(RT_OS_LINUX) && defined(__KERNEL__)