summaryrefslogtreecommitdiff
path: root/dev-libs/bglibs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-10 00:12:21 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-10 00:12:21 +0000
commit3a81cede4783e464b7485722b2eaac0280dbc570 (patch)
tree261618bfbe562244c237d48a7960d4952bc6b318 /dev-libs/bglibs
parentb95a6fd4a7b591baa7cfc689f8ce5643592d07be (diff)
gentoo auto-resync : 10:02:2025 - 00:12:20
Diffstat (limited to 'dev-libs/bglibs')
-rw-r--r--dev-libs/bglibs/Manifest2
-rw-r--r--dev-libs/bglibs/bglibs-2.04-r3.ebuild15
2 files changed, 15 insertions, 2 deletions
diff --git a/dev-libs/bglibs/Manifest b/dev-libs/bglibs/Manifest
index ac410f55cb94..1e80c9470ca0 100644
--- a/dev-libs/bglibs/Manifest
+++ b/dev-libs/bglibs/Manifest
@@ -4,5 +4,5 @@ AUX bglibs-2.04-stack-buffers.patch 1676 BLAKE2B 356ef239c23178b5f07d80776279c0e
DIST bglibs-2.04.tar.gz 713673 BLAKE2B 9e1353b3221ef6a8cfb256ec8616d1e208777b20ecade3e6ae17faca6b42222e18aa601a948e6201139378bf6f8131a2b7a053d77b198176776d42a1af611186 SHA512 094268cad7d4bacf65c0dd3d42fde2e6bac34da0fd6193b1c8202c018e752b3ef80a86c38e687467fb3a4e97130126fe74ee4a86063e4b25ee291de573984a6f
EBUILD bglibs-2.04-r1.ebuild 1685 BLAKE2B eb3335d918ca5dda4e53d114d0afcae126877d05d5bcb54f9d71d3e083de3ca1333ba2973a5186e5ef4a9a69903d74904f383b7f86059a518d48d1b79bfc1c95 SHA512 da66f5c3bce7f52213e487e1372134f064bfc490b579507d02c3b05aa3ac9fcad3a694947a9fd22707a695f204b555cee3fc4bd23f4c303b0184cea5924e8497
EBUILD bglibs-2.04-r2.ebuild 1814 BLAKE2B 855e4de296b025900c4796be3c4efd1bcbcbab28fb5a7075884415477a1c86fde3ccad3fb1275b55a1cca92a9b98fe87be83ab81c8c59dc89631623aa3fda249 SHA512 22f8374b34e2c431582e467af0ef5166ae3a03454710f96b097ccded548e573cee90fd0c12c176ef64de244f3a59d63f7b19d0b1596fcb140d5773ea70653368
-EBUILD bglibs-2.04-r3.ebuild 1910 BLAKE2B e5f82a861766e690ccad567b1f92f3cc340a4d9df613e86f0e64fa4cba4096dbcf643b2d1d97703fdddc3f4859f2dea5f14eedad9a3e782053be7ab47868cecb SHA512 37ecff70605615dde36cafc733d03cd7f5bd1d24f4fd43fd27e9d49aad49d4c2d09931b77e4b6093710f1ed6e6967787583cea19e0547771f4bc3ad17eaeb450
+EBUILD bglibs-2.04-r3.ebuild 2526 BLAKE2B dc4e42d4f9601a1a3e197113096f75f8f7979fa84c5f59f45c8442e18f80ddc5e335a6c1cf8ae99e4eea3957bab28b20dbfaed11d37b9a7fd4538ff2b563f46e SHA512 4c8f4bf6849931a000544491bb9f158f5c1d9bf092358808436ba793eda698f7c04a49303ffe4c0fc3a13b4f22f30c5aa802fa033b155821f2e683443cd4d323
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
diff --git a/dev-libs/bglibs/bglibs-2.04-r3.ebuild b/dev-libs/bglibs/bglibs-2.04-r3.ebuild
index cf69431cce50..1327b6161114 100644
--- a/dev-libs/bglibs/bglibs-2.04-r3.ebuild
+++ b/dev-libs/bglibs/bglibs-2.04-r3.ebuild
@@ -34,9 +34,22 @@ PATCHES=(
src_prepare() {
default
- # disable tests as we want them manually
+
+ # Remove the tests from the default target so that we can run
+ # them only when the user has enabled them.
sed -i '/^all:/s|selftests||' Makefile || die
sed -i '/selftests/d' TARGETS || die
+
+ # The selftests.sh script collects the list of tests to run by
+ # grepping for "#ifdef SELFTEST_MAIN", which is defined in each *.c
+ # file to be tested. We can therefore disable individual tests by
+ # clobbering that line. (This should be safe; the contents of that
+ # ifdef are the test program, which we are disabling anyway.)
+ #
+ # This test requires network access, and currently fails even
+ # if you have it (https://github.com/bruceg/bglibs/issues/5).
+ sed -e 's/#ifdef SELFTEST_MAIN/#ifdef UNDEFINED/' \
+ -i net/resolve_ipv4addr.c || die
}
src_configure() {