diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-15 11:48:08 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-15 11:48:08 +0100 |
commit | 04fc7f10cec12efb1240344a0090b539e24ad0f3 (patch) | |
tree | 130fb059a6b83e95af28b97b0f55c716d48924bf /media-gfx/gnofract4d | |
parent | 0bec4ab1937eed98ee24e2d48f0cfec46de2fc58 (diff) |
gentoo auto-resync : 15:04:2023 - 11:48:08
Diffstat (limited to 'media-gfx/gnofract4d')
-rw-r--r-- | media-gfx/gnofract4d/Manifest | 3 | ||||
-rw-r--r-- | media-gfx/gnofract4d/files/gnofract4d-4.3_p20221125-clang16.patch | 44 | ||||
-rw-r--r-- | media-gfx/gnofract4d/gnofract4d-4.3_p20221125-r1.ebuild (renamed from media-gfx/gnofract4d/gnofract4d-4.3_p20221125.ebuild) | 4 |
3 files changed, 50 insertions, 1 deletions
diff --git a/media-gfx/gnofract4d/Manifest b/media-gfx/gnofract4d/Manifest index 665dbc339b66..6e2b76e1e0e8 100644 --- a/media-gfx/gnofract4d/Manifest +++ b/media-gfx/gnofract4d/Manifest @@ -1,7 +1,8 @@ +AUX gnofract4d-4.3_p20221125-clang16.patch 2070 BLAKE2B fad88eb8307a3387075f2b7c58b12103474f4a807039261a323759f5c5f9579612d6ef25ab93fab317352ee49ee2c90745c92e0ee1f776721940c95c563f1f71 SHA512 0bcb83dbd5486fbbe6ea683cdd85ce057dfef96203f5f4a6cc8b45d1da07b28da2afcff4d18bb584833c06222de15f8e4851d43949fb7090c580bd45635bd391 DIST gnofract4d-4.3_p20211108.tar.gz 18271921 BLAKE2B b73fef616b8a91827edd514ec128bcb6d63a8fc8f1433989e31bd9f11711a9568a61358dcca23846bff461ef6a8addeae68cc5ab5f4ae29b6e9b2857bdbad2b8 SHA512 0d95f31ac9b1b82bfd459ac896c73bfcffb3b256750093cdccee976839112fcaeb42260c0eb48ef4f30dc0504f5b84cc425f6568997c05639993354756f9ef75 DIST gnofract4d-4.3_p20221114.tar.gz 18275321 BLAKE2B 029babc09810aa2a2fe0a627144bd347cb363666a9412cce067c2ce505fd8d554a3e12058ab74ccc5d1ff29587e96276026e685ee586e3961c92f72b30fe72d5 SHA512 d45183c0dc77959210b512ecfb35a8487ebf103ec5d46f815f4a2e05655ed5cc2f5fd1399f644fd919a459ffdb54dfe32a7745991dd37f527f5b79747aa22618 DIST gnofract4d-4.3_p20221125.tar.gz 18275177 BLAKE2B 24fcd71818a98a3137b485046f295b523884d05ece694e37cf871e1fdaba7b26ac870675895a7a361e5d1fe142b0ae68c720c6e39615226951e8e1af6f57c848 SHA512 75d8d12441a0e2024f0ef125fee5cbe8dcc10c4c48ba366d5529644ae743928b998f85369aafc6e737cb994a82ebdcbe941e11c916c0d0996e785a146469e359 EBUILD gnofract4d-4.3_p20211108.ebuild 1474 BLAKE2B 082b15fe148c31e01455f535fa53f1a4b74c2d011d78b2b9d4e7a9a5c72c146840af2a3f676d5e69e61a3a9b6e3c219d8d3bdbcb8c1c562c6199e1f7d8154069 SHA512 20d32d3c0d0596da82b626e7cf470e1cd200e62d48e86c8275e0716086321e582e34c3805a756c004383dc3265d620dc422655c5536b324ed37d81a8607f0d28 EBUILD gnofract4d-4.3_p20221114.ebuild 1410 BLAKE2B 80abe21f54fdfc63c5d95b4ce3ed1d69d8c46650d9b71755b5bed2417b4b3aafa64f3bb6f88a5d1093639a79e4253b53b520ccef42c8764d10d8a57f699129c4 SHA512 b2fd0d9e865b88d858ba05f48e9cc48cb10d5c238b74f72f75a26793ae7d8eb4d1b832c7e22421a467fd9a6e57bd3f4c2d3d781826af8ebbf3c83506caa4c8f4 -EBUILD gnofract4d-4.3_p20221125.ebuild 1408 BLAKE2B 4fe74239f64cb0d453fe33cdaee7988f8c3be213da94683b619ad79e31477e8b6fc081b88e39aed6c5e817be52a32a90d4e3d58e8e2f7576746d0f696a964a6e SHA512 858e1147e4a048d41b8289aac7669d92e4e7344daedbe08a136b1293a107983a516e923cf660b0f619e2cdf07adc6c8631c37302cc8260fd9bf548d3d0bafe8d +EBUILD gnofract4d-4.3_p20221125-r1.ebuild 1470 BLAKE2B 9316290a45026d2aae523d8e59059fcf08cecf886757c7dd49af0d8532176b6bec30f6e3f01ade36656437be6410502f9486b5f482d7b293df7cbe735d007850 SHA512 030a61800bd923a76e929312a908bc3b45634d891bb48cdd8d605ff23c5ed363293e33e1a9050f74d8e47bc67e787861597e77ee47b6c2171dcc43b056c215ef MISC metadata.xml 474 BLAKE2B 6dcdd891ae9b2b69a1f7a2e3de6bc867894444743825642abddac1701d75bd2ec1542a5e6d4c86b76b2e209ccdc4db53e680692a0e6c7c99c280ff96fe6a13a2 SHA512 7b815ce8a870b158e39845840082ea3a87738d1f7c63b6aee869758deb3475f7f2c1c1f1831bfdc8af911c1f7825c514cf26c76af5bb32464e9fa2a308ba8a05 diff --git a/media-gfx/gnofract4d/files/gnofract4d-4.3_p20221125-clang16.patch b/media-gfx/gnofract4d/files/gnofract4d-4.3_p20221125-clang16.patch new file mode 100644 index 000000000000..3ca2ae35911a --- /dev/null +++ b/media-gfx/gnofract4d/files/gnofract4d-4.3_p20221125-clang16.patch @@ -0,0 +1,44 @@ +https://github.com/fract4d/gnofract4d/pull/254 + +From dd92a4bf2c6e68352203c511f465846e5c96407b Mon Sep 17 00:00:00 2001 +From: Florian Weimer <fweimer@redhat.com> +Date: Fri, 14 Apr 2023 09:33:28 +0200 +Subject: [PATCH] Declare image_lookup, gradient in fract_stdlib.h +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This avoids test failures in generated code with C compilers +that do not support implicit function declartions: + +> raise fracttypes.TranslationError( + "Error reported by C compiler:%s" % output) +E fract4d_compiler.fracttypes.TranslationError: Error reported by C co +mpiler:/tmp/fract4d_4tueiy9c/gnofract4d-cache/fract4d_9ebc1853081db2ea5eb7cce846 +42cd4e.c: In function ‘pf_calc’: +E /tmp/fract4d_4tueiy9c/gnofract4d-cache/fract4d_9ebc1853081db2ea5eb7c +ce84642cd4e.c:282:1: error: implicit declaration of function ‘image_lookup’ +E 282 | image_lookup(t__a_cf1image,z_re,z_im, &t__cf10, &t__cf11, &t +__cf12); +E | ^~~~~~~~~~~~ + + +> raise fracttypes.TranslationError( + "Error reported by C compiler:%s" % output) +E fract4d_compiler.fracttypes.TranslationError: Error reported by C compiler:/tmp/fract4d_4tueiy9c/gnofract4d-cache/fract4d_2ccc81a001cdf717973d45d4cbd12778.c: In function ‘pf_calc’: +E /tmp/fract4d_4tueiy9c/gnofract4d-cache/fract4d_2ccc81a001cdf717973d45d4cbd12778.c:323:1: error: implicit declaration of function ‘gradient’ +E 323 | gradient(t__a__gradient,t__cf09, &t__cf010, &t__cf011, &t__cf012); +E | ^~~~~~~~ +--- a/fract4d/c/fract_stdlib.h ++++ b/fract4d/c/fract_stdlib.h +@@ -52,6 +52,9 @@ extern "C" + double read_float_array_2D(void *array, int x, int y); + int write_float_array_2D(void *array, int x, int y, double val); + ++ void image_lookup(void *im, double x, double y, double *pr, double *pg, double *pb); ++ void gradient(void *grad_object, double index, double *r, double *g, double *b); ++ + #ifdef __cplusplus + } + #endif + diff --git a/media-gfx/gnofract4d/gnofract4d-4.3_p20221125.ebuild b/media-gfx/gnofract4d/gnofract4d-4.3_p20221125-r1.ebuild index 8fc1f112c6e4..2132a58fe933 100644 --- a/media-gfx/gnofract4d/gnofract4d-4.3_p20221125.ebuild +++ b/media-gfx/gnofract4d/gnofract4d-4.3_p20221125-r1.ebuild @@ -38,6 +38,10 @@ distutils_enable_tests pytest S="${WORKDIR}/${PN}-${COMMIT}" +PATCHES=( + "${FILESDIR}"/${PN}-4.3_p20221125-clang16.patch +) + src_prepare() { sed -i -e "s:share/doc/gnofract4d/:share/doc/${PF}/:" setup.py || die |