Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 231962
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-gfx herd <graphics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ferris McCormick <fmccor@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 231962 depends on: Show dependency tree
Bug 231962 blocks: 230716
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-07-16 13:26 0000
sci-physics/geant-4.9.1_p02 wants to be able to get an openinventor with
USE=openinventor.  However, on sparc we must package.use.mask this option
because openinventor will not build.  It will not build because its
architecture file (machine.h) does not know about sparc linux (or any
big-endian linux for that matter).  With the following little patch,
openinventor will build and install on sparc, and the demos all seem good.  I
do not know if everything is correct, however, because this change only matters
in a couple classes (SoInput, SoOutput), and I don't know if the demos hit
them.  No attachment because the test patch changes only one line.
===============================================
polylepis inventor # diff -u lib/database/include/machine.h-
lib/database/include/machine.h
--- lib/database/include/machine.h-     2008-07-16 12:54:21.000000000 +0000
+++ lib/database/include/machine.h      2008-07-16 12:54:34.000000000 +0000
@@ -106,7 +106,7 @@
  * SUN/BSD machine dependent setup
  */

-#if sun
+#if sun || sparc

 #define MACHINE_WORD_FORMAT    DGL_BIG_ENDIAN
 #define MACHINE_FLOAT_FORMAT   DGL_BIG_IEEE
================================================

------- Comment #1 From Markus Meier 2008-08-10 09:57:12 0000 -------
feel free to apply this patch, thanks.

------- Comment #2 From Stefaan De Roeck 2008-08-10 12:10:55 0000 -------
I have put the patch in the repository, so it should build now.  Have fun!

------- Comment #3 From Ferris McCormick 2008-08-10 14:37:53 0000 -------
Thanks, Stefaan, it builds now as expected..  I've keyworded
media-libs/openinventor-2.1.5.10-r2 as ~sparc and removed the package.use.mask
for openinventor on sci-physics/geant.  I intend to mark openinventor stable
about the 8th of September unless someone needs it sooner (the patch has been
available since the 16th of July).

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug