FreeBSD Bugzilla – Attachment 72622 Details for
Bug 105535
[Maintainer Update] cad/brlcad fix for compile failure on sparc64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
cad_brlcad.patch
cad_brlcad.patch (text/plain), 1.31 KB, created by
Erik Greenwald
on 2006-11-14 18:10:19 UTC
(
hide
)
Description:
cad_brlcad.patch
Filename:
MIME Type:
Creator:
Erik Greenwald
Created:
2006-11-14 18:10:19 UTC
Size:
1.31 KB
patch
obsolete
>Index: cad/brlcad/files/patch-include_machine.h >=================================================================== >RCS file: cad/brlcad/files/patch-include_machine.h >diff -N cad/brlcad/files/patch-include_machine.h >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ cad/brlcad/files/patch-include_machine.h 14 Nov 2006 18:02:15 -0000 >@@ -0,0 +1,31 @@ >+Index: include/machine.h >+=================================================================== >+RCS file: /cvsroot/brlcad/brlcad/include/machine.h,v >+retrieving revision 14.20 >+diff -u -r14.20 machine.h >+--- include/machine.h 18 Sep 2006 05:24:07 -0000 14.20 >++++ include/machine.h 14 Nov 2006 18:00:33 -0000 >+@@ -611,7 +611,8 @@ >+ >+ #endif >+ >+-#if defined(__sparc64__) >++/* TODO: should this be looking for solaris/sunos tags? */ >++#if defined(__sparc64__) && !defined(__FreeBSD__) >+ /******************************** >+ * * >+ * Sparc 64 * >+@@ -702,11 +703,11 @@ >+ # define LOCAL auto /* static|auto, for serial|parallel cpu */ >+ >+ /* amd64 */ >+-# if defined(__x86_64__) >++# if defined(__x86_64__) || defined(__sparc64__) || defined(__ia64__) >+ # define BITV_SHIFT 6 >+ # define MAX_PSW 256 >+ /* ia32 */ >+-# elif !defined(__ia64__) && !defined(__x86_64__) && !defined(__sparc64__) >++# else >+ # define BITV_SHIFT 5 >+ # define MAX_PSW 16 >+ # endif
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 105535
: 72622