From patchwork Thu Mar 15 19:37:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 886429 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="GjtByKG+"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 402JlN1KfKz9sVX for ; Fri, 16 Mar 2018 06:37:36 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 748958A2A2; Thu, 15 Mar 2018 19:37:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id edvWJAR0QfUJ; Thu, 15 Mar 2018 19:37:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A489A8A244; Thu, 15 Mar 2018 19:37:28 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 782141C033D for ; Thu, 15 Mar 2018 19:37:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 748C98849F for ; Thu, 15 Mar 2018 19:37:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z_CyjiXpKH7Z for ; Thu, 15 Mar 2018 19:37:24 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 8B5BD8849B for ; Thu, 15 Mar 2018 19:37:24 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id 139so12743871wmn.2 for ; Thu, 15 Mar 2018 12:37:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=LjcYuuyx7CDkayqJpvjgv7UfNWXJr3owdtK8721HGZs=; b=GjtByKG+DrqmK2HmgHHRqUL5+bSpbHrS+iBGFPT/6xttFoIx1soM3aYMDE5AaAfFO5 3JmKMm1QRnmmrA2ifLBAf4VHNpSyyj0jnOZenSW+ZVvz6Fx6JWWB4WJVj7aOUpSc/szI Xdg50gdNvw0iMQh099pOcSkMDAgZFa7pvFApWLdFMl3oyIwdrnNr6LOqR9Q5RT2vgGCJ buAjdEnREmv7OJWq0Amzx0RMbdLOSRQuh4lhXf6q7PGHpW1DRwLt2KYET81imF3oICwa NOcdQntLREeEf6N5G87BfQbUsuzsPLr6Ho3i1mUqbMaEnMOZ3j2YTqt/pb4Z8qRYXJo+ 1TuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=LjcYuuyx7CDkayqJpvjgv7UfNWXJr3owdtK8721HGZs=; b=BOm3OadhTXjZFChJE5UeKftyB+Hda3J/HINk2W/jhAgT8b/OW76enXr/dqmRZvN29b /k81fEHqMQD/taTBwakzhTRZt0Pvq66V+yggg9mQg6bQdmDUnIhdech/5PZj9GBZNzWw ZK1zM9WUXuzA8Jz4gn99ZvU/ggGY4Jir9Qt4QmESyDIZtuVjAGvHRBjvlcyhKM7Rd0d1 IgITatRd5a4lPb5yXv+pma07+VMu9n2pbAHAzxk2aFXbyLRQ230bcfwJlMxrBi3H+EL+ KhWPSZBbMlUH0Y5vnsytY32mh99I1vVTjKqnEsMs+QVHlMzrhP5ihpYWT6z3n7IA5UoC UsGQ== X-Gm-Message-State: AElRT7EhI4xXXLs+dN+GzONY+s2wVDMYRLMz34QEeaTTJ4krUIBqIQPh 4JbGO+ptBd6B+MS+CAoBCsNoSw== X-Google-Smtp-Source: AG47ELtL0RkFqe9d9Eo1aGTxEWza1idO/A0wph5HNUFZeaUutlHt2lwm9JVEpitq4GbMCPsDW42STA== X-Received: by 10.28.37.70 with SMTP id l67mr189020wml.51.1521142642537; Thu, 15 Mar 2018 12:37:22 -0700 (PDT) Received: from fabrice-VirtualBox.home (ARennes-656-1-356-182.w86-214.abo.wanadoo.fr. [86.214.196.182]) by smtp.gmail.com with ESMTPSA id h20sm6666649wrf.65.2018.03.15.12.37.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Mar 2018 12:37:21 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Thu, 15 Mar 2018 20:37:11 +0100 Message-Id: <20180315193711.11437-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH 1/1] safeclib: fix build without wchar and host-doxygen X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add a patch (sent upstream) to add a --disable-doc option Fixes: - http://autobuild.buildroot.net/results/e597843f2bb528da01d1e617929c818613b56cec Signed-off-by: Fabrice Fontaine --- package/safeclib/0001-Add-disable-doc-option.patch | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 package/safeclib/0001-Add-disable-doc-option.patch diff --git a/package/safeclib/0001-Add-disable-doc-option.patch b/package/safeclib/0001-Add-disable-doc-option.patch new file mode 100644 index 0000000000..67c48906f3 --- /dev/null +++ b/package/safeclib/0001-Add-disable-doc-option.patch @@ -0,0 +1,58 @@ +From 0d56b6327f6b652511c3e4c72382f4dc4d194e10 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 15 Mar 2018 20:12:28 +0100 +Subject: [PATCH] Add --disable-doc option + +This option allows the user to disable man pages even if pod2man and +doxygen programs are found + +Signed-off-by: Fabrice Fontaine +--- + Makefile.am | 2 ++ + configure.ac | 10 ++++++++++ + 2 files changed, 12 insertions(+) + +diff --git a/Makefile.am b/Makefile.am +index 0f65c5c1..ce1424bb 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -104,6 +104,7 @@ LIBTOOL_DISTCLEAN_FILES = \ + build-tools/test-driver + DISTCLEANFILES = .version + ++if ENABLE_DOC + MAN1_SOURCES = doc/man/man1/check_for_unsafe_apis.1 + dist_man_MANS = + if HAVE_POD2MAN +@@ -560,6 +561,7 @@ clean-local: + rm -rf $(builddir)/doc/html + rm -rf $(builddir)/doc/man + endif ++endif + + if ENABLE_GCOV + gcov: check +diff --git a/configure.ac b/configure.ac +index 0e4e5eea..33ed7326 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -339,6 +339,16 @@ else + AC_MSG_RESULT([no (default)]) + fi + ++AC_ARG_ENABLE(doc, ++ AS_HELP_STRING([--disable-doc], ++ [disable documentation @<:@default=no@:>@]), ++ [case "${enableval}" in ++ yes) enable_doc=true ;; ++ no) enable_doc=false ;; ++ *) AC_MSG_ERROR([bad value ${enableval} for --enable-doc]) ;; ++ esac], [enable_doc=true]) ++AM_CONDITIONAL(ENABLE_DOC, test "x$enable_doc" = "xtrue") ++ + dnl for windows dllimport. checking pic_flag DLL_EXPORT would be better, + dnl but this is only enabled for the shared objs, and we need it in the config + dnl for our tests. +-- +2.14.1 +