From 2f8e46865edb6624ad6a06e7b09145aa50c6e241 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Sun, 4 Apr 2021 23:15:22 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/libverto.git#df027ff75fc194c3cc0a42d2134e93a443f25283 --- ...around-libev-not-being-c89-compliant.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Work-around-libev-not-being-c89-compliant.patch diff --git a/Work-around-libev-not-being-c89-compliant.patch b/Work-around-libev-not-being-c89-compliant.patch new file mode 100644 index 0000000..4db981a --- /dev/null +++ b/Work-around-libev-not-being-c89-compliant.patch @@ -0,0 +1,26 @@ +From b6f0579cfd44a7e5b84b8239663a56f346acfc47 Mon Sep 17 00:00:00 2001 +From: Robbie Harwood +Date: Fri, 1 Sep 2017 15:59:49 -0400 +Subject: [PATCH] Work around libev not being c89-compliant + +(cherry picked from commit c57599d7039d2435c306830b2edae999c462befb) +[rharwood@redhat.com: Remove travis files] +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 09ee123..b7b5908 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -7,8 +7,8 @@ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], + [AC_USE_SYSTEM_EXTENSIONS], + [AC_GNU_SOURCE]) + +-AC_PROG_CC_C89 +-for flag in -std=c89 -Wall -Wextra; do ++AC_PROG_CC_C99 ++for flag in -Wall -Wextra; do + AC_TRY_COMPILE([], [return 0;], [CFLAGS="$CFLAGS $flag"],) + done +