Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:rhabacker:branches:windows:mingw:win32
mingw32-evince
0001-dvi-Fix-build-for-win64.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-dvi-Fix-build-for-win64.patch of Package mingw32-evince
From 6da70b4707daaa2f67931fe4c5d24e053496a886 Mon Sep 17 00:00:00 2001 From: Hib Eris <hib@hiberis.nl> Date: Fri, 17 Feb 2012 07:42:46 +0100 Subject: [PATCH] dvi: Fix build for win64 --- backend/dvi/mdvi-lib/sysdeps.h | 5 +++++ configure.ac | 1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/backend/dvi/mdvi-lib/sysdeps.h b/backend/dvi/mdvi-lib/sysdeps.h index c77d765..655d8fa 100644 --- a/backend/dvi/mdvi-lib/sysdeps.h +++ b/backend/dvi/mdvi-lib/sysdeps.h @@ -91,6 +91,10 @@ typedef int INT; typedef unsigned short UINT; typedef short INT; #else +#if SIZEOF_LONG_LONG == SIZEOF_VOID_P +typedef unsigned long long UINT; +typedef long long INT; +#else #ifdef __cplusplus #include "No.native.pointer-compatible.integer.type.found.Fix.sysdeps.h" #else @@ -99,6 +103,7 @@ typedef short INT; #endif #endif #endif +#endif /* nice, uh? */ typedef void *Pointer; diff --git a/configure.ac b/configure.ac index 39122ef..db1e4a9 100644 --- a/configure.ac +++ b/configure.ac @@ -612,6 +612,7 @@ if test "x$enable_dvi" = "xyes"; then AC_CHECK_SIZEOF(long, 4) AC_CHECK_SIZEOF(int, 4) AC_CHECK_SIZEOF(short, 2) + AC_CHECK_SIZEOF(long long, 4) AC_CHECK_SIZEOF(void *, 4) AC_CHECK_LIB([kpathsea],[kpse_init_prog],[enable_dvi=yes],[enable_dvi=no]) -- 1.7.7
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor