diff options
author | 2012-09-26 19:11:26 +0000 | |
---|---|---|
committer | 2012-09-26 19:11:26 +0000 | |
commit | 3c8fc198528198004c8848b00bdb702b997299b7 (patch) | |
tree | 9a0d2d82e1f2a693587e361de509cd63da416872 /app-emulation/spim | |
parent | Remove old. (diff) | |
download | historical-3c8fc198528198004c8848b00bdb702b997299b7.tar.gz historical-3c8fc198528198004c8848b00bdb702b997299b7.tar.bz2 historical-3c8fc198528198004c8848b00bdb702b997299b7.zip |
Update HOMEPAGE and add upstream metadata. Remove old.
Package-Manager: portage-2.1.11.22/cvs/Linux x86_64
Diffstat (limited to 'app-emulation/spim')
-rw-r--r-- | app-emulation/spim/ChangeLog | 11 | ||||
-rw-r--r-- | app-emulation/spim/Manifest | 34 | ||||
-rw-r--r-- | app-emulation/spim/files/spim-7.2.1-c99.patch | 492 | ||||
-rw-r--r-- | app-emulation/spim/files/spim-7.2.1-envvar-exception.patch | 26 | ||||
-rw-r--r-- | app-emulation/spim/files/spim-7.2.1-multiple-exception.patch | 55 | ||||
-rw-r--r-- | app-emulation/spim/files/spim-7.2.1-ptrsize.patch | 12 | ||||
-rw-r--r-- | app-emulation/spim/files/spim-7.2.1-string-handling-fix.patch | 36 | ||||
-rw-r--r-- | app-emulation/spim/files/spim-7.2.1-string-stream.patch | 13 | ||||
-rw-r--r-- | app-emulation/spim/files/spim-7.5-respect_env.patch | 178 | ||||
-rw-r--r-- | app-emulation/spim/files/spim-8.0-respect_env.patch | 155 | ||||
-rw-r--r-- | app-emulation/spim/metadata.xml | 3 | ||||
-rw-r--r-- | app-emulation/spim/spim-7.2.1-r3.ebuild | 106 | ||||
-rw-r--r-- | app-emulation/spim/spim-7.3.ebuild | 96 | ||||
-rw-r--r-- | app-emulation/spim/spim-7.5.ebuild | 81 | ||||
-rw-r--r-- | app-emulation/spim/spim-8.0-r1.ebuild | 6 |
15 files changed, 33 insertions, 1271 deletions
diff --git a/app-emulation/spim/ChangeLog b/app-emulation/spim/ChangeLog index 340db90d946b..7d83267a0430 100644 --- a/app-emulation/spim/ChangeLog +++ b/app-emulation/spim/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-emulation/spim # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/ChangeLog,v 1.60 2012/05/10 14:58:20 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/ChangeLog,v 1.61 2012/09/26 19:11:25 kensington Exp $ + + 26 Sep 2012; Michael Palimaka <kensington@gentoo.org> + -files/spim-7.2.1-c99.patch, -files/spim-7.2.1-envvar-exception.patch, + -files/spim-7.2.1-multiple-exception.patch, -files/spim-7.2.1-ptrsize.patch, + -files/spim-7.2.1-string-handling-fix.patch, + -files/spim-7.2.1-string-stream.patch, -files/spim-7.5-respect_env.patch, + -files/spim-8.0-respect_env.patch, -spim-7.2.1-r3.ebuild, -spim-7.3.ebuild, + -spim-7.5.ebuild, metadata.xml, spim-8.0-r1.ebuild: + Update HOMEPAGE and add upstream metadata. Remove old. 10 May 2012; Agostino Sarubbo <ago@gentoo.org> -spim-7.2.1-r2.ebuild, -spim-7.4.ebuild, -spim-8.0.ebuild: diff --git a/app-emulation/spim/Manifest b/app-emulation/spim/Manifest index 5ef7d60fd20e..3cba62ef6c9d 100644 --- a/app-emulation/spim/Manifest +++ b/app-emulation/spim/Manifest @@ -1,20 +1,20 @@ -AUX spim-7.2.1-c99.patch 17070 SHA256 7239c6fbb84308039ee10dc0792a3559a4628cb484081ebc6fb9efb4e31968ae SHA512 c75f5ac655b4f5240992fea7dd29643214e4c330f4edf39a6b278652967243951f2381e43b9b93e69475a58ad6030a7ca1952bbc50d6d37d3029a0c1dca257b7 WHIRLPOOL f82d68b1a07cc0b0ca8ea3ea9b04071c3ce05b640ba86667910d9ad1ee15dfd43f7a22970005f102b40f26c2ed6ad84db6f0010c57656a4affbaeda810df459b -AUX spim-7.2.1-envvar-exception.patch 991 SHA256 7a43dc97c06bb2cb842ebf01887f9d3c56597002c6d83d1828011383c1f98978 SHA512 86e7105d8062d8e416bedd000f879705070549ef6861a8dc1158b142083b67f94712b5fea464643efc5e18ee2435293113a5141ce6e87577a8258d1063a79b95 WHIRLPOOL 18e6b12b1d160d235de94b19dc74fc7fb5afcd6a2a0afabd9e7a591374275aa12aa1155b037986c3939a0fa6abf88b08c43a3d5800bf3e16e8e5890c7c38a7da -AUX spim-7.2.1-multiple-exception.patch 2375 SHA256 ada4a1435a8a366cb5a57538d00554f74ac8148b8c0cc893dfaa369c3ee225d2 SHA512 38c4b543ddce42dc6d4b66d26fdaefd1516ef9e7b12d7b8d17f9316ce646694e87c36e2e58bbeb2fcf5ef862f108306cbd82f8ba16cfae84470419aade1bcadb WHIRLPOOL 79598b9dc6cc8fbd0d36e0d71bd1e101fe1ca6a95ed7c5c49b0dbde7c90b64548706ba4136a34cdc0c300e7dc656d71d6d00b2e54724a02b3408933efe018808 -AUX spim-7.2.1-ptrsize.patch 458 SHA256 d709709e5e375884754b972a690ac256ffdba33af0d96ec453a7ca8f7cb771ad SHA512 7afbad8d3c5651c162865fb1bda5bed2ac3d2421b3e4483903da131903d982d8015d2c134f0b314594e825ad645cfaf73255b33110f4672e39e27e34eea3363f WHIRLPOOL de043782de7e10163c0d5fe2377641ca1e46d21d95c7ba184608c27b4471bc030d00e4f4cb9228bd09b924033a2bb1a69e7bdc104e75468eddae40cf65629b8d -AUX spim-7.2.1-string-handling-fix.patch 1304 SHA256 9b95c1a477e56caea6a77f7f448454bdcae74b25615bbef736787e5b58b24562 SHA512 869282945d29e631c5899709e007639e4a8f07ab8a6ae0f870c3d64d3c94e52c396421eb7f2ffdcee16e14577a5e893b74d858af51b5de6487b55f9b4913b699 WHIRLPOOL 613bc6090ecfa3881dc59107a9623ea3ab22d6e29dbbb1c6405c4de14323b32e399e99d97b19e8cfb7f79a7a1a225a985af7952c6ed16bd9978b67d3a3ee4e3c -AUX spim-7.2.1-string-stream.patch 488 SHA256 1d68146570de0ed4aa045b9e134f8f34b558cbaf3d4487ab312b41fd04594e5b SHA512 4cd2c53e5ae0a523f8eb5eea45e839c038497116ea325321d85ea1b605325468c3e499b910c9e21562e226112fd0bfa64518dd45fac2140651debef608ac84f4 WHIRLPOOL 928cf662871717951c601eb794b286d4cee825fece8c7f2a57d6c781a2d7a5e8091d21f55df86ecaca6399bfbd6528a4fc7fcfc992f7b6000f48201fa8be27fa -AUX spim-7.5-respect_env.patch 5091 SHA256 6ee202f653971a99b89ab6c3f81b54e2588f9ed86c2918f5cda9556718d6777c SHA512 43a3e6463345ab339315e03db85e6fc93d444474079226277d3e57f0dfe63c645f5d499eb94e88cdf95a6188a5f81243a3b1cb1d95730f15ef4c7a8375e13d91 WHIRLPOOL 4d1b15a36c3286783d1ac2866e427edafc24dea8259326824ed26eb7b68bd43d96143cc42fd57ce5be0b8f8079d269f6b3d8b9b2838344db5ecb4f069f6b43eb +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX spim-8.0-r1-respect_env.patch 5050 SHA256 d2c7a9662312d5075e08c93fb9037895b633776a1413130674397c1432f612cf SHA512 68e9f39bbcee4524557389fac2a617b1b588f2df7a1a807ce8a646053345b6a5f7aba6dda23d4821283783b654baa01763923cb70501a03467c5302f173383ef WHIRLPOOL 2a41ce6ca63e4f678f051cd583d3fcf7a365afc361a9be49871f9c3e69df697ee7a58f167328432a172229b8efd255b0a3c5549d428f8f16ecc68e74ca0dbe7a -AUX spim-8.0-respect_env.patch 4420 SHA256 eb1d0499def683b57082dddd823c5628d3f11fa20686e13a13a2372d6985e0c2 SHA512 26e307842ef5368c1787fa2cd023e7a9fa57fd1524ef2a8d57dbb7184ec363cd90a34057b9a95c3b562167bff7f549d24b5733adcec78334a60c1818af4bb225 WHIRLPOOL 4b37781cca0972063d43f054eb31628e617653a3643b15072e672e1c64509c88e287250a0acbcc5a3986f52beb42ac6e562d8f4634d46036963cb95e313ebbfd AUX xspim.svg 8364 SHA256 50d8be24c03f4de0d1f0f9ebff5bc0487efc48531ed171e4deb6ca60bf333a11 SHA512 1860705ef2677b5bd84b7cdf4daf3143033050e5ed014e22d63fc3bec48a0a296a9767fa7cbf7ab71f31c5cc712e40be0799a9c43b96c789273de7604d57c0d5 WHIRLPOOL 0381902ba19adcc7c9c098856ac0c5fc083dc93385e45035bdd5a1f34dd6987fc8be61816613d10e814b7cc1c1ecfb086eeb43d06f7ae00fba4704f798cb8036 -DIST spim-7.2.1.tar.gz 534388 SHA256 347771fc7f91ba12092b22374ddb377f13c588e6d0d1a0cdacea8bbb76f347fb SHA512 4e2dfdb552a1916b54ea6669d5edb455e6e9b101db7b47f1cd57507f4fae99b2f4974bfd5d7a790ae5326796b9fa0d1ae7c4996bb3b915b629f2d33daec364b0 WHIRLPOOL 0ac6fbfc8f1319bdaa04683869b26b36bfd9fa2605f95d6e99736a38e0a1d40c90fd29d6a865767e1bd92e40073d194c9dc56b7444202c43f352a13ab5ecc868 -DIST spim-7.3.tar.gz 347226 SHA256 d7de06135c519108055a90abe77ced4e36dec4f7f27ce1a2fca0059f86cdf35d SHA512 9725c4d29b54e6bca6d091a50bc74c57820c4fb7ba5d0eeeb926017abd9a60192d5f6c658d99d513fb7f78ee1f15e6e67521922f52c3db0c522ce4f0af3f327a WHIRLPOOL 349a2c530738ae74fb4ddb7c35b5a0dce4ef8225eed0fda1d864b324271e5c50e55d68f3cf502154d98ba2e7e415308cb5591f72121eb350903bf8f44a8a10c1 -DIST spim-7.5.tar.gz 359664 SHA256 28b572a15a402f315a61df3d9f581cb83a90fcbc297c9d095a36fbecbf69ecb7 SHA512 bfe84b67aa8ab57e0ce6977ff511f9f3ba6da9c9224b4694ff6a05875ee5982000ffd76fdf3ddda7fbaa9c7e9e6de58b344919010ff6761e1aed0426819292db WHIRLPOOL fd8ca6a8800d66f2d56548b6ef3d3e7a7b3a4532f0c0a97c51b82b3148a55b9b394111896f87d2bd5fcc304102e5fe99ec0a5d0c8325bf3cacba53e48a9ca1d1 DIST spim-8.0.tar.gz 355204 SHA256 6f205776cb9fa112729507008843b289012190ed3131cbd426c610a58387ee4b SHA512 c4eb66863a931b74d6c6ecd92860d16fd6369c85caecba1e71a1149e73e708502d1070f17a9beb6d0af1368db1ee5a85c040b596866a1236275cdd410a661adf WHIRLPOOL 222d85244a1dc24f50dc577e5147c9c67493d16d65b7b56f3a81565f80839eff184df081d58891c3333a23f836bfdd7700e2e2b69920801f271714ec2ec40b1e -EBUILD spim-7.2.1-r3.ebuild 2501 SHA256 4c93faa4727b748075c2e27c3475962b3486048b784503402cb64e9b57b9f7a5 SHA512 92a55c0e727cf56bcef9c0c3c0456fd3af1b9cfd06849bc71824fa08afb3cd0b2050054c5af3a119462a5b2b5c64ff55043aadc90a28d69dfc0d3c9d178330d2 WHIRLPOOL a8d393cc0b1171d0ff1cda6a80a67772a11b101568bf1f4cb7121978b777f8c36f19f0bbc61e1dd4ed37d4491642f696d919993534c17f56fff10573e8e50948 -EBUILD spim-7.3.ebuild 2048 SHA256 a018cd7d1cd35db1adc0f8d1a6111be379d97e4b0b7061d8b49dfa30e539f2dd SHA512 78d6987992812d547b9baf74dbe0d9198f1d28e4c2f6ddf6f63ed5cab4fb87bdd0a6604a9ac5d5a79ec477747356ad9e8e056af33846d698eaf3445f34674ad7 WHIRLPOOL 5e25f8d07c966022e0b98e27ff5cc77cb5b6b1a3dcd84f322f560a4523d98a45b9ef63bb7835ef5c9ae9b42bcc8131ee5c20d166258f312fcbcc5a9153bac4b7 -EBUILD spim-7.5.ebuild 1604 SHA256 0264f5886f55e67ff2d687fbf07b9e0489341f953973bea1c022ef99e56ca321 SHA512 215ef130b756716b2e552130bb9ba3d9411c408a02f85588506fa8fab70882b7fe45972c96552a6ef27577f1750ebe54d5dee0095c8aefc893bd365c28a11b29 WHIRLPOOL 27d455df0ddbbbcca67f6ee1eeb8e416d988b94eec8eb87458de363a15d74f70c6cce5273d2dd06b06b554e03cd76a229d71f51d1b7b68ed0631de7ace44127f -EBUILD spim-8.0-r1.ebuild 1777 SHA256 60483338aa2d597a9b8ca566f763e4e0ed7043337068beddd1638b18191a1f7c SHA512 7970e1dfd577d525956154b7bba3ede7b80583b6ea7b518fe9bb4ba7254aa81526d31da651f728705092d6187bc73c86e3daaab6e916dcc1608049b897f6a5ff WHIRLPOOL 103d90b27de6d0b38b9865ec9dd1c9c60205653542a02a91728cef3dcded1838457510f9c3ce4b86518fd04cdd877dffd5fa02cce1142ae1db2afab7531c766d -MISC ChangeLog 8447 SHA256 3ecee12ba2dd0bf4465b23e139e92cb2e58d6b6dcf8d66223839cb9271c58393 SHA512 04451729092c3cbbce14d9b3e1532d5b953de6bd98dc188d73fd8d327861403e15083e6162943ee9757c96982b7fadf1ca22cb1a8806c5ef6baa6ae3177488c8 WHIRLPOOL c210cc509bc5da4bfc5e5f889e2e02369a0a54aa54900ee2bd388d790eea2dd08868f4edafa3bec862124485ff0f2b30530fff907bc358e9e1a7a8e72272af65 -MISC metadata.xml 429 SHA256 3e7a9543860eb7a3c705a756079adf0a9cb196b8bdbd82a378c3b318fcd3c8a4 SHA512 64eeb6f42d285e76aefbc4943e296bfa0ec2269e34d13a42d8f90b6cefd3bc41e406b48f4584001922da932400ba088430635323e2989e0077831b639cdd005e WHIRLPOOL da0daa5c63951ccfdecfdb3b80cbf7f8937a407df5a31d9ac443058e1cbe0d708c3ae8b80d82ae20e7afb17e335496bb7deb803d4e583b66ce041d5a64482ea5 +EBUILD spim-8.0-r1.ebuild 1782 SHA256 9557ec5fd7e4a24068af2b143a96c2c98ba3d46b52c121e858af21223dac5399 SHA512 cfa87cf02fa92fcebe1195eab40fd2a83a8209913aae2d193c0a4825121d28dfe6874c5b963ae1b87b1cc1a4ecc74e72d6e80f5c8d73853b0829d8261bd7567a WHIRLPOOL 5d74d3eddc0f111039e14d070b2a2e96716fa273f522c025f1c1cde0c63c488f4813d78379eea4b9124ce96361f1a63fcd4e6247f4203579aa16a132947d2b5b +MISC ChangeLog 8975 SHA256 b66d3c5336221322e3c8a5bffee71ced83238ac93d6c0d7e51da86d27fc76596 SHA512 a21a70c8d453a9f21d58d04a7b41a2b217224defc2c18748349815a494ac15a5e88b5cea03fed6e5be43a6fbf9139d70a23dce99536052d03a877ce8199bc9e4 WHIRLPOOL 4595739c84c64f5629e1d7897ea75fd735de05d3b6ed20eae997a1457e322be72c1ed4bcf171ef4bca597cb138c96aec22e81f4f667ee0928fc579191bcdcdbd +MISC metadata.xml 512 SHA256 4b70b776fcafdc883d5606336c74fff944f4728dc8a5372a7b4c376428a2fb55 SHA512 85f04b4b1b51e818bc58e4b7f8c5a355f14b657fe9d5bc8c6d81675a24f339e38c20f9c6498afd236235549cb0727c1b9ea01546325e35bb09dafbf6156c2e5d WHIRLPOOL 125f664103ebd45ebdf61c035d2570c216ed81ca01cf32755532d853095f01f32cf1733124d5d1946b660cf8a73551c411c40c12248c2888cb9e6a0b584357a5 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJQY1M3AAoJEMbwO6tnXQ0sZwYH/3Qa5pCcLDX+gL5vdEX/ua3Q +rvJ6+xONIWQgMPZeXjyT17/wh70lP5x5BbEi9Ihv8xO1jRhnHulUCV4TDZ94VLpL +yuoNO35xzvS3BLI+6zFEEcf+iBgXxdgKZnEiYHFyiexrvKMo95n8ZM/+MVM7QplU +ukiQz9x2uJski96O1Pb3JtEczYlpAzb2cbiAoN7PFIlZX5KFeH4X7taPiFcc5rH6 +tNM+0qKR+fCdnios/Tv6YQK52rY1vGeYXBvfifyN9bS+fapQIDno9rVzdLTZLh8D +ZAO8gT30bpwu/0MgJheMOHJ1TXGIpP4TW46eZkeyZe8fuaibYNKGx6uNYqQlT2U= +=xZzy +-----END PGP SIGNATURE----- diff --git a/app-emulation/spim/files/spim-7.2.1-c99.patch b/app-emulation/spim/files/spim-7.2.1-c99.patch deleted file mode 100644 index fc73e60ce1b9..000000000000 --- a/app-emulation/spim/files/spim-7.2.1-c99.patch +++ /dev/null @@ -1,492 +0,0 @@ -diff -Naurp spim-7.2.1.orig/CPU/display-utils.c spim-7.2.1.ucb/CPU/display-utils.c ---- spim-7.2.1.orig/CPU/display-utils.c 2005-08-28 13:58:11.000000000 -0700 -+++ spim-7.2.1.ucb/CPU/display-utils.c 2005-10-04 20:51:29.881936000 -0700 -@@ -220,9 +220,9 @@ format_mem (str_stream *ss, mem_addr fro - for ( ; i < to; ) - { - /* Count consecutive zero words */ -- for (j = 0; (i + (uint32) j * BYTES_PER_WORD) < to; j += 1) -+ for (j = 0; (i + (uint32_t) j * BYTES_PER_WORD) < to; j += 1) - { -- val = read_mem_word (i + (uint32) j * BYTES_PER_WORD); -+ val = read_mem_word (i + (uint32_t) j * BYTES_PER_WORD); - if (val != 0) - { - break; -@@ -234,9 +234,9 @@ format_mem (str_stream *ss, mem_addr fro - /* Block of 4 or more zero memory words: */ - ss_printf (ss, "[0x%08x]...[0x%08x] 0x00000000\n", - i, -- i + (uint32) j * BYTES_PER_WORD); -+ i + (uint32_t) j * BYTES_PER_WORD); - -- i = i + (uint32) j * BYTES_PER_WORD; -+ i = i + (uint32_t) j * BYTES_PER_WORD; - i = format_partial_line (ss, i); - } - else -diff -Naurp spim-7.2.1.orig/CPU/inst.c spim-7.2.1.ucb/CPU/inst.c ---- spim-7.2.1.orig/CPU/inst.c 2005-08-28 13:58:12.000000000 -0700 -+++ spim-7.2.1.ucb/CPU/inst.c 2005-10-04 20:51:30.213951000 -0700 -@@ -44,13 +44,13 @@ - static int compare_pair_value (name_val_val *p1, name_val_val *p2); - static void format_imm_expr (str_stream *ss, imm_expr *expr, int base_reg); - static void i_type_inst_full_word (int opcode, int rt, int rs, imm_expr *expr, -- int value_known, int32 value); -+ int value_known, int32_t value); - static void inst_cmp (instruction *inst1, instruction *inst2); - static instruction *make_r_type_inst (int opcode, int rd, int rs, int rt); --static instruction *mk_i_inst (int32 value, int opcode, int rs, int rt, int offset); --static instruction *mk_j_inst (int32, int opcode, int target); --static instruction *mk_r_inst (int32, int opcode, int rs, int rt, int rd, int shamt); --static void produce_immediate (imm_expr *expr, int rt, int value_known, int32 value); -+static instruction *mk_i_inst (int32_t value, int opcode, int rs, int rt, int offset); -+static instruction *mk_j_inst (int32_t, int opcode, int target); -+static instruction *mk_r_inst (int32_t, int opcode, int rs, int rt, int rd, int shamt); -+static void produce_immediate (imm_expr *expr, int rt, int value_known, int32_t value); - static void sort_a_opcode_table (); - static void sort_i_opcode_table (); - static void sort_name_table (); -@@ -192,7 +192,7 @@ i_type_inst (int opcode, int rt, int rs, - if (expr->symbol == NULL || SYMBOL_IS_DEFINED (expr->symbol)) - { - /* Evaluate the instruction's expression. */ -- int32 value = eval_imm_expr (expr); -+ int32_t value = eval_imm_expr (expr); - - if (!bare_machine - && (((opcode == Y_ADDI_OP -@@ -234,7 +234,7 @@ i_type_inst (int opcode, int rt, int rs, - - static void - i_type_inst_full_word (int opcode, int rt, int rs, imm_expr *expr, -- int value_known, int32 value) -+ int value_known, int32_t value) - { - if (opcode_is_load_store (opcode)) - { -@@ -330,7 +330,7 @@ i_type_inst_full_word (int opcode, int r - - - static void --produce_immediate (imm_expr *expr, int rt, int value_known, int32 value) -+produce_immediate (imm_expr *expr, int rt, int value_known, int32_t value) - { - if (value_known && (value & 0xffff) == 0) - { -@@ -682,7 +682,7 @@ format_an_inst (str_stream *ss, instruct - return; - } - -- ss_printf (ss, "0x%08x %s", (uint32)ENCODING (inst), entry->name); -+ ss_printf (ss, "0x%08x %s", (uint32_t)ENCODING (inst), entry->name); - switch (entry->value2) - { - case BC_TYPE_INST: -@@ -1069,7 +1069,7 @@ lower_bits_of_expr (imm_expr *old_expr) - /* Return an instruction expression for a constant VALUE. */ - - imm_expr * --const_imm_expr (int32 value) -+const_imm_expr (int32_t value) - { - return (make_imm_expr (value, NULL, 0)); - } -@@ -1079,7 +1079,7 @@ const_imm_expr (int32 value) - incremented by the given amount. */ - - imm_expr * --incr_expr_offset (imm_expr *expr, int32 value) -+incr_expr_offset (imm_expr *expr, int32_t value) - { - imm_expr *new_expr = copy_imm_expr (expr); - -@@ -1090,10 +1090,10 @@ incr_expr_offset (imm_expr *expr, int32 - - /* Return the value of the EXPRESSION. */ - --int32 -+int32_t - eval_imm_expr (imm_expr *expr) - { -- int32 value; -+ int32_t value; - - if (expr->symbol == NULL) - value = expr->offset; -@@ -1227,10 +1227,10 @@ sort_i_opcode_table () - #define REGS(R,O) (((R) & 0x1f) << O) - - --int32 -+int32_t - inst_encode (instruction *inst) - { -- int32 a_opcode = 0; -+ int32_t a_opcode = 0; - name_val_val *entry; - - if (inst == NULL) -@@ -1400,11 +1400,11 @@ sort_a_opcode_table () - - - instruction * --inst_decode (int32 val) -+inst_decode (int32_t val) - { -- int32 a_opcode = val & 0xfc000000; -+ int32_t a_opcode = val & 0xfc000000; - name_val_val *entry; -- int32 i_opcode; -+ int32_t i_opcode; - - if (a_opcode == 0) /* SPECIAL */ - a_opcode |= (val & 0x3f); -@@ -1520,7 +1520,7 @@ inst_decode (int32 val) - - - static instruction * --mk_r_inst (int32 val, int opcode, int rs, int rt, int rd, int shamt) -+mk_r_inst (int32_t val, int opcode, int rs, int rt, int rd, int shamt) - { - instruction *inst = (instruction *) zmalloc (sizeof (instruction)); - -@@ -1536,7 +1536,7 @@ mk_r_inst (int32 val, int opcode, int rs - - - static instruction * --mk_i_inst (int32 val, int opcode, int rs, int rt, int offset) -+mk_i_inst (int32_t val, int opcode, int rs, int rt, int offset) - { - instruction *inst = (instruction *) zmalloc (sizeof (instruction)); - -@@ -1550,7 +1550,7 @@ mk_i_inst (int32 val, int opcode, int rs - } - - static instruction * --mk_j_inst (int32 val, int opcode, int target) -+mk_j_inst (int32_t val, int opcode, int target) - { - instruction *inst = (instruction *) zmalloc (sizeof (instruction)); - -diff -Naurp spim-7.2.1.orig/CPU/inst.h spim-7.2.1.ucb/CPU/inst.h ---- spim-7.2.1.orig/CPU/inst.h 2005-08-28 13:58:12.000000000 -0700 -+++ spim-7.2.1.ucb/CPU/inst.h 2005-10-04 20:51:30.281954000 -0700 -@@ -79,7 +79,7 @@ typedef struct inst_s - mem_addr target; - } r_t; - -- int32 encoding; -+ int32_t encoding; - imm_expr *expr; - char *source_line; - } instruction; -@@ -136,7 +136,7 @@ typedef struct inst_s - #define SET_TARGET(INST, VAL) (INST)->r_t.target = (mem_addr)(VAL) - - #define ENCODING(INST) (INST)->encoding --#define SET_ENCODING(INST, VAL) (INST)->encoding = (int32)(VAL) -+#define SET_ENCODING(INST, VAL) (INST)->encoding = (int32_t)(VAL) - - #define EXPR(INST) (INST)->expr - #define SET_EXPR(INST, VAL) (INST)->expr = (imm_expr*)(VAL) -@@ -226,20 +226,20 @@ extern int exception_occurred; - - imm_expr *addr_expr_imm (addr_expr *expr); - int addr_expr_reg (addr_expr *expr); --imm_expr *const_imm_expr (int32 value); -+imm_expr *const_imm_expr (int32_t value); - imm_expr *copy_imm_expr (imm_expr *old_expr); - instruction *copy_inst (instruction *inst); - mem_addr current_text_pc (); --int32 eval_imm_expr (imm_expr *expr); -+int32_t eval_imm_expr (imm_expr *expr); - void format_an_inst (str_stream *ss, instruction *inst, mem_addr addr); - void free_inst (instruction *inst); - void i_type_inst (int opcode, int rt, int rs, imm_expr *expr); - void i_type_inst_free (int opcode, int rt, int rs, imm_expr *expr); - void increment_text_pc (int delta); --imm_expr *incr_expr_offset (imm_expr *expr, int32 value); -+imm_expr *incr_expr_offset (imm_expr *expr, int32_t value); - void initialize_inst_tables (); --instruction *inst_decode (int32 value); --int32 inst_encode (instruction *inst); -+instruction *inst_decode (int32_t value); -+int32_t inst_encode (instruction *inst); - int inst_is_breakpoint (mem_addr addr); - void j_type_inst (int opcode, imm_expr *target); - void k_text_begins_at_point (mem_addr addr); -diff -Naurp spim-7.2.1.orig/CPU/mem.c spim-7.2.1.ucb/CPU/mem.c ---- spim-7.2.1.orig/CPU/mem.c 2005-08-28 13:58:12.000000000 -0700 -+++ spim-7.2.1.ucb/CPU/mem.c 2005-10-04 20:51:30.393960000 -0700 -@@ -76,7 +76,7 @@ static void write_memory_mapped_IO (mem_ - - /* Local variables: */ - --static int32 data_size_limit, stack_size_limit, k_data_size_limit; -+static int32_t data_size_limit, stack_size_limit, k_data_size_limit; - - - -diff -Naurp spim-7.2.1.orig/CPU/mem.h spim-7.2.1.ucb/CPU/mem.h ---- spim-7.2.1.orig/CPU/mem.h 2005-08-28 13:58:12.000000000 -0700 -+++ spim-7.2.1.ucb/CPU/mem.h 2005-10-04 20:51:30.489964000 -0700 -@@ -30,7 +30,7 @@ - - /* Type of contents of a memory word. */ - --typedef int32 /*@alt unsigned int @*/ mem_word; -+typedef int32_t /*@alt unsigned int @*/ mem_word; - - - /* The text segment and boundaries. */ -diff -Naurp spim-7.2.1.orig/CPU/parser.y spim-7.2.1.ucb/CPU/parser.y ---- spim-7.2.1.orig/CPU/parser.y 2005-08-28 13:58:12.000000000 -0700 -+++ spim-7.2.1.ucb/CPU/parser.y 2005-10-04 20:51:30.945984000 -0700 -@@ -470,8 +470,8 @@ int parse_error_occurred; /* Non-zero => - - static imm_expr *branch_offset (int n_inst); - static int cc_to_rt (int cc, int nd, int tf); --static void check_imm_range (imm_expr*, int32, int32); --static void check_uimm_range (imm_expr*, uint32, uint32); -+static void check_imm_range (imm_expr*, int32_t, int32_t); -+static void check_uimm_range (imm_expr*, uint32_t, uint32_t); - static void clear_labels (); - static label_list *cons_label (label *head, label_list *tail); - static void div_inst (int op, int rd, int rs, int rt, int const_divisor); -@@ -2853,13 +2853,13 @@ initialize_parser (char *file_name) - - - static void --check_imm_range (imm_expr* expr, int32 min, int32 max) -+check_imm_range (imm_expr* expr, int32_t min, int32_t max) - { - if (expr->symbol == NULL || SYMBOL_IS_DEFINED (expr->symbol)) - { - /* If expression can be evaluated, compare its value against the limits - and complain if the value is out of bounds. */ -- int32 value = eval_imm_expr (expr); -+ int32_t value = eval_imm_expr (expr); - - if (value < min || max < value) - { -@@ -2873,19 +2873,19 @@ check_imm_range (imm_expr* expr, int32 m - - - static void --check_uimm_range (imm_expr* expr, uint32 min, uint32 max) -+check_uimm_range (imm_expr* expr, uint32_t min, uint32_t max) - { - if (expr->symbol == NULL || SYMBOL_IS_DEFINED (expr->symbol)) - { - /* If expression can be evaluated, compare its value against the limits - and complain if the value is out of bounds. */ -- uint32 value = (uint32)eval_imm_expr (expr); -+ uint32_t value = (uint32_t)eval_imm_expr (expr); - - if (value < min || max < value) - { - char str[200]; - sprintf (str, "immediate value (%d) out of range (%d .. %d)", -- (int32)value, (int32)min, (int32)max); -+ (int32_t)value, (int32_t)min, (int32_t)max); - yywarn (str); - } - } -diff -Naurp spim-7.2.1.orig/CPU/reg.h spim-7.2.1.ucb/CPU/reg.h ---- spim-7.2.1.orig/CPU/reg.h 2005-08-28 13:58:12.000000000 -0700 -+++ spim-7.2.1.ucb/CPU/reg.h 2005-10-04 20:51:31.109992000 -0700 -@@ -24,8 +24,8 @@ - */ - - --typedef int32 /*@alt unsigned int @*/ reg_word; --typedef uint32 u_reg_word; -+typedef int32_t /*@alt unsigned int @*/ reg_word; -+typedef uint32_t u_reg_word; - - - /* General purpose registers: */ -@@ -180,7 +180,7 @@ extern int *FWR; /* is possible */ - run_error ("Odd FP double register number\n"); \ - else FPR[(REGNO) / 2] = (double) (VALUE);} - --#define SET_FPR_W(REGNO, VALUE) {FWR[REGNO] = (int32) (VALUE);} -+#define SET_FPR_W(REGNO, VALUE) {FWR[REGNO] = (int32_t) (VALUE);} - - - /* Floating point control registers: */ -diff -Naurp spim-7.2.1.orig/CPU/run.c spim-7.2.1.ucb/CPU/run.c ---- spim-7.2.1.orig/CPU/run.c 2005-08-28 13:58:12.000000000 -0700 -+++ spim-7.2.1.ucb/CPU/run.c 2005-10-04 20:51:31.225997000 -0700 -@@ -1343,7 +1343,7 @@ run_spim (mem_addr initial_PC, int steps - { - double val = FPR_D (FS (inst)); - -- SET_FPR_W (FD (inst), (int32)ceil (val)); -+ SET_FPR_W (FD (inst), (int32_t)ceil (val)); - break; - } - -@@ -1351,7 +1351,7 @@ run_spim (mem_addr initial_PC, int steps - { - double val = (double)FPR_S (FS (inst)); - -- SET_FPR_W (FD (inst), (int32)ceil (val)); -+ SET_FPR_W (FD (inst), (int32_t)ceil (val)); - break; - } - -@@ -1389,7 +1389,7 @@ run_spim (mem_addr initial_PC, int steps - - case Y_CVT_W_D_OP: - { -- int val = (int32)FPR_D (FS (inst)); -+ int val = (int32_t)FPR_D (FS (inst)); - - SET_FPR_W (FD (inst), val); - break; -@@ -1397,7 +1397,7 @@ run_spim (mem_addr initial_PC, int steps - - case Y_CVT_W_S_OP: - { -- int val = (int32)FPR_S (FS (inst)); -+ int val = (int32_t)FPR_S (FS (inst)); - - SET_FPR_W (FD (inst), val); - break; -@@ -1415,7 +1415,7 @@ run_spim (mem_addr initial_PC, int steps - { - double val = FPR_D (FS (inst)); - -- SET_FPR_W (FD (inst), (int32)floor (val)); -+ SET_FPR_W (FD (inst), (int32_t)floor (val)); - break; - } - -@@ -1423,7 +1423,7 @@ run_spim (mem_addr initial_PC, int steps - { - double val = (double)FPR_S (FS (inst)); - -- SET_FPR_W (FD (inst), (int32)floor (val)); -+ SET_FPR_W (FD (inst), (int32_t)floor (val)); - break; - } - -@@ -1573,7 +1573,7 @@ run_spim (mem_addr initial_PC, int steps - { - double val = FPR_D (FS (inst)); - -- SET_FPR_W (FD (inst), (int32)(val + 0.5)); /* Casting truncates */ -+ SET_FPR_W (FD (inst), (int32_t)(val + 0.5)); /* Casting truncates */ - break; - } - -@@ -1581,7 +1581,7 @@ run_spim (mem_addr initial_PC, int steps - { - double val = (double)FPR_S (FS (inst)); - -- SET_FPR_W (FD (inst), (int32)(val + 0.5)); /* Casting truncates */ -+ SET_FPR_W (FD (inst), (int32_t)(val + 0.5)); /* Casting truncates */ - break; - } - -@@ -1627,7 +1627,7 @@ run_spim (mem_addr initial_PC, int steps - { - double val = FPR_D (FS (inst)); - -- SET_FPR_W (FD (inst), (int32)val); /* Casting truncates */ -+ SET_FPR_W (FD (inst), (int32_t)val); /* Casting truncates */ - break; - } - -@@ -1635,7 +1635,7 @@ run_spim (mem_addr initial_PC, int steps - { - double val = (double)FPR_S (FS (inst)); - -- SET_FPR_W (FD (inst), (int32)val); /* Casting truncates */ -+ SET_FPR_W (FD (inst), (int32_t)val); /* Casting truncates */ - break; - } - -@@ -1709,7 +1709,7 @@ start_CP0_timer () - since signals interrupt I/O calls, such as read, and make user - interaction with SPIM work very poorly. Since speed isn't an important - aspect of SPIM, polling isn't a big deal. */ -- if (-1 == (int)signal (SIGALRM, SIG_IGN)) -+ if (-1 == (long)signal (SIGALRM, SIG_IGN)) - { - perror ("signal failed"); - } -diff -Naurp spim-7.2.1.orig/CPU/spim.h spim-7.2.1.ucb/CPU/spim.h ---- spim-7.2.1.orig/CPU/spim.h 2005-08-28 13:58:13.000000000 -0700 -+++ spim-7.2.1.ucb/CPU/spim.h 2005-10-04 20:57:41.038675000 -0700 -@@ -29,12 +29,10 @@ - #define NULL 0 - #endif - -+/* Use C99 types for guranteed size */ -+#include <stdint.h> -+#include <sys/types.h> - --/* Type declarations for portability. They work for DEC's Alpha (64 bits) -- and 32 bit machines */ -- --typedef int int32; --typedef unsigned int uint32; - typedef union {int i; void* p;} intptr_union; - - -@@ -45,7 +43,7 @@ typedef union {int i; void* p;} intptr_u - #define ROUND_UP(V, B) (((int) V + (B-1)) & ~(B-1)) - #define ROUND_DOWN(V, B) (((int) V) & ~(B-1)) - --/* Sign-extend an int16 to an int32 */ -+/* Sign-extend an int16 to an int32_t */ - #define SIGN_EX(X) (((X) & 0x8000) ? ((X) | 0xffff0000) : (X)) - - -@@ -81,7 +79,7 @@ typedef union {int i; void* p;} intptr_u - - /* Type of a memory address. Must be a 32-bit quantity to match MIPS. */ - --typedef uint32 /*@alt int @*/ mem_addr; -+typedef uint32_t /*@alt int @*/ mem_addr; - - - #define BYTES_PER_WORD 4 /* On the MIPS processor */ -diff -Naurp spim-7.2.1.orig/CPU/sym-tbl.c spim-7.2.1.ucb/CPU/sym-tbl.c ---- spim-7.2.1.orig/CPU/sym-tbl.c 2005-08-28 13:58:13.000000000 -0700 -+++ spim-7.2.1.ucb/CPU/sym-tbl.c 2005-10-04 20:51:32.034034000 -0700 -@@ -303,8 +303,8 @@ resolve_a_label_sub (label *sym, instruc - if (EXPR (inst)->symbol == NULL - || SYMBOL_IS_DEFINED (EXPR (inst)->symbol)) - { -- int32 value; -- int32 field_mask; -+ int32_t value; -+ int32_t field_mask; - - if (opcode_is_branch (OPCODE (inst))) - { -diff -Naurp spim-7.2.1.orig/spim/configuration spim-7.2.1.ucb/spim/configuration ---- spim-7.2.1.orig/spim/configuration 1969-12-31 16:00:00.000000000 -0800 -+++ spim-7.2.1.ucb/spim/configuration 2005-10-04 20:51:36.750246000 -0700 -@@ -0,0 +1,2 @@ -+-DLITTLEENDIAN -+-DUSE_TERMIOS -diff -Naurp spim-7.2.1.orig/spim/spim.c spim-7.2.1.ucb/spim/spim.c ---- spim-7.2.1.orig/spim/spim.c 2005-08-28 13:58:14.000000000 -0700 -+++ spim-7.2.1.ucb/spim/spim.c 2005-10-04 22:20:43.110438437 -0700 -@@ -677,9 +677,9 @@ parse_spim_command (FILE *file, int redo - - for (i = dump_start; i < dump_limit; i++) - { -- int32 code = inst_encode (text_seg[i]); -+ int32_t code = inst_encode (text_seg[i]); - if (cmd == DUMP_TEXT_CMD) -- code = (int32)htonl ((unsigned long)code); /* dump in network byte order */ -+ code = (int32_t)htonl ((unsigned long)code); /* dump in network byte order */ - (void)fwrite (&code, 1, sizeof(code), fp); - words++; - } diff --git a/app-emulation/spim/files/spim-7.2.1-envvar-exception.patch b/app-emulation/spim/files/spim-7.2.1-envvar-exception.patch deleted file mode 100644 index c4e111e40ac0..000000000000 --- a/app-emulation/spim/files/spim-7.2.1-envvar-exception.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Naurp spim-7.2.1.orig/spim/spim.c spim-7.2.1.ucb/spim/spim.c ---- spim-7.2.1.orig/spim/spim.c 2005-08-28 13:58:14.000000000 -0700 -+++ spim-7.2.1.ucb/spim/spim.c 2005-10-04 19:39:49.559513464 -0700 -@@ -146,6 +146,9 @@ main (int argc, char **argv) - - write_startup_message (); - -+ if(getenv("SPIM_EXCEPTION_HANDLER") != NULL) -+ exception_file_name=getenv("SPIM_EXCEPTION_HANDLER"); -+ - for (i = 1; i < argc; i++) - { - #ifdef WIN32 -diff -Naurp spim-7.2.1.orig/xspim/xspim.c spim-7.2.1.ucb/xspim/xspim.c ---- spim-7.2.1.orig/xspim/xspim.c 2005-08-28 13:58:15.000000000 -0700 -+++ spim-7.2.1.ucb/xspim/xspim.c 2005-10-04 19:39:58.163902605 -0700 -@@ -414,6 +414,9 @@ main (int argc, char **argv) - - spim_return_value = 0; - -+ if(getenv("SPIM_EXCEPTION_HANDLER") != NULL) -+ exception_file_name=getenv("SPIM_EXCEPTION_HANDLER"); -+ - toplevel = XtAppInitialize (&app_context, "Xspim", options, - XtNumber (options), &argc, argv, - fallback_resources, NULL, ZERO); diff --git a/app-emulation/spim/files/spim-7.2.1-multiple-exception.patch b/app-emulation/spim/files/spim-7.2.1-multiple-exception.patch deleted file mode 100644 index d05cc7dff7af..000000000000 --- a/app-emulation/spim/files/spim-7.2.1-multiple-exception.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff -Naurp spim-7.2.1-r1/CPU/spim-utils.c spim-7.2.1-r1.mult_except/CPU/spim-utils.c ---- spim-7.2.1-r1/CPU/spim-utils.c 2005-08-28 13:58:13.000000000 -0700 -+++ spim-7.2.1-r1.mult_except/CPU/spim-utils.c 2005-10-26 14:22:15.000000000 -0700 -@@ -76,7 +76,7 @@ mem_addr initial_k_data_limit = K_DATA_L - /* Initialize or reinitialize the state of the machine. */ - - void --initialize_world (char* exception_file_name) -+initialize_world (char* exception_file_names) - { - /* Allocate the floating point registers */ - if (FGR == NULL) -@@ -96,18 +96,26 @@ initialize_world (char* exception_file_n - data_begins_at_point (DATA_BOT); - text_begins_at_point (TEXT_BOT); - -- if (exception_file_name != NULL) -+ if (exception_file_names != NULL) - { - int old_bare = bare_machine; - int old_accept = accept_pseudo_insts; -+ char *state, *filename; - - bare_machine = 0; /* Exception handler uses extended machine */ - accept_pseudo_insts = 1; -- if (read_assembly_file (exception_file_name)) -- fatal_error ("Cannot read exception handler: %s\n", exception_file_name); -+ -+ for(filename = strtok_r(exception_file_names, ":", &state); -+ filename; -+ filename = strtok_r(NULL, ":", &state)) { -+ -+ if (read_assembly_file (filename)) -+ fatal_error ("Cannot read exception handler: %s\n", filename); -+ write_output (message_out, "Loaded: %s\n", filename); -+ } -+ - bare_machine = old_bare; - accept_pseudo_insts = old_accept; -- write_output (message_out, "Loaded: %s\n", exception_file_name); - - if (!bare_machine) - { -diff -Naurp spim-7.2.1-r1/CPU/spim-utils.h spim-7.2.1-r1.mult_except/CPU/spim-utils.h ---- spim-7.2.1-r1/CPU/spim-utils.h 2005-08-28 13:58:13.000000000 -0700 -+++ spim-7.2.1-r1.mult_except/CPU/spim-utils.h 2005-10-26 14:23:08.000000000 -0700 -@@ -46,7 +46,7 @@ void format_mem (str_stream *ss, mem_add - void format_registers (str_stream *ss, int print_gpr_hex, int print_fpr_hex); - void initialize_registers (); - void initialize_run_stack (int argc, char **argv); --void initialize_world (char *exception_file_name); -+void initialize_world (char *exception_file_names); - void list_breakpoints (); - name_val_val *map_int_to_name_val_val (name_val_val tbl[], int tbl_len, int num); - name_val_val *map_string_to_name_val_val (name_val_val tbl[], int tbl_len, char *id); diff --git a/app-emulation/spim/files/spim-7.2.1-ptrsize.patch b/app-emulation/spim/files/spim-7.2.1-ptrsize.patch deleted file mode 100644 index 7d106ee96e20..000000000000 --- a/app-emulation/spim/files/spim-7.2.1-ptrsize.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naurp spim-7.2.1.ucb.orig/xspim/buttons.c spim-7.2.1.ucb/xspim/buttons.c ---- spim-7.2.1.ucb.orig/xspim/buttons.c 2005-08-28 13:58:15.000000000 -0700 -+++ spim-7.2.1.ucb/xspim/buttons.c 2005-10-04 22:37:40.632652040 -0700 -@@ -583,7 +583,7 @@ static void - clear_program_state_action (Widget w, XtPointer client_data, - XtPointer call_data) - { -- int clear_op = (int) client_data; -+ long clear_op = (long) client_data; - - switch (clear_op) - { diff --git a/app-emulation/spim/files/spim-7.2.1-string-handling-fix.patch b/app-emulation/spim/files/spim-7.2.1-string-handling-fix.patch deleted file mode 100644 index 660ab78c65b9..000000000000 --- a/app-emulation/spim/files/spim-7.2.1-string-handling-fix.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- CPU/spim-utils.c 2006-01-22 01:15:11.000000000 -0600 -+++ CPU/spim-utils.c 2006-01-22 01:35:59.000000000 -0600 -@@ -105,14 +105,25 @@ - bare_machine = 0; /* Exception handler uses extended machine */ - accept_pseudo_insts = 1; - -- for(filename = strtok_r(exception_file_names, ":", &state); -- filename; -- filename = strtok_r(NULL, ":", &state)) { -- -- if (read_assembly_file (filename)) -- fatal_error ("Cannot read exception handler: %s\n", filename); -- write_output (message_out, "Loaded: %s\n", filename); -- } -+ /* -+ * strtok_r does not guarantee to keep the string usable, so we must back -+ * up the string prior to use -+ */ -+ char *files; -+ if ((files = strdup(exception_file_names)) == NULL) -+ fatal_error("Insufficient memory to complete.\n"); -+ -+ for (filename = strtok_r (files, ":", &state); -+ filename; -+ filename = strtok_r (NULL, ":", &state)) -+ { -+ if (read_assembly_file (filename)) -+ fatal_error ("Cannot read exception handler: %s\n", filename); -+ -+ write_output (message_out, "Loaded: %s\n", filename); -+ } -+ -+ free (files); - - bare_machine = old_bare; - accept_pseudo_insts = old_accept; diff --git a/app-emulation/spim/files/spim-7.2.1-string-stream.patch b/app-emulation/spim/files/spim-7.2.1-string-stream.patch deleted file mode 100644 index 8b831e3b8dda..000000000000 --- a/app-emulation/spim/files/spim-7.2.1-string-stream.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Naurp spim-7.2.1.ucb.orig/CPU/string-stream.c spim-7.2.1.ucb/CPU/string-stream.c ---- spim-7.2.1.ucb.orig/CPU/string-stream.c 2005-08-28 13:58:13.000000000 -0700 -+++ spim-7.2.1.ucb/CPU/string-stream.c 2005-10-04 22:32:37.338885592 -0700 -@@ -119,6 +119,9 @@ ss_printf (str_stream* ss, char* fmt, .. - free_space = ss->max_length - ss->empty_pos; - if (NULL == ss->buf) - fatal_error ("realloc failed\n"); -+ -+ va_end (args); -+ va_start (args, fmt); - } - ss->empty_pos += n; - diff --git a/app-emulation/spim/files/spim-7.5-respect_env.patch b/app-emulation/spim/files/spim-7.5-respect_env.patch deleted file mode 100644 index 1f1e6633dc5c..000000000000 --- a/app-emulation/spim/files/spim-7.5-respect_env.patch +++ /dev/null @@ -1,178 +0,0 @@ -diff -ur spim-7.5-orig/spim/Makefile spim-7.5/spim/Makefile ---- spim-7.5-orig/spim/Makefile 2009-08-15 06:16:36.000000000 +0300 -+++ spim-7.5/spim/Makefile 2009-12-22 21:35:38.679967575 +0200 -@@ -54,13 +54,13 @@ - - - # Full path for the directory that will hold the executable files: --BIN_DIR = /usr/bin -+BIN_DIR = $(DESTDIR)/usr/bin - - # Full path for the directory that will hold the exception handler: --EXCEPTION_DIR = /usr/lib/spim -+EXCEPTION_DIR = $(DESTDIR)/var/lib/spim - - # Full path for the directory that will hold the man files: --MAN_DIR = /usr/share/man/en -+MAN_DIR = $(DESTDIR)/usr/share/man - - - # If you have flex, use it instead of lex. If you use flex, define this -@@ -92,11 +92,9 @@ - - DEFINES = $(ENDIAN) $(MEM_SIZES) -DDEFAULT_EXCEPTION_HANDLER="\"$(EXCEPTION_DIR)/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" - --CC = gcc --CFLAGS = -I. -I$(CPU_DIR) $(DEFINES) -g -Wall -+CFLAGS += -I. -I$(CPU_DIR) $(DEFINES) -Wall - YFLAGS = -d --file-prefix=y - YCFLAGS = --LDFLAGS = -lm - CSH = bash - - # lex.yy.c is usually compiled with -O to speed it up. -@@ -110,10 +108,10 @@ - - - spim: force -- make -f Makefile spim2 -+ $(MAKE) -f Makefile spim2 - - spim2: $(OBJS) spim.o -- $(CC) -g $(OBJS) spim.o $(LDFLAGS) -o spim -lm -+ $(CC) $(OBJS) spim.o $(LDFLAGS) -o spim -lm - - - force: configuration -@@ -131,19 +129,19 @@ - @echo - @echo "Testing tt.bare.s:" - $(CSH) -c "./spim -delayed_branches -delayed_loads -noexception -file $(TEST_DIR)/tt.bare.s >& test.out" -- @tail -2 test.out -+ @tail -n2 test.out - @echo - - @echo - @echo "Testing tt.core.s:" - $(CSH) -c "./spim -ef $(CPU_DIR)/exceptions.s -file $(TEST_DIR)/tt.core.s < $(TEST_DIR)/tt.in >& test.out" -- @tail -2 test.out -+ @tail -n2 test.out - @echo - - @echo - @echo "Testing tt.endian.s:" - $(CSH) -c "./spim -ef $(CPU_DIR)/exceptions.s -file $(TEST_DIR)/tt.endian.s >& test.out" -- @tail -2 test.out -+ @tail -n2 test.out - @echo - @echo - -@@ -154,13 +152,13 @@ - @echo - @echo "Testing tt.alu.bare.s:" - $(CSH) -c "./spim -bare -noexception -file $(TEST_DIR)/tt.alu.bare.s >& test.out" -- @tail -2 test.out -+ @tail -n2 test.out - @echo - - @echo - @echo "Testing tt.fpt.bare.s:" - $(CSH) -c "./spim -bare -noexception -file $(TEST_DIR)/tt.fpu.bare.s >& test.out" -- @tail -2 test.out -+ @tail -n2 test.out - @echo - @echo - -@@ -178,7 +176,6 @@ - install -D -m 0444 $(CPU_DIR)/exceptions.s $(EXCEPTION_DIR)/exceptions.s - - install-man: -- install -D -m 0444 $(DOC_DIR)/spim.man $(MAN_DIR) - - very-clean: clean - rm -f configuration -diff -ur spim-7.5-orig/xspim/Makefile spim-7.5/xspim/Makefile ---- spim-7.5-orig/xspim/Makefile 2009-08-15 06:16:37.000000000 +0300 -+++ spim-7.5/xspim/Makefile 2009-12-22 21:36:52.583871429 +0200 -@@ -175,8 +175,7 @@ - # from top Makefile - BOOTSTRAPCFLAGS = - -- CC = gcc -m32 -- AS = gcc -m32 -c -x assembler -+ AS = $(CC) -m32 -c -x assembler - - .SUFFIXES: .cc - -@@ -201,12 +200,12 @@ - - CPP = cpp $(STD_CPP_DEFINES) - RAWCPP = cpp -undef $(STD_CPP_OPTIONS) -- PREPROCESSCMD = gcc -m32 -E $(STD_CPP_DEFINES) -+ PREPROCESSCMD = $(CC) -m32 -E $(STD_CPP_DEFINES) - - INSTALL = install - INSTALLFLAGS = -c - -- LD = gcc -m32 -nostdlib -+ LD = $(CC) -m32 -nostdlib - - LEX = flex -l - M4 = m4 -@@ -220,7 +219,6 @@ - LINTLIBFLAG = -C - LINTOPTS = -axz - LN = ln -s -- MAKE = make - MV = mv -f - CP = cp - -@@ -270,14 +268,14 @@ - COL = col - COLFLAGS = -b - -- MODCC = gcc -m32 -+ MODCC = $(CC) -m32 - - MODCPP = cpp - MODCFLAGS = $(CFLAGS) -- MODAS = gcc -m32 -c -x assembler -+ MODAS = $(CC) -m32 -c -x assembler - MODASFLAGS = - -- MODLD = gcc -m32 -nostdlib -+ MODLD = $(CC) -m32 -nostdlib - - MODLDFLAGS = - MODLDCOMBINEFLAGS = -r -@@ -330,7 +328,7 @@ - - ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(INSTALLED_INCLUDES) $(STD_INCLUDES) - ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) $(EXTRA_DEFINES) -- CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES) -+ CFLAGS += $(MODULE_CFLAGS) $(ALLDEFINES) - LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES) - LDPRELIB = $(INSTALLED_LIBS) - LDPOSTLIB = -@@ -339,7 +337,7 @@ - - LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) - -- CCLINK = $(CC) -+ CCLINK = $(CC) $(LDFLAGS) - - CXXLINK = $(CXX) - -@@ -1079,10 +1077,10 @@ - BIN_DIR = /usr/bin - - # Full path for the directory that will hold the exception handler: --EXCEPTION_DIR = /usr/lib/spim -+EXCEPTION_DIR = /var/lib/spim - - # Full path for the directory that will hold the man files: --MAN_DIR = /usr/share/man/en -+MAN_DIR = /usr/share/man - - # If you have flex, use it instead of lex. If you use flex, define this - # variable and set LEXFLAGS. diff --git a/app-emulation/spim/files/spim-8.0-respect_env.patch b/app-emulation/spim/files/spim-8.0-respect_env.patch deleted file mode 100644 index 3df337848049..000000000000 --- a/app-emulation/spim/files/spim-8.0-respect_env.patch +++ /dev/null @@ -1,155 +0,0 @@ ---- spim-8.0-orig/spim/Makefile 2010-01-09 05:22:57.000000000 +0000 -+++ spim-8.0/spim/Makefile 2010-04-08 18:49:55.000000000 +0100 -@@ -66,13 +66,13 @@ - - - # Full path for the directory that will hold the executable files: --BIN_DIR = /usr/local/bin -+BIN_DIR = $(DESTDIR)/usr/bin - - # Full path for the directory that will hold the exception handler: --EXCEPTION_DIR = /usr/local/lib/spim -+EXCEPTION_DIR = $(DESTDIR)/var/lib/spim - - # Full path for the directory that will hold the man files: --MAN_DIR = /usr/local/man/en -+MAN_DIR = $(DESTDIR)/usr/share/man - - - # If you have flex, use it instead of lex. If you use flex, define this -@@ -105,10 +105,9 @@ - DEFINES = $(ENDIAN) $(MEM_SIZES) -DDEFAULT_EXCEPTION_HANDLER="\"$(EXCEPTION_DIR)/exceptions.s\"" -DSPIM_VERSION="\"`cat ../VERSION`\"" - - CC = gcc --CFLAGS = -I. -I$(CPU_DIR) $(DEFINES) -g -Wall -+CFLAGS = -I. -I$(CPU_DIR) $(DEFINES) -Wall - YFLAGS = -d --file-prefix=y - YCFLAGS = --LDFLAGS = -lm - CSH = bash - - # lex.yy.c is usually compiled with -O to speed it up. -@@ -122,10 +121,10 @@ - - - spim: force -- make -f Makefile spim2 -+ $(MAKE) -f Makefile spim2 - - spim2: $(OBJS) spim.o -- $(CC) -g $(OBJS) spim.o $(LDFLAGS) -o spim -lm -+ $(CC) $(OBJS) spim.o $(LDFLAGS) -o spim -lm - - - force: configuration -@@ -143,19 +142,19 @@ - @echo - @echo "Testing tt.bare.s:" - $(CSH) -c "./spim -delayed_branches -delayed_loads -noexception -file $(TEST_DIR)/tt.bare.s >& test.out" -- @tail -2 test.out -+ @tail -n2 test.out - @echo - - @echo - @echo "Testing tt.core.s:" - $(CSH) -c "./spim -ef $(CPU_DIR)/exceptions.s -file $(TEST_DIR)/tt.core.s < $(TEST_DIR)/tt.in >& test.out" -- @tail -2 test.out -+ @tail -n2 test.out - @echo - - @echo - @echo "Testing tt.endian.s:" - $(CSH) -c "./spim -ef $(CPU_DIR)/exceptions.s -file $(TEST_DIR)/tt.endian.s >& test.out" -- @tail -2 test.out -+ @tail -n2 test.out - @echo - @echo - -@@ -166,13 +165,13 @@ - @echo - @echo "Testing tt.alu.bare.s:" - $(CSH) -c "./spim -bare -noexception -file $(TEST_DIR)/tt.alu.bare.s >& test.out" -- @tail -2 test.out -+ @tail -n2 test.out - @echo - - @echo - @echo "Testing tt.fpt.bare.s:" - $(CSH) -c "./spim -bare -noexception -file $(TEST_DIR)/tt.fpu.bare.s >& test.out" -- @tail -2 test.out -+ @tail -n2 test.out - @echo - @echo - -@@ -192,8 +191,6 @@ - install -m 0444 $(CPU_DIR)/exceptions.s $(EXCEPTION_DIR)/exceptions.s - - install-man: -- install -d $(MAN_DIR) -- install -m 0444 $(DOC_DIR)/spim.man $(MAN_DIR) - - very-clean: clean - rm -f configuration ---- spim-8.0-orig/xspim/Makefile 2010-01-09 05:22:58.000000000 +0000 -+++ spim-8.0/xspim/Makefile 2010-04-08 18:52:21.000000000 +0100 -@@ -175,8 +175,7 @@ - # from top Makefile - BOOTSTRAPCFLAGS = - -- CC = gcc -m32 -- AS = gcc -m32 -c -x assembler -+ AS = $(CC) -m32 -c -x assembler - - .SUFFIXES: .cc - -@@ -201,12 +200,12 @@ - - CPP = cpp $(STD_CPP_DEFINES) - RAWCPP = cpp -undef $(STD_CPP_OPTIONS) -- PREPROCESSCMD = gcc -m32 -E $(STD_CPP_DEFINES) -+ PREPROCESSCMD = $(CC) -m32 -E $(STD_CPP_DEFINES) - - INSTALL = install - INSTALLFLAGS = -c - -- LD = gcc -m32 -nostdlib -+ LD = $(CC) -m32 -nostdlib - - LEX = flex -l - M4 = m4 -@@ -270,14 +269,14 @@ - COL = col - COLFLAGS = -b - -- MODCC = gcc -m32 -+ MODCC = $(CC) -m32 - - MODCPP = cpp - MODCFLAGS = $(CFLAGS) -- MODAS = gcc -m32 -c -x assembler -+ MODAS = $(CC) -m32 -c -x assembler - MODASFLAGS = - -- MODLD = gcc -m32 -nostdlib -+ MODLD = $(CC) -m32 -nostdlib - - MODLDFLAGS = - MODLDCOMBINEFLAGS = -r -@@ -330,7 +329,7 @@ - - ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(INSTALLED_INCLUDES) $(STD_INCLUDES) - ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) $(EXTRA_DEFINES) -- CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES) -+ CFLAGS = $(MODULE_CFLAGS) $(ALLDEFINES) - LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES) - LDPRELIB = $(INSTALLED_LIBS) - LDPOSTLIB = -@@ -339,7 +338,7 @@ - - LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) - -- CCLINK = $(CC) -+ CCLINK = $(CC) $(LDFLAGS) - - CXXLINK = $(CXX) - diff --git a/app-emulation/spim/metadata.xml b/app-emulation/spim/metadata.xml index 872a4a1b5ca0..8260022a7fa1 100644 --- a/app-emulation/spim/metadata.xml +++ b/app-emulation/spim/metadata.xml @@ -9,4 +9,7 @@ programs. It also provides a simple debugger and a minimal set of operating system services. </longdescription> + <upstream> + <remote-id type="sourceforge">spimsimulator</remote-id> + </upstream> </pkgmetadata> diff --git a/app-emulation/spim/spim-7.2.1-r3.ebuild b/app-emulation/spim/spim-7.2.1-r3.ebuild deleted file mode 100644 index a21fb01b3b67..000000000000 --- a/app-emulation/spim/spim-7.2.1-r3.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/spim-7.2.1-r3.ebuild,v 1.7 2009/03/20 03:25:56 jmbsvicetto Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="MIPS Simulator" -HOMEPAGE="http://www.cs.wisc.edu/~larus/spim.html" -SRC_URI="http://www.cs.wisc.edu/~larus/SPIM/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="amd64 ppc ~sparc x86" -IUSE="X" - -RDEPEND="X? ( x11-libs/libXaw - x11-libs/libXp )" -DEPEND="${RDEPEND} - X? ( x11-misc/imake - x11-proto/xproto ) - >=sys-apps/sed-4 - sys-devel/bison" - -src_unpack() { - unpack ${A} - cd "${S}" - - # Patches from eradicator submitted upstream. Fixes amd64 and others... - epatch "${FILESDIR}/${PN}-7.2.1-envvar-exception.patch" - epatch "${FILESDIR}/${PN}-7.2.1-c99.patch" - epatch "${FILESDIR}/${PN}-7.2.1-ptrsize.patch" - epatch "${FILESDIR}/${PN}-7.2.1-string-stream.patch" - epatch "${FILESDIR}/${PN}-7.2.1-multiple-exception.patch" - - # Fix string handling on multiple exceptions patch - epatch "${FILESDIR}/${PN}-7.2.1-string-handling-fix.patch" - - # Fix documentation files - cd "${S}/Documentation" - mv spim.man spim.1 - mv xspim.man xspim.1 -} - -src_compile() { - cd "${S}/spim" - - ./Configure || die "Configure Failed!" - - sed -i \ - -e 's:@make:@$(MAKE):' \ - -e 's:\(BIN_DIR = \).*$:\1\$(DESTDIR)/usr/bin:' \ - -e 's:\(MAN_DIR = \).*$:\1\$(DESTDIR)/usr/share/man:' \ - -e 's:\(EXCEPTION_DIR = \).*$:\1$(DESTDIR)/var/lib/spim:' \ - -e 's:\(^\W*install.*\) exceptions.s \(.*$\):\1 \$(CPU_DIR)/exceptions.s \2:' \ - -e "s:^\W*install.* spim.man .*$::" \ - -e "s:tail -2:tail -n2:" \ - Makefile - - emake CC="$(tc-getCC)" || die - - if use X ; then - cd "${S}/xspim" - - ./Configure || die "Configure Failed!" - - xmkmf || die - - sed -i \ - -e 's:@make:@$(MAKE):' \ - -e "s:\(BIN_DIR = \).*$:\1/usr/bin:" \ - -e "s:\(MAN_DIR = \).*$:\1/usr/share/man:" \ - -e "s:\(EXCEPTION_PATH = \).*$:\1/var/lib/spim/exceptions.s:" \ - Makefile - - emake CC="$(tc-getCC)" -j1 xspim || die - fi -} - -src_test() { - cd "${S}/spim" - make test || die "Failed to pass tests!" -} - -src_install() { - dodir /usr/bin - dodir /usr/share/man - dodir /var/lib/spim - - cd "${S}/spim" - make install DESTDIR="${D}" || die "Unable to install spim" - - if use X ; then - cd "${S}/xspim" - make DESTDIR="${D}" install || die "Unable to install xspim" - fi - - cd "${S}/Documentation" - doman spim.1 - use X && doman xspim.1 - - dohtml SPIM.html - dodoc BLURB - - cd "${S}" - dodoc README VERSION ChangeLog -} diff --git a/app-emulation/spim/spim-7.3.ebuild b/app-emulation/spim/spim-7.3.ebuild deleted file mode 100644 index 13400b573f19..000000000000 --- a/app-emulation/spim/spim-7.3.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/spim-7.3.ebuild,v 1.8 2009/03/20 03:25:56 jmbsvicetto Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="MIPS Simulator" -HOMEPAGE="http://www.cs.wisc.edu/~larus/spim.html" -SRC_URI="http://www.cs.wisc.edu/~larus/SPIM/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="amd64 ppc ~sparc x86" -IUSE="X" -RESTRICT="strip" -RDEPEND="X? ( x11-libs/libXaw - x11-libs/libXp )" -DEPEND="${RDEPEND} - X? ( x11-misc/imake - x11-proto/xproto ) - >=sys-apps/sed-4 - sys-devel/bison" - -src_unpack() { - unpack ${A} - cd "${S}" - - # Fix documentation files - cd "${S}/Documentation" - mv spim.man spim.1 - mv xspim.man xspim.1 -} - -src_compile() { - cd "${S}/spim" - - ./Configure || die "Configure Failed!" - - sed -i \ - -e 's:@make:@$(MAKE):' \ - -e 's:\(BIN_DIR = \).*$:\1\$(DESTDIR)/usr/bin:' \ - -e 's:\(MAN_DIR = \).*$:\1\$(DESTDIR)/usr/share/man:' \ - -e 's:\(EXCEPTION_DIR = \).*$:\1$(DESTDIR)/var/lib/spim:' \ - -e 's:\(^\W*install.*\) exceptions.s \(.*$\):\1 \$(CPU_DIR)/exceptions.s \2:' \ - -e "s:^\W*install.* spim.man .*$::" \ - -e "s:tail -2:tail -n2:" \ - Makefile - - emake CC="$(tc-getCC)" || die - - if use X ; then - cd "${S}/xspim" - - ./Configure || die "Configure Failed!" - - xmkmf || die - - sed -i \ - -e 's:@make:@$(MAKE):' \ - -e "s:\(BIN_DIR = \).*$:\1/usr/bin:" \ - -e "s:\(MAN_DIR = \).*$:\1/usr/share/man:" \ - -e "s:\(EXCEPTION_DIR = \).*$:\1/var/lib/spim:" \ - Makefile - - emake CC="$(tc-getCC)" -j1 xspim || die - fi -} - -src_test() { - cd "${S}/spim" - make test || die "Failed to pass tests!" -} - -src_install() { - dodir /usr/bin - dodir /usr/share/man - dodir /var/lib/spim - - cd "${S}/spim" - make install DESTDIR="${D}" || die "Unable to install spim" - - if use X ; then - cd "${S}/xspim" - make DESTDIR="${D}" install || die "Unable to install xspim" - fi - - cd "${S}/Documentation" - doman spim.1 - use X && doman xspim.1 - - dohtml SPIM.html - dodoc BLURB - - cd "${S}" - dodoc README VERSION ChangeLog -} diff --git a/app-emulation/spim/spim-7.5.ebuild b/app-emulation/spim/spim-7.5.ebuild deleted file mode 100644 index fc36d9eab3e2..000000000000 --- a/app-emulation/spim/spim-7.5.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/spim-7.5.ebuild,v 1.2 2010/01/15 02:27:54 abcd Exp $ - -EAPI="2" - -inherit eutils toolchain-funcs - -DESCRIPTION="MIPS Simulator" -HOMEPAGE="http://www.cs.wisc.edu/~larus/spim.html" -SRC_URI="http://www.cs.wisc.edu/~larus/SPIM/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="X" - -RDEPEND="X? ( x11-libs/libXaw - x11-libs/libXp )" -DEPEND="${RDEPEND} - X? ( x11-misc/imake - x11-proto/xproto ) - >=sys-apps/sed-4 - sys-devel/bison" - -src_prepare() { - # fix bugs 240005 and 243588 - epatch "${FILESDIR}/${P}-respect_env.patch" - tc-export CC - - # Fix documentation files - cd "${S}/Documentation" - mv spim.man spim.1 - mv xspim.man xspim.1 -} - -src_configure() { - cd "${S}/spim" - ./Configure || die "Configure Failed!" - - if use X; then - cd "${S}/xspim" - ./Configure || die "Configure Failed!" - fi -} - -src_compile() { - cd "${S}/spim" - emake || die - - if use X; then - cd "${S}/xspim" - emake -j1 xspim || die - fi -} - -src_install() { - dodir /var/lib/spim || die - dodoc README VERSION ChangeLog || die - - cd "${S}/spim" - emake DESTDIR="${D}" install || die "Unable to install spim" - - if use X; then - cd "${S}/xspim" - emake DESTDIR="${D}" install || die "Unable to install xspim" - - doman "${S}/Documentation/xspim.1" - fi - - cd "${S}/Documentation" - doman spim.1 || die - - dohtml SPIM.html || die - dodoc BLURB || die -} - -src_test() { - cd "${S}/spim" - make test || die "Failed to pass tests!" -} diff --git a/app-emulation/spim/spim-8.0-r1.ebuild b/app-emulation/spim/spim-8.0-r1.ebuild index b7b9d3f029a7..6c65d3a972ab 100644 --- a/app-emulation/spim/spim-8.0-r1.ebuild +++ b/app-emulation/spim/spim-8.0-r1.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/spim-8.0-r1.ebuild,v 1.4 2010/11/08 19:45:03 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/spim-8.0-r1.ebuild,v 1.5 2012/09/26 19:11:25 kensington Exp $ EAPI=3 inherit eutils toolchain-funcs DESCRIPTION="MIPS Simulator" -HOMEPAGE="http://www.cs.wisc.edu/~larus/spim.html" +HOMEPAGE="http://spimsimulator.sourceforge.net/" SRC_URI="http://www.cs.wisc.edu/~larus/SPIM/${P}.tar.gz" LICENSE="as-is" |