summaryrefslogtreecommitdiff
path: root/user/libverto/001-libev-not-compliant-c89.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/libverto/001-libev-not-compliant-c89.patch')
-rw-r--r--user/libverto/001-libev-not-compliant-c89.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/libverto/001-libev-not-compliant-c89.patch b/user/libverto/001-libev-not-compliant-c89.patch
new file mode 100644
index 000000000..502aefe98
--- /dev/null
+++ b/user/libverto/001-libev-not-compliant-c89.patch
@@ -0,0 +1,15 @@
+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
+