]> git.pld-linux.org Git - packages/lxc.git/commitdiff
- disable Werror due to new glibc/gcc warnnings, rel 3 auto/th/lxc-4.0.8-3
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 5 Oct 2021 21:16:30 +0000 (23:16 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 5 Oct 2021 21:16:30 +0000 (23:16 +0200)
lxc.spec
no-Werror.patch [new file with mode: 0644]

index ed07fd4f67208b8cb58024bc76fe9bca5f1aead6..41de09e93783fdbed5b3e953e204b97a94c1738a 100644 (file)
--- a/lxc.spec
+++ b/lxc.spec
@@ -14,7 +14,7 @@ Summary:      Linux Containers userspace tools
 Summary(pl.UTF-8):     Narzędzia do kontenerów linuksowych (LXC)
 Name:          lxc
 Version:       4.0.8
-Release:       2
+Release:       3
 License:       LGPL v2.1+
 Group:         Applications/System
 Source0:       https://linuxcontainers.org/downloads/lxc/%{name}-%{version}.tar.gz
@@ -25,6 +25,7 @@ Source2:      %{name}_macvlan.sysconfig
 Source3:       %{name}_macvlan
 Patch1:                %{name}-net.patch
 Patch2:                x32.patch
+Patch3:                no-Werror.patch
 URL:           https://www.linuxcontainers.org/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -157,6 +158,7 @@ bashowe uzupełnianie nazw dla LXC.
 %setup -q
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 cp -p %{SOURCE1} templates/lxc-pld.in
 
diff --git a/no-Werror.patch b/no-Werror.patch
new file mode 100644 (file)
index 0000000..dddf1b7
--- /dev/null
@@ -0,0 +1,20 @@
+--- lxc-4.0.8/configure.ac~    2021-04-30 20:16:25.000000000 +0200
++++ lxc-4.0.8/configure.ac     2021-10-05 23:12:29.650523023 +0200
+@@ -39,7 +39,7 @@
+ AC_CONFIG_SRCDIR([configure.ac])
+ AC_CONFIG_AUX_DIR([config])
+ AC_CONFIG_HEADERS([src/config.h])
+-AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability subdir-objects])
++AM_INIT_AUTOMAKE([-Wall -Wno-portability subdir-objects])
+ AC_CANONICAL_HOST
+ AM_PROG_CC_C_O
+ AC_USE_SYSTEM_EXTENSIONS
+@@ -838,7 +838,7 @@
+ CFLAGS="$CFLAGS -Wvla -std=gnu11 -fms-extensions"
+ if test "x$enable_werror" = "xyes"; then
+-      CFLAGS="$CFLAGS -Werror"
++      CFLAGS="$CFLAGS"
+ fi
+ AC_ARG_ENABLE([thread-safety],
This page took 0.075474 seconds and 4 git commands to generate.