add arch overwrite for arm
Package-Manager: portage-2.2.0_alpha188 RepoMan-Options: --force
This commit is contained in:
parent
9ac4758e38
commit
bfedf3430a
@ -2,6 +2,10 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
20 Nov 2013; Mario Fetka <mario.fetka@gmail.com>
|
||||||
|
+files/mono-2.6.7-arm-cpu-arch-overwrite.patch, mono-2.6.7.ebuild:
|
||||||
|
add arch overwrite for arm
|
||||||
|
|
||||||
*mono-2.6.7 (20 Apr 2013)
|
*mono-2.6.7 (20 Apr 2013)
|
||||||
|
|
||||||
20 Apr 2013; Mario Fetka <mario.fetka@gmail.com>
|
20 Apr 2013; Mario Fetka <mario.fetka@gmail.com>
|
||||||
|
@ -2,7 +2,8 @@ AUX mono-2.2-libdir126.patch 2788 SHA256 2d3de73c7aa6fdc90ddec67fc814910f40d6d8e
|
|||||||
AUX mono-2.2-ppc-threading.patch 563 SHA256 b2a708fc4ec8b886bf095c0d5eacbfdb8c08e1bc58442cfb6fd116f93de466a7 SHA512 c2773f9975397982d2cf794c255fdb13067f9246650c4e526f382a1a2662c5da05c1b0309791327520f482825c0f2521dc46ce6f80f683a2d40cb68f1923fdcd WHIRLPOOL f384d7f8983734754ada46c951aaee90b79695e4b2f4d4c4cdb3a11af91ecd5523de7b9b36e7df854bc94d4b5584137bf2e32717dac48a5fafcd5728f80b0e36
|
AUX mono-2.2-ppc-threading.patch 563 SHA256 b2a708fc4ec8b886bf095c0d5eacbfdb8c08e1bc58442cfb6fd116f93de466a7 SHA512 c2773f9975397982d2cf794c255fdb13067f9246650c4e526f382a1a2662c5da05c1b0309791327520f482825c0f2521dc46ce6f80f683a2d40cb68f1923fdcd WHIRLPOOL f384d7f8983734754ada46c951aaee90b79695e4b2f4d4c4cdb3a11af91ecd5523de7b9b36e7df854bc94d4b5584137bf2e32717dac48a5fafcd5728f80b0e36
|
||||||
AUX mono-2.2-uselibdir.patch 714 SHA256 0d97639d48e9a40847f1053799d00827323df0af615fdf26254a03f069123b03 SHA512 9f80ee2956207339f0f5053bc68e660b6833d5952793ee5b06aea8d355ae3c689532654d2d24f14263757b6f51a06038445559ece9ad4fa27b647c1dd9240791 WHIRLPOOL fad1cea8c5add977c3e1c8031b65cdc4c56ed520b061ede3a83b0501a1c625f012ac049b06e48cbd488fb1adef32fb92fb9410c91cb70f7ff348119eae5cfd8d
|
AUX mono-2.2-uselibdir.patch 714 SHA256 0d97639d48e9a40847f1053799d00827323df0af615fdf26254a03f069123b03 SHA512 9f80ee2956207339f0f5053bc68e660b6833d5952793ee5b06aea8d355ae3c689532654d2d24f14263757b6f51a06038445559ece9ad4fa27b647c1dd9240791 WHIRLPOOL fad1cea8c5add977c3e1c8031b65cdc4c56ed520b061ede3a83b0501a1c625f012ac049b06e48cbd488fb1adef32fb92fb9410c91cb70f7ff348119eae5cfd8d
|
||||||
AUX mono-2.6.4-require-glib.patch 458 SHA256 fc27512f901920a72c5e7744ecef134ed9081d2f2ff689e1af2f48f6fe9a6028 SHA512 fb246a195c9aedc80dfe32d78e4b6423dd8d92fc1abf9fcb2e214de8c6f503d3cf9e6fe6ffd744d9b64cd1cdaf4e05d8b6a37bb2c77cbf51e189da9b10216cd4 WHIRLPOOL af88ebeccc29e0a6e05b676599c903ef77dd0070ebc0825d8fbdaac0873e6ee9c99e104611d9a055fc24bbcf6b95b43b686157464d1e9a0548c4e623ac0ac9e0
|
AUX mono-2.6.4-require-glib.patch 458 SHA256 fc27512f901920a72c5e7744ecef134ed9081d2f2ff689e1af2f48f6fe9a6028 SHA512 fb246a195c9aedc80dfe32d78e4b6423dd8d92fc1abf9fcb2e214de8c6f503d3cf9e6fe6ffd744d9b64cd1cdaf4e05d8b6a37bb2c77cbf51e189da9b10216cd4 WHIRLPOOL af88ebeccc29e0a6e05b676599c903ef77dd0070ebc0825d8fbdaac0873e6ee9c99e104611d9a055fc24bbcf6b95b43b686157464d1e9a0548c4e623ac0ac9e0
|
||||||
|
AUX mono-2.6.7-arm-cpu-arch-overwrite.patch 900 SHA256 99823acbc5e078d741222b043debfdf2ec53e3db74c6bb1b04177fe4d426600d SHA512 6b7f6e09621b519d70fcf835dfe969b8c8efd8ce776902ecbc08e9bf9f01470835a4e9c5f160f46e53c5b02dfca102dec507b67016b1399011420f2b0e86093e WHIRLPOOL c850aba7e0b2a3a2f31dced6498eef59fdeb2531bf97fad09b38b77dd5b597d056cbf2a9448a38b39d5cb06b28f5124163c5095395edeb6e3d505bb29eedb1a0
|
||||||
DIST mono-2.6.7.tar.bz2 27921963 SHA256 ae21a997d72e2fb8ea88644c87ab52471e9c97117b937e205ea1835b5a028ce4 SHA512 e24be0229c0e0e91ef0c265c0267ae30ef84447c03a298b71a77123c06517ec081ba53ed6f0ca69deb079cb7843bc7daf6aa7aedb874da3c8924ef03cef388b3 WHIRLPOOL c676b542fa5f68c019cea1ff88be63295a06237f97b403e13d38df7bd6c5ded610788ad115d2da42494fa3b05b7740d1a4079ef9939a45db4e3a55d255fcd4ac
|
DIST mono-2.6.7.tar.bz2 27921963 SHA256 ae21a997d72e2fb8ea88644c87ab52471e9c97117b937e205ea1835b5a028ce4 SHA512 e24be0229c0e0e91ef0c265c0267ae30ef84447c03a298b71a77123c06517ec081ba53ed6f0ca69deb079cb7843bc7daf6aa7aedb874da3c8924ef03cef388b3 WHIRLPOOL c676b542fa5f68c019cea1ff88be63295a06237f97b403e13d38df7bd6c5ded610788ad115d2da42494fa3b05b7740d1a4079ef9939a45db4e3a55d255fcd4ac
|
||||||
EBUILD mono-2.6.7.ebuild 7568 SHA256 de8f6706dafb948a5ec9c8571bc0e1492c8a0914427592e0be7f06841e51cbab SHA512 46a6434fbc34f7f6d37704b2c3b459b0d145a2360711a2420f755d9ab2879100f8560cded141423c1d159837641c4f7e295ac8f583f7344b44f1b558f4db969f WHIRLPOOL 7f106dfb0b7c7dac62114a62d591ab2f2dd9395858e59f72d765bd76614aff331c22c3b366e9a883b4291db8e61bf8951a4898e2643e84294f72df2679917e5b
|
EBUILD mono-2.6.7.ebuild 7684 SHA256 806fd82fa4d55d0246f8e6b8310e8a8de7225b36b603ba11bcbb58f54e2ccf12 SHA512 ec136266f9379ed9c1c1fa69d78c080b439272460ad194e0345622b28ff9af092a2497dbcee8dd484fcfc26338e421572a5bab23579ca9d070c1e092bf2e1ce4 WHIRLPOOL 6797d2e3e9260f7c59b5ea6359c37529a1565ed0102b4e39b0269b3019e44e1b99d4e8f94fd65fd1874c5dad1742cc4cec76d1a58c383ad5973fa66360cbc9bf
|
||||||
MISC ChangeLog 410 SHA256 59aacc07e8238a9e262143d07b40f4cf17b3098d2be7749473587d42482c806d SHA512 67adbf1346af6327358fad1d4051edf4dd1ed753b02321c891f3df6d07a3d7828e041f36d5edcfc3cc2afd28ddb4cd17d44738008f4d10a4941cbbb45ab95183 WHIRLPOOL a85559631f39bc6c2a7a4ae4b9521160d1cefcc0fa9c368f7a9aa5323e7d6b2c449252a40550ded35e6b56022d8d9f3669ae89ad9cc9f86a26f3ef246fef4477
|
MISC ChangeLog 560 SHA256 2596ef148ff97ebdc8a3e4e48d287467996cad5ed0b21e6127b1288549182bfb SHA512 1f1e39d3213f70d30aec8cb2a48c0c96d9cbeaafe26587ade2719e49ac4f2a2b417369bc6594b8acb105331a771458d30f5b99788d111407242c25bbef0260b7 WHIRLPOOL e3b1661d754b238d354a0edcd940ed10faf88aec3ba9c04cf40268fdd3bb044215a1eff17a53cce35325e70ccfbf98aa74c4c6ac57e24a88b4c556fc314d01f6
|
||||||
MISC metadata.xml 415 SHA256 43871c3a2a27121e41dcc79f262b0d921cce7aaea5e7df2435ecaf36591ca07a SHA512 c2cabe4163de25cebf65175d1f0bbcdf57a5bc3b5e3aa7f5eef3e0ebbbcd0d2526fc40fa1fd46adbf36d9cb11b8a7ff09043f604aabf7e1ae864212f958392f9 WHIRLPOOL fc387ee6030549688c230f4e304c841e3d1e41afedd66ba0ab72c8dd10669f1c960aef082cb29c89185b63094728f7d96ee87e5234197dbe2d81110d1118a5e9
|
MISC metadata.xml 415 SHA256 43871c3a2a27121e41dcc79f262b0d921cce7aaea5e7df2435ecaf36591ca07a SHA512 c2cabe4163de25cebf65175d1f0bbcdf57a5bc3b5e3aa7f5eef3e0ebbbcd0d2526fc40fa1fd46adbf36d9cb11b8a7ff09043f604aabf7e1ae864212f958392f9 WHIRLPOOL fc387ee6030549688c230f4e304c841e3d1e41afedd66ba0ab72c8dd10669f1c960aef082cb29c89185b63094728f7d96ee87e5234197dbe2d81110d1118a5e9
|
||||||
|
28
dev-lang/mono/files/mono-2.6.7-arm-cpu-arch-overwrite.patch
Normal file
28
dev-lang/mono/files/mono-2.6.7-arm-cpu-arch-overwrite.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
diff -uNr mono-2.6.7.orig/mono/mini/mini-arm.c mono-2.6.7/mono/mini/mini-arm.c
|
||||||
|
--- mono-2.6.7.orig/mono/mini/mini-arm.c 2013-11-20 15:48:54.006460219 +0000
|
||||||
|
+++ mono-2.6.7/mono/mini/mini-arm.c 2013-11-20 15:08:34.000000000 +0000
|
||||||
|
@@ -532,6 +532,15 @@
|
||||||
|
mono_arch_cpu_optimizazions (guint32 *exclude_mask)
|
||||||
|
{
|
||||||
|
guint32 opts = 0;
|
||||||
|
+ const char *cpu_arch = getenv ("MONO_CPU_ARCH");
|
||||||
|
+ if (cpu_arch != NULL) {
|
||||||
|
+ thumb_supported = strstr (cpu_arch, "thumb") != NULL;
|
||||||
|
+ if (strncmp (cpu_arch, "armv", 4) == 0) {
|
||||||
|
+ v5_supported = cpu_arch [4] >= '5';
|
||||||
|
+ v5_supported = cpu_arch [4] >= '6';
|
||||||
|
+ v7_supported = cpu_arch [4] >= '7';
|
||||||
|
+ }
|
||||||
|
+ } else {
|
||||||
|
#if __APPLE__
|
||||||
|
thumb_supported = TRUE;
|
||||||
|
v5_supported = TRUE;
|
||||||
|
@@ -563,7 +572,7 @@
|
||||||
|
/*printf ("features: v5: %d, thumb: %d\n", v5_supported, thumb_supported);*/
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
-
|
||||||
|
+ }
|
||||||
|
/* no arm-specific optimizations yet */
|
||||||
|
*exclude_mask = 0;
|
||||||
|
return opts;
|
@ -38,6 +38,7 @@ PATCHES=(
|
|||||||
"${FILESDIR}/mono-2.2-ppc-threading.patch"
|
"${FILESDIR}/mono-2.2-ppc-threading.patch"
|
||||||
"${FILESDIR}/mono-2.2-uselibdir.patch"
|
"${FILESDIR}/mono-2.2-uselibdir.patch"
|
||||||
"${FILESDIR}/mono-2.6.4-require-glib.patch"
|
"${FILESDIR}/mono-2.6.4-require-glib.patch"
|
||||||
|
"${FILESDIR}/mono-2.6.7-arm-cpu-arch-overwrite.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
@ -84,6 +85,9 @@ src_configure() {
|
|||||||
#Remove this at your own peril. Mono will barf in unexpected ways.
|
#Remove this at your own peril. Mono will barf in unexpected ways.
|
||||||
append-flags -fno-strict-aliasing
|
append-flags -fno-strict-aliasing
|
||||||
|
|
||||||
|
# export Arch Overwtite
|
||||||
|
export MONO_CPU_ARCH=${CHOST/-*/}
|
||||||
|
|
||||||
#NOTE: We need the static libs for now so mono-debugger works.
|
#NOTE: We need the static libs for now so mono-debugger works.
|
||||||
#See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
|
#See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
|
||||||
go-mono_src_configure \
|
go-mono_src_configure \
|
||||||
|
Loading…
Reference in New Issue
Block a user