Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 347196 Details for
Bug 468352
dev-libs/libf2c - Integer size wrong on 64-bit systems
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch to libf2c
f2c.h0 (text/plain), 1.74 KB, created by
Norman Yarvin
on 2013-05-03 03:53:24 UTC
(
hide
)
Description:
Patch to libf2c
Filename:
MIME Type:
Creator:
Norman Yarvin
Created:
2013-05-03 03:53:24 UTC
Size:
1.74 KB
patch
obsolete
>--- libf2c2-20090411.orig/f2c.h0 >+++ libf2c2-20090411/f2c.h0 >@@ -7,21 +7,35 @@ > #ifndef F2C_INCLUDE > #define F2C_INCLUDE > >+#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) >+typedef int integer; >+typedef unsigned int uinteger; >+#else > typedef long int integer; > typedef unsigned long int uinteger; >+#endif > typedef char *address; > typedef short int shortint; > typedef float real; > typedef double doublereal; > typedef struct { real r, i; } complex; > typedef struct { doublereal r, i; } doublecomplex; >+#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) >+typedef int logical; >+#else > typedef long int logical; >+#endif > typedef short int shortlogical; > typedef char logical1; > typedef char integer1; > #ifdef INTEGER_STAR_8 /* Adjust for integer*8. */ >-typedef long long longint; /* system-dependent */ >-typedef unsigned long long ulongint; /* system-dependent */ >+#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) >+typedef long longint; /* system-dependent */ >+typedef unsigned long ulongint; /* system-dependent */ >+#else >+typedef long long longint; /* system-dependent - oh yeah*/ >+typedef unsigned long long ulongint; /* system-dependent - oh yeah*/ >+#endif > #define qbit_clear(a,b) ((a) & ~((ulongint)1 << (b))) > #define qbit_set(a,b) ((a) | ((ulongint)1 << (b))) > #endif >@@ -42,10 +56,16 @@ > typedef short ftnlen; > typedef short ftnint; > #else >+#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) >+typedef int flag; >+typedef int ftnlen; >+typedef int ftnint; >+#else > typedef long int flag; > typedef long int ftnlen; > typedef long int ftnint; > #endif >+#endif > > /*external read, write*/ > typedef struct
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 468352
: 347196 |
347198
|
347470
|
347472