summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/openinventor')
-rw-r--r--media-libs/openinventor/ChangeLog6
-rw-r--r--media-libs/openinventor/Manifest15
-rw-r--r--media-libs/openinventor/files/support-sparc.patch27
-rw-r--r--media-libs/openinventor/openinventor-2.1.5.10-r2.ebuild3
4 files changed, 37 insertions, 14 deletions
diff --git a/media-libs/openinventor/ChangeLog b/media-libs/openinventor/ChangeLog
index 5242f1c4a49d..b820a06d809a 100644
--- a/media-libs/openinventor/ChangeLog
+++ b/media-libs/openinventor/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/openinventor
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/openinventor/ChangeLog,v 1.17 2008/06/07 08:57:45 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openinventor/ChangeLog,v 1.18 2008/08/10 12:10:16 stefaan Exp $
+
+ 10 Aug 2008; Stefaan De Roeck <stefaan@gentoo.org>
+ +files/support-sparc.patch, openinventor-2.1.5.10-r2.ebuild:
+ Small patch needed to support sparc (fixes #231962)
07 Jun 2008; SĂ©bastien Fabbro <bicatali@gentoo.org>
files/gcc4-support.patch, openinventor-2.1.5.10-r2.ebuild:
diff --git a/media-libs/openinventor/Manifest b/media-libs/openinventor/Manifest
index a797917f9460..a05122392c64 100644
--- a/media-libs/openinventor/Manifest
+++ b/media-libs/openinventor/Manifest
@@ -1,21 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX freetype2-activate.patch 261 RMD160 eb19eff72dc7d3e97a3758a3649872474c579a85 SHA1 374b9db00b9a5f2071bb028e5c8a6bb3df1758aa SHA256 f2d86306d686c58bf560c189cd158208515c69f8c545fc3d5f4ee246adaa710c
AUX freetype2-includes.patch 291 RMD160 90119f53b748f4428aba7de86d12ec0392badc64 SHA1 177e61834437c3c84783163178f9dfec5e84e9e8 SHA256 e77b3ddd16c3ef6184bfa235257f81a5f8f2dd6e043f91c60ec6bc0986bddb85
AUX gcc4-support.patch 7074 RMD160 f6441760593cff4ea60546215faa9fda734df4ac SHA1 a07fcb07c8fb1d6c053a67f6b1f8a0ad3ef5834b SHA256 38953a81e8c10d08fb322c533196c0cc646e144194dfd48898be1fd71ee21c56
AUX gentoo-paths-v2.patch 10940 RMD160 a68ac0c41902de4192b7728110bd0726e47d6d85 SHA1 01d8a0c8518265cf3712c2fb1618b0d5950fe7a9 SHA256 59d8d3fae547d5926932f9c66a8facac924b4900a69dd9f4c33546b9522ed2a4
AUX no-csh.patch 1053 RMD160 f2347aaf379c7f6dc862e13aedc0d5ecaed44071 SHA1 dfc37fb9a10f829cb03f66a3cd8ea746b49da1a6 SHA256 dc18d6e344c7719d04fb2311826bb4ba1e03fddb5667c47927ce2ee50bded4b0
AUX support-archs.patch 1116 RMD160 a3fe28177e4c47446b37c9dcdc96049556656e99 SHA1 caee7196c2f58a41593fbafb70b3d5eed7e5ac62 SHA256 d732f8d11e41033cee83774d949b140047afb407c8442d14b418cfaaf205cbc9
+AUX support-sparc.patch 1226 RMD160 3ed54d541811fa19cad3ba06e115935e177bc18c SHA1 7129f796788963d1af193ee3fac538e1032f79eb SHA256 6abff7bb44b777065629d465b58560715c285bf03cb79068bfe7eaa1100921b5
AUX use-byacc.patch 1444 RMD160 f2c4b6227b5960accf6faf040489bb00bc34de44 SHA1 4f33c4b4e8052cb5dfb68236654373de99eb00c3 SHA256 c4f1e02f8c77008777ed7845e23fbaa60b939d4563fb47cfb2bb694425374af7
DIST inventor-2.1.5-10.src.tar.gz 8282780 RMD160 0e600eab15016ab3f8de7b814d12bd78d83f1a05 SHA1 313665bc762e09b18e2d678f0a724b6457e3c95b SHA256 1b0106a705191f525fc89a9f3def37bdeae5ab9ceb1b4d9e5ede8a442bdf8d6b
-EBUILD openinventor-2.1.5.10-r2.ebuild 3137 RMD160 9f006940977a994c68f2b79b6a3d7c1b7b78fc16 SHA1 7efb02411ec387caf23da525952b99f76b966386 SHA256 4ab902b763e240fd4301c5adc355b09e46b32a5aba9c445d5f9443755c5056ea
-MISC ChangeLog 2880 RMD160 7bf8c6a2284029b03cb7d6725d36717b607b6e36 SHA1 b21798871f675a6aefab019ef36263b7d81301ba SHA256 3627f0a64154837036d8c8aece8c6620df7b4ad7f110a34a6baf579356509309
+EBUILD openinventor-2.1.5.10-r2.ebuild 3178 RMD160 aa8e9e491bbba95b266f36b80ae15fcb8ad2a78a SHA1 27650e8811421edfda5545a8e9a6ee3a3f574da8 SHA256 91fa515e7fc3cd28edfb5a32a004c4f23e942ad290e8f22faa5f523e36545834
+MISC ChangeLog 3050 RMD160 7e42d7d213352d2fcf3bd13362c55b8ba11e5402 SHA1 5094bc7711d6193f8201bf3665d37a83dea14e10 SHA256 fb64664aae1fb895ed65d00290fa934fc7b22c5c65b8363211c9d2c4059994dc
MISC metadata.xml 515 RMD160 ff932be33799d8342475e5888365e62aa87665f6 SHA1 188a77250a4ea19276fad2aa778a7af7cee47870 SHA256 d6149838745445b99a41d8b03e50f3248a2f05e20276d58110cb5e20273b6f01
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkhKTaMACgkQ1ycZbhPLE2D2ZgCdEPhVXl0ecUGwSUof2hJNSIjP
-0MEAn3F4SB9Pajhclq+KNdJkMaWqOTSM
-=Vl0E
------END PGP SIGNATURE-----
diff --git a/media-libs/openinventor/files/support-sparc.patch b/media-libs/openinventor/files/support-sparc.patch
new file mode 100644
index 000000000000..0eec255143e1
--- /dev/null
+++ b/media-libs/openinventor/files/support-sparc.patch
@@ -0,0 +1,27 @@
+https://bugs.gentoo.org/show_bug.cgi?id=231962
+
+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
+================================================
+
diff --git a/media-libs/openinventor/openinventor-2.1.5.10-r2.ebuild b/media-libs/openinventor/openinventor-2.1.5.10-r2.ebuild
index ad9e147b7cfd..508a82d4ba29 100644
--- a/media-libs/openinventor/openinventor-2.1.5.10-r2.ebuild
+++ b/media-libs/openinventor/openinventor-2.1.5.10-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/openinventor/openinventor-2.1.5.10-r2.ebuild,v 1.8 2008/06/07 08:57:45 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openinventor/openinventor-2.1.5.10-r2.ebuild,v 1.9 2008/08/10 12:10:16 stefaan Exp $
inherit eutils versionator flag-o-matic
@@ -43,6 +43,7 @@ src_unpack() {
epatch "${FILESDIR}"/use-byacc.patch
# support for amd64, sparc and alpha
epatch "${FILESDIR}"/support-archs.patch
+ epatch "${FILESDIR}"/support-sparc.patch
# freetype2 wasn't enabled by default
epatch "${FILESDIR}"/freetype2-activate.patch
# extra #include statement necessary for freetype2