[packages/spice-vdagent] - added ac patch (fix/update custom CFLAGS detection)
qboosh
qboosh at pld-linux.org
Wed Jun 2 22:28:52 CEST 2021
commit db21e3f9404db3b45197676d0640864715583fd1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jun 2 22:31:31 2021 +0200
- added ac patch (fix/update custom CFLAGS detection)
spice-vdagent-ac.patch | 11 +++++++++++
spice-vdagent.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/spice-vdagent.spec b/spice-vdagent.spec
index 361f340..623ffe1 100644
--- a/spice-vdagent.spec
+++ b/spice-vdagent.spec
@@ -14,6 +14,7 @@ Group: X11/Applications
Source0: https://www.spice-space.org/download/releases/%{name}-%{version}.tar.bz2
# Source0-md5: 5e9862775240fc6f35b3109a21006fc6
Patch0: %{name}-tmpfile.patch
+Patch1: %{name}-ac.patch
URL: https://www.spice-space.org/
BuildRequires: alsa-lib-devel >= 1.0.22
BuildRequires: autoconf >= 2.59
@@ -56,6 +57,7 @@ honorujących /etc/xdg/autostart oraz pod GDM-em.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__aclocal}
diff --git a/spice-vdagent-ac.patch b/spice-vdagent-ac.patch
new file mode 100644
index 0000000..7b4d378
--- /dev/null
+++ b/spice-vdagent-ac.patch
@@ -0,0 +1,11 @@
+--- spice-vdagent-0.21.0/configure.ac.orig 2021-01-13 09:52:43.000000000 +0100
++++ spice-vdagent-0.21.0/configure.ac 2021-06-02 22:28:10.273235201 +0200
+@@ -172,7 +172,7 @@
+ fi
+
+ # If no CFLAGS are set, set some sane default CFLAGS
+-if test "$ac_test_CFLAGS" != set; then
++if test -z "$ac_test_CFLAGS"; then
+ DEFAULT_CFLAGS="-Wall -Werror -Wp,-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4"
+ for F in $DEFAULT_CFLAGS; do
+ AC_MSG_CHECKING([whether $CC supports $F])
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/spice-vdagent.git/commitdiff/db21e3f9404db3b45197676d0640864715583fd1
More information about the pld-cvs-commit
mailing list