mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ladislav Michl <ladis@linux-mips.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 2/2] liboping: Fix compilation with gcc-8
Date: Thu, 11 Apr 2019 21:51:15 +0200	[thread overview]
Message-ID: <20190411195115.GB628@lenoch> (raw)
In-Reply-To: <20190411195018.GA628@lenoch>

As gcc-8 added -Werror=format-truncation compilation fails.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
 patches/liboping-1.10.0/0001-disable-werror.patch | 11 +++++++++++
 patches/liboping-1.10.0/series                    |  1 +
 2 files changed, 12 insertions(+)
 create mode 100644 patches/liboping-1.10.0/0001-disable-werror.patch
 create mode 100644 patches/liboping-1.10.0/series

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
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2019-04-11 19:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-11 19:50 [ptxdist] [PATCH 1/2] liboping: version bump 1.9.0 -> 1.10.0 Ladislav Michl
2019-04-11 19:51 ` Ladislav Michl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190411195115.GB628@lenoch \
    --to=ladis@linux-mips.org \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox