summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2019-04-11 21:51:15 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-04-12 09:12:37 +0200
commit1d311c44e85850798e42140c6c89c58536ca8fda (patch)
tree61f5b14866522d3d65615580701361bcbbfd3f3d /patches
parent40d4d42a75782afe029b18787e5c6bf3d6d3e133 (diff)
downloadptxdist-1d311c44e85850798e42140c6c89c58536ca8fda.tar.gz
ptxdist-1d311c44e85850798e42140c6c89c58536ca8fda.tar.xz
liboping: Fix compilation with gcc-8
As gcc-8 added -Werror=format-truncation compilation fails. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/liboping-1.10.0/0001-disable-werror.patch11
-rw-r--r--patches/liboping-1.10.0/series1
2 files changed, 12 insertions, 0 deletions
diff --git a/patches/liboping-1.10.0/0001-disable-werror.patch b/patches/liboping-1.10.0/0001-disable-werror.patch
new file mode 100644
index 000000000..6cf4f3589
--- /dev/null
+++ b/patches/liboping-1.10.0/0001-disable-werror.patch
@@ -0,0 +1,11 @@
+--- liboping-1.10.0/src/Makefile.in.orig 2019-04-09 08:49:58.470387572 +0200
++++ liboping-1.10.0/src/Makefile.in 2019-04-09 08:50:08.080696809 +0200
+@@ -387,7 +387,7 @@
+ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = foreign no-dependencies
+ SUBDIRS = mans
+-@COMPILER_IS_GCC_TRUE@AM_CFLAGS = -Wall -Werror
++@COMPILER_IS_GCC_TRUE@AM_CFLAGS = -Wall
+ include_HEADERS = oping.h
+ lib_LTLIBRARIES = liboping.la
+
diff --git a/patches/liboping-1.10.0/series b/patches/liboping-1.10.0/series
new file mode 100644
index 000000000..c7dbe82e5
--- /dev/null
+++ b/patches/liboping-1.10.0/series
@@ -0,0 +1 @@
+0001-disable-werror.patch