From patchwork Tue Nov 12 05:16:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 179162 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp7628508ilf; Mon, 11 Nov 2019 21:17:35 -0800 (PST) X-Google-Smtp-Source: APXvYqxl19CH42uSe9FEJw0YCpT+bMfIaUxWNytaepkscSXTKDBU7SEbGJZ5RCcUbybMAJiHO5vZ X-Received: by 2002:a17:90a:4e5:: with SMTP id g92mr3945049pjg.94.1573535855810; Mon, 11 Nov 2019 21:17:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573535855; cv=none; d=google.com; s=arc-20160816; b=YBJ0uthkwAbNWn3+7jRnhS/h/1KtV7Y0uPoWh7CjqUAdOvS8G4nM+M9JVfL4SfxMY+ kFhVrEO9lSkd8yDCxmq6dvVd1sFDTMzjuFHjXQpuSpH8t22+djGTZF6yNnHpuTobgxNx dV+zYGW3VJ5maYm6AQ+NVptiMo219BwcOPkbMocTjnq1Ktur8LrntLtq0wef5lWcM1YS n6rZ14rv8P47w9gycGCyy2+pB93RDt3Sdo8KWBF7d/U9uZPICzjSWAyQlmGtSiVWqqgK GCQoQOrDaj07iK+XCQG7FE1M3qUQYHvCOgN+IRCjSWv7Cik1ihvDkEQ5b48XGxKBoAZ2 JeTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=DARgb1oQRfXVRFwB5YutZnhJrLqKqd1lQYfeSCsu4h0=; b=spdInL2J6M2Dwz6XsngDLk+BmclERd39E/w4YLBlZXRw6Ao4e2kROaVLm8gz5wg7H0 RfTkYBdNQsqFkMnDqN574UBFS61a6GXnQjPSFF5mzJbbmWoOOkT/rVm0KuJm0k+7ryxe FQvuT2ny2UXSTpRIbNG1kZ3RTNREuyOwLKAMe8BipLTRgekYb/ZFW+5Ccqob1KzB3dYo DZ7n5L/mxxDIUZrcln8bCDywP2Jzk9Hl/PijVL8cP0JpqrmHiocmYV4YopKF/4rTxdZq l+fUwDw9od/t7ipIz0/JU75rkK5KD6BnB5h/EDQIk/tP0T+OyhKdz41KsUtAqJiw89Mh ILMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=qZOfBnMW; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id a2si1860595pjv.100.2019.11.11.21.17.35; Mon, 11 Nov 2019 21:17:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=qZOfBnMW; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B5D2C7FC1F; Tue, 12 Nov 2019 05:17:32 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by mail.openembedded.org (Postfix) with ESMTP id D8B867FC18 for ; Tue, 12 Nov 2019 05:17:01 +0000 (UTC) Received: by mail-pl1-f193.google.com with SMTP id d29so8860958plj.8 for ; Mon, 11 Nov 2019 21:17:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qVflzA+0Jf0Jvtb2jOzIsnUWsZKutEHLkJeZ/r9fxVw=; b=qZOfBnMWqBFXm5fzPEwITehtAOA8hoMS76q3pwjUtU19vxHXzKLRWDEa8X+cVePBEA PuwVhusY3qlqHjINkYkVODq3zAfOLaZlgnMZWaYwTzV1GXbd8dXqbvpBJ29O0GylK45A 1FI/KEIq7PR32y37ZriOQoc3Pfg6wQh9FMVhdAwxps46RqkkXKbSXCAJcf4/ffmwqaA/ VOGDsdLYX0y+OdACm4VWaKEy/rzxXnq/5Ou6bAnYYHTqkbpRrfcJeg++nQH4bXGn9N9k ZTIjjB5iaTdnI84f2jlG812UKPpenyLN1lt3QMqvDmmwyNj/0J4EYR15cp4ZDTRVV9IB 0Jyw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=qVflzA+0Jf0Jvtb2jOzIsnUWsZKutEHLkJeZ/r9fxVw=; b=BvuMPkuSdtquFmRbi+bzsKDyqX6Mn5gSPzjPhcvc115vl4sNGpCfF3cxqhIxaEkv5c 0Rz3t0yHi5UcW5kv5sGWzaUcV6e2Jk4eOdLrOprYC5KJlQLwkO3Ujchx9XFk1S+zetl8 aHbauA24sLd9LE3tCxGV+6Q07TURZ4mh/nyqBiZ4FueNMqVfRUjZus/VzysdLwHY8O5k F643cuUZC+lHG16dKvMo5OYpwDedUJW9NEipioaMCUcMkMBKU/Z2/FpbK6zckSmvVkBM F7PRrxL0OBebnkitf1qULE3JkDQAA+fe8iTnpr7Y3cAJ5fEqWkGF60hjkWZdugQuUY9P o7/g== X-Gm-Message-State: APjAAAXRp8XSu/oulJzEzBzBBJpXXT6olbfJRn5mBIzKi0VNhD7exjYN E5LJjAc730dJ5oPR2VHXnoTAnq7qFjI= X-Received: by 2002:a17:902:9002:: with SMTP id a2mr29869142plp.133.1573535822480; Mon, 11 Nov 2019 21:17:02 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::a99e]) by smtp.gmail.com with ESMTPSA id j14sm15605886pfi.168.2019.11.11.21.17.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2019 21:17:02 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 11 Nov 2019 21:16:48 -0800 Message-Id: <20191112051648.472467-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191112051648.472467-1-raj.khem@gmail.com> References: <20191112051648.472467-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH] pidgin-sipe: Fix build when time_t is 64bit X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...-consider-64bit-time_t-when-printing.patch | 31 +++++++++++++++++++ .../pidgin/pidgin-sipe_1.25.0.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-support/pidgin/pidgin-sipe/0001-sipe-consider-64bit-time_t-when-printing.patch -- 2.24.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/pidgin/pidgin-sipe/0001-sipe-consider-64bit-time_t-when-printing.patch b/meta-oe/recipes-support/pidgin/pidgin-sipe/0001-sipe-consider-64bit-time_t-when-printing.patch new file mode 100644 index 0000000000..e7a72953da --- /dev/null +++ b/meta-oe/recipes-support/pidgin/pidgin-sipe/0001-sipe-consider-64bit-time_t-when-printing.patch @@ -0,0 +1,31 @@ +From ae6fa551907006c612cca98b87f339d4d6f45e25 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 11 Nov 2019 21:08:11 -0800 +Subject: [PATCH] sipe: consider 64bit time_t when printing + +This helps printing 64bit time_t on 32bit architectures + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + src/core/sipe-utils.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/core/sipe-utils.c b/src/core/sipe-utils.c +index 12ff8d6..d3d4071 100644 +--- a/src/core/sipe-utils.c ++++ b/src/core/sipe-utils.c +@@ -414,8 +414,8 @@ sipe_utils_time_to_str(time_t timestamp) + if (result) + return(result); + +- SIPE_DEBUG_ERROR("sipe_utils_time_to_str: failed to convert %lu to ISO8601 string", +- timestamp); ++ SIPE_DEBUG_ERROR("sipe_utils_time_to_str: failed to convert %lld to ISO8601 string", ++ (long long int)timestamp); + return(g_strdup("")); + } + +-- +2.24.0 + diff --git a/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb b/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb index 1d739874be..7dc63164e3 100644 --- a/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb +++ b/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb @@ -8,6 +8,7 @@ DEPENDS = "pidgin gmime intltool-native glib-2.0-native" inherit autotools gettext pkgconfig SRC_URI = "${SOURCEFORGE_MIRROR}/sipe/pidgin-sipe-${PV}.tar.xz \ + file://0001-sipe-consider-64bit-time_t-when-printing.patch \ " SRC_URI[md5sum] = "0e742f021dc8c3f17435aea05c3e0314"