summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaliy Kirsanov <krokoziabla@gmail.com>2023-07-23 16:57:34 +0300
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-09-12 09:13:36 +0200
commit68bf11d86ea4291ef232923bd66caf860c30122d (patch)
tree99e44279cefd273c0ea157efd79a06b3b7aa90b5
parentdev-python/gssapi: Allow patched cython-3 (diff)
downloadgentoo-68bf11d86ea4291ef232923bd66caf860c30122d.tar.gz
gentoo-68bf11d86ea4291ef232923bd66caf860c30122d.tar.bz2
gentoo-68bf11d86ea4291ef232923bd66caf860c30122d.zip
sci-electronics/spice: remove unnecessary -l argument from ar
Closes: https://bugs.gentoo.org/783192 Closes: https://github.com/gentoo/gentoo/pull/32012 Signed-off-by: Vitaliy Kirsanov <krokoziabla@gmail.com> Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r--sci-electronics/spice/files/spice-3.5.5-arlocal.patch11
-rw-r--r--sci-electronics/spice/spice-3.5.5-r3.ebuild2
2 files changed, 13 insertions, 0 deletions
diff --git a/sci-electronics/spice/files/spice-3.5.5-arlocal.patch b/sci-electronics/spice/files/spice-3.5.5-arlocal.patch
new file mode 100644
index 000000000000..575726fdb7b0
--- /dev/null
+++ b/sci-electronics/spice/files/spice-3.5.5-arlocal.patch
@@ -0,0 +1,11 @@
+--- spice3f5sfix/conf/deaults.orig 2023-07-23 16:26:09.073788130 +0300
++++ spice3f5sfix/conf/defaults 2023-07-23 16:26:36.772571639 +0300
+@@ -173,7 +173,7 @@
+ # spice3 source directory than in /tmp. Set to 'l' (lowercase 'L')
+ # to use the source directory, otherwise leave blank.
+
+-ARLOCAL = l
++ARLOCAL =
+
+ # DEPEND_PROG is the command to generate dependencies from '.c' files
+ # (for "make depend"). Output should be of the form "x11.o: fte.h".
diff --git a/sci-electronics/spice/spice-3.5.5-r3.ebuild b/sci-electronics/spice/spice-3.5.5-r3.ebuild
index c1b8851af6c0..3228789e8fc9 100644
--- a/sci-electronics/spice/spice-3.5.5-r3.ebuild
+++ b/sci-electronics/spice/spice-3.5.5-r3.ebuild
@@ -42,6 +42,8 @@ src_prepare() {
conf/linux || die
sed -i -e "s:head -1:head -n 1:" util/build || die
eapply "${FILESDIR}"/${P}-gcc-4.1.patch
+ # Bug https://bugs.gentoo.org/783192
+ eapply "${FILESDIR}"/${P}-arlocal.patch
# fix possible buffer overflow (bug #339539)
sed -i -e "s:fgets(buf, BSIZE_SP:fgets(buf, sizeof(buf):g" \