diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-15 06:47:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-15 06:47:25 +0000 |
commit | bc5dfb0671fb08c7da579b38b0e6abdd19da103f (patch) | |
tree | 1be81dbc48e2e0ec0cc322ab3062f1c56edd88be /media-libs/libnsgif | |
parent | 4614848cbaec61bd1083af01a41f39c3b4a9e274 (diff) |
gentoo auto-resync : 15:03:2024 - 06:47:25
Diffstat (limited to 'media-libs/libnsgif')
-rw-r--r-- | media-libs/libnsgif/Manifest | 5 | ||||
-rw-r--r-- | media-libs/libnsgif/files/libnsgif-1.0.0-make-test-failures-fatal.patch | 27 | ||||
-rw-r--r-- | media-libs/libnsgif/libnsgif-1.0.0-r1.ebuild | 6 | ||||
-rw-r--r-- | media-libs/libnsgif/libnsgif-9999.ebuild | 6 |
4 files changed, 42 insertions, 2 deletions
diff --git a/media-libs/libnsgif/Manifest b/media-libs/libnsgif/Manifest index 5335889655c7..bc4bf1ef5b85 100644 --- a/media-libs/libnsgif/Manifest +++ b/media-libs/libnsgif/Manifest @@ -1,6 +1,7 @@ +AUX libnsgif-1.0.0-make-test-failures-fatal.patch 811 BLAKE2B e9903cb713d2c8739742f7bac5459992569494c5c304914814fabd2712d4e0c22ce0b4e035911546b355fae9d299874e54bfe7f8d6150c6c87544b46dc19186c SHA512 73a17081ac8a7c5242caffe20cae128a382910bbe053c5332a8cf156c3ad2931306adf332a65a8e772755009082e5d27cc0e35260d8a30538509fa35c1b05716 DIST libnsgif-0.2.1-src.tar.gz 268328 BLAKE2B ccebd1830db1caa016ebc0c1f2c421523963df16e38cdf85c5300d2a9a325dc9c52c89c79ccbddbc315535a20607458bbfedcde8df02b5e2977d383cd6603220 SHA512 29affce6de38574103a9777e741a44b448145d96ef63e4b86056f268c5d1389f6c5f25240a9f3ef2208fab229eabef2542f3d7ce7b37a0137071f204fbd736af DIST libnsgif-1.0.0-src.tar.gz 282568 BLAKE2B bc104972b94b6b7b62fa9740f8d742fc5124d4cc55240b3483cbe72ce0ac3972fc0917397f0cfade6abdb579084f454bd8919c5391281b738dfb3dcb0d9d28e9 SHA512 e87d5faaa4f586a098357a23bed58a8a7a79c94549b21c3338dd04bd5e074e93a7719d93d79515287b15514a2cf39aaa2abd88fd9aec8785a27594ee5cc2ddc0 EBUILD libnsgif-0.2.1-r3.ebuild 821 BLAKE2B fb63e53047da67e4c825e5c8bb9f8cdbd20f0a532f68a9782e8b3ac6a0a869083dba39e1802e814e0af7b0c88ffcd0cc2f17e95e9d0e8cbd22885e9fe8b11c9f SHA512 80c05c5c1162a7710fd3f1fd3b59668ce7fbc82dc1387eb357e61d50285e76947d917dc109e7e0a3caf6040d01b7affd036eee27f5262b65ef2abf84f512ead8 -EBUILD libnsgif-1.0.0-r1.ebuild 931 BLAKE2B fe0392c71bec6fcfdb395f1c2240de2d5c1edda50112217f3d095326ca3c3529f8ceceb21d70f3bf6edd3966f314bc36fbeb0025669870eb07f8436029b8f73c SHA512 2d2466b89223014c6160e04e2642ee8696ea3d838afaf36ae0da18478bfc41f2fff74c3a08bd10af174ab2388a81edac9543ef90280ebb6b983b7d499a379aae -EBUILD libnsgif-9999.ebuild 624 BLAKE2B 278096f43f7ac5d75636974681a791e1f949cd46c125468e1d8fd36cd5868bbfd4dcf189b750687763bb85d5ee0011b233ef5aa7fc2ecd314b0e3564507e43c2 SHA512 918031e1d39997059a45c1e44e41a3601bde608da37221ecd3895ebc153c2183394b381c4b6fb656b191bc22d641dbab71eedbe86aa061f21745fa5d8949798b +EBUILD libnsgif-1.0.0-r1.ebuild 1030 BLAKE2B 3eb73396c687059d22d9eaa74971ef7dbb7af647c8b9eeef0d7dde9c47993f259f5e82c1674f1ce1a818c3fcb00ae94880e7601e9f53d6326882a4077a12c4fc SHA512 19c3c5b9a3734768d511a68ccdce66f7563a01cf20e52d1f61bccbf540980be265af267a332beb3601517974f99a43f8106a29abcf3c296a4344c5cd32124683 +EBUILD libnsgif-9999.ebuild 723 BLAKE2B 39aec309904d722fd77a3a41f9990342fbfb847fd85ff9da1faace60b806f6b5a36b6409b5441d889e8ea41e43b9a7f78b530509f4f28742a3f050cf6dca2aee SHA512 4ed4612dcad44cabed288227b9af1d2c6d1339f5db041fbc53f149f74cc00276de01f8490b4134f2b29c577785b0853d99881b8e1d7a545024cae2ae2a6b3000 MISC metadata.xml 253 BLAKE2B 63a51cab94d3e978d2c7dd1d124efd1c9e11c5ae277806a1f12359b2db370c37382fc1947e85940f6b0a439e3d49eecdd8d9bfb96587352d6a83803d2fd40bb6 SHA512 8da7cfe0cd26a54c106f2c029bbde93abf77576835e4fa66bc538dcf12fd41160f7cc2dd843a221962bb9a6f965311c076a1557caa38d503f371569b84841e33 diff --git a/media-libs/libnsgif/files/libnsgif-1.0.0-make-test-failures-fatal.patch b/media-libs/libnsgif/files/libnsgif-1.0.0-make-test-failures-fatal.patch new file mode 100644 index 000000000000..3225587da399 --- /dev/null +++ b/media-libs/libnsgif/files/libnsgif-1.0.0-make-test-failures-fatal.patch @@ -0,0 +1,27 @@ +https://bugs.gentoo.org/918642 +https://github.com/gentoo/gentoo/pull/35142 + +commit 6537507d754ad049dbdc324ec6bdea8b30416d48 +Author: matoro <matoro@users.noreply.github.com> +Date: Fri Feb 16 12:44:14 2024 -0500 + + test: nsgif: make failing tests fatal + + Right now, failing or erroring tests is not currently considered fatal. + This makes any instance of either fatal. + + See: https://github.com/gentoo/gentoo/pull/35142 + +diff --git a/test/runtest.sh b/test/runtest.sh +index fd84847..ef7274c 100755 +--- a/test/runtest.sh ++++ b/test/runtest.sh +@@ -68,7 +68,7 @@ done + echo "Tests:${GIFTESTTOTC} Pass:${GIFTESTPASSC} Fail:${GIFTESTFAILC} Error:${GIFTESTERRC}" + + # exit code +-if [ "${GIFTESTERRC}" -gt 0 ]; then ++if [ "${GIFTESTERRC}" -gt 0 ] || [ "${GIFTESTFAILC}" -gt 0 ]; then + exit 1 + fi + diff --git a/media-libs/libnsgif/libnsgif-1.0.0-r1.ebuild b/media-libs/libnsgif/libnsgif-1.0.0-r1.ebuild index f088e76b8618..0b43eedea1c8 100644 --- a/media-libs/libnsgif/libnsgif-1.0.0-r1.ebuild +++ b/media-libs/libnsgif/libnsgif-1.0.0-r1.ebuild @@ -20,6 +20,8 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( "${FILESDIR}/${PN}-1.0.0-make-test-failures-fatal.patch" ) + src_prepare() { default sed -e '1i#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"' \ @@ -35,6 +37,10 @@ src_compile() { _emake } +src_test() { + _emake test +} + src_install() { _emake DESTDIR="${D}" install } diff --git a/media-libs/libnsgif/libnsgif-9999.ebuild b/media-libs/libnsgif/libnsgif-9999.ebuild index cd94d79787e7..e6c6693cccc1 100644 --- a/media-libs/libnsgif/libnsgif-9999.ebuild +++ b/media-libs/libnsgif/libnsgif-9999.ebuild @@ -17,6 +17,8 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( "${FILESDIR}/${PN}-1.0.0-make-test-failures-fatal.patch" ) + src_prepare() { default } @@ -30,6 +32,10 @@ src_compile() { _emake } +src_test() { + _emake test +} + src_install() { _emake DESTDIR="${D}" install } |