From patchwork Fri Jul 19 17:14:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilles Talis X-Patchwork-Id: 1134214 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="XEUEnCLS"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45qyLF2NWfz9s3Z for ; Sat, 20 Jul 2019 03:15:01 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B9AFB883C0; Fri, 19 Jul 2019 17:14:58 +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 yhOxiFR3KVDZ; Fri, 19 Jul 2019 17:14:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 25E04883C1; Fri, 19 Jul 2019 17:14:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id C3B591BF82B for ; Fri, 19 Jul 2019 17:14:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C10AA883C0 for ; Fri, 19 Jul 2019 17:14:56 +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 L1K8VTK2lexo for ; Fri, 19 Jul 2019 17:14:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by hemlock.osuosl.org (Postfix) with ESMTPS id 192AE87EE8 for ; Fri, 19 Jul 2019 17:14:56 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id z1so32943207wru.13 for ; Fri, 19 Jul 2019 10:14:56 -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=cbJXxTircMz293y8+hTaA1GZGkQizmONEk9yUrZD3IE=; b=XEUEnCLSOdF4yybFbjIXIfRaKxoFrmR93sUU7EN70xd4TfbxTGNIpaxlunU2wodIEh vygNbFNscAS5c7NkDxVgFZEwuUEolOADIeJN7GG6HBVjYeKfkHvg4XHm47d1Yb7WWhlw E89uSJYsev6QrWN2fuLepA6mVCYeLqUplUaDph4ex55bCSxPIC7nAlHZSyEYQmC/hH2z m5h6yGVyKwS0wb/jxQibDAMa1WtjIBuMxgp1OfxDOPVIYqEx/4BzLzQgLB7x1mpGxjY1 J18sufoxRmqgXi24Z8ebpGsXL7Pafd5UC3OYqsQesbFkAHNSFkgj5k/ZyDFce1W3UiNc pIPA== 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=cbJXxTircMz293y8+hTaA1GZGkQizmONEk9yUrZD3IE=; b=KTu58uxQCBhNcWzgdAdFsa+J+72XMqKn1DYQfMTBe3qB1flGaztd/gMAJmY698Q5Tn Lkk6CrMcZGvFUPcYEDG5hs38K1wsSyW9SthBQgdbNenSLaFhwk0lyq+wnhmw+Mz7Afe5 F88GmQxzTxLWbmT0OWTpnnQ819ybJq1xfN/Ta0pc0rT1NrordORSCBd+0EvtavCtL5Am Le/Dh+1YwCtuaEi2pjmnZHh9s6qnpdOrTyryjIhh5Z0b66ByvsLIB2GjvQCT7OqX4LQx +w6qy/sOpiH9oTDz4gebkYR2b0Ub6s1itrlEu8R4iu+F0h7neYbRLTYDDKId/qsE443x swNQ== X-Gm-Message-State: APjAAAW+ZMOlOi8OBpByvXpyDQheFTidUWtG8FXJ/wsTyxikvS9Rj0h8 bXlKIfZDCvBQMCCfekHxM3SKgY0Y X-Google-Smtp-Source: APXvYqzZoWDdqNDGLdoDM4OMfE+2rZ9yMSakVQyHsp9+ULg/VJWg5/vs29/KyGE79Tc0uykd5H4ofQ== X-Received: by 2002:adf:de8b:: with SMTP id w11mr57544763wrl.134.1563556494462; Fri, 19 Jul 2019 10:14:54 -0700 (PDT) Received: from gilles-Gazelle-Professional.home ([2a01:cb1d:b6:bd00:c993:6d8a:6333:b5ab]) by smtp.gmail.com with ESMTPSA id u1sm30218053wml.14.2019.07.19.10.14.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 Jul 2019 10:14:53 -0700 (PDT) From: Gilles Talis To: buildroot@buildroot.org Date: Fri, 19 Jul 2019 19:14:42 +0200 Message-Id: <1563556482-2308-1-git-send-email-gilles.talis@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH] package/tesseract-ocr: fix build on musl X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gilles Talis MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes autobuild failures like: - http://autobuild.buildroot.net/results/e47da689b4a2912b626f5d31086f6414e3e53774/ Signed-off-by: Gilles Talis --- .../0001-Fix-timeval-structure-build-failure.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/tesseract-ocr/0001-Fix-timeval-structure-build-failure.patch diff --git a/package/tesseract-ocr/0001-Fix-timeval-structure-build-failure.patch b/package/tesseract-ocr/0001-Fix-timeval-structure-build-failure.patch new file mode 100644 index 0000000..0b0bb1a --- /dev/null +++ b/package/tesseract-ocr/0001-Fix-timeval-structure-build-failure.patch @@ -0,0 +1,27 @@ +From ea1e1ddfc0af9966a0c613a93087bc3e0a5979a7 Mon Sep 17 00:00:00 2001 +From: Gilles Talis +Date: Fri, 19 Jul 2019 18:52:03 +0200 +Subject: [PATCH] Fix timeval structure build failure + +timeval structure definition requires to be included + +Signed-off-by: Gilles Talis +--- + src/ccutil/ocrclass.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/ccutil/ocrclass.h b/src/ccutil/ocrclass.h +index d39a6dd..2a01118 100644 +--- a/src/ccutil/ocrclass.h ++++ b/src/ccutil/ocrclass.h +@@ -28,6 +28,7 @@ + + #include + #include ++#include + #ifdef _WIN32 + #include // for timeval + #endif +-- +2.7.4 +