From patchwork Fri Nov 3 10:30:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 833758 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="QxS7Vm8m"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ySysK2RFmz9s7h for ; Fri, 3 Nov 2017 21:30:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AFBC82CED4; Fri, 3 Nov 2017 10:30:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8rD6EqOpGVcR; Fri, 3 Nov 2017 10:30:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 0B7DB2D10E; Fri, 3 Nov 2017 10:30:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7D7871C2DB8 for ; Fri, 3 Nov 2017 10:30:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7318B87DCC for ; Fri, 3 Nov 2017 10:30:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 517WKps7tttS for ; Fri, 3 Nov 2017 10:30:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9F08B87C88 for ; Fri, 3 Nov 2017 10:30:40 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id r68so518349wmr.1 for ; Fri, 03 Nov 2017 03:30:40 -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=lTmIB17HUbl+CU6UnLlyWcFilgePe5fI2CqXYBE4/oM=; b=QxS7Vm8mybpJlau57j+Uk2PP8QTzgHeCphns3G2cUwTBghkWaNxNwtGFWENKJp9tjc FvYyTxcSilDHRQu1QhxkZyEoDLUK2WTwXjoN5/i+jWfPsx47M8IeUIwHPqnkd53U4Wu7 ZQtnhvn2XjV1OIlnxynWOekF1V59k9e4eeD8WfzhmSamC2PCOtwNhSOHvUP/jx3oVp5s 1R3YkKV+6KZL+byNCaAggXex8ikek57YLhGp8BE9mNNjuEQdePevlsdedF/JTZAwQrW+ +8FcgcpRzNpr1jWSu0OzYfL3yfJ7KvGYtIWWumGwC9ux12aRta4gG+dzSuOlHQE7+4St zz4Q== 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=lTmIB17HUbl+CU6UnLlyWcFilgePe5fI2CqXYBE4/oM=; b=Xbmf85bccSFnKNci86uIMBuTR+vk9QX7gfTQreQdA8YEJ/TgoAERKKArkdIsiXoVEK Y4/sHl4ZoSEqw9OWXu8hLKRS8iQy7eJt/D4pSPNA9aao7S3oxJGvxGRh2oJM3urhr3GL pgYLk5MFV+mLvfLbVmY78ZoNDXur7YoeFrRn4wCVpSVA5y6ODAIwpAParEzLq9e7tGNe R/RN13Z0YqmxNiXQvb7jMHDcrSHy3ZFdg6M5OvflF35WbKpVjdYcwRdt54zEFyFrdDZ6 gReVrJILc0mbyA/MLAJAbmf/jz9h6M//aX6e2AyXJ+W4VO1c6NrR49cPq59OhVNgYa2M f4LA== X-Gm-Message-State: AMCzsaX/M0PP/Uwajg7hsJOiIzUCIpzHqiY61UMF9yc6iX+6OAgilXm/ 8PEOPpJsj3+V87mpXV25YSv8H9PD X-Google-Smtp-Source: ABhQp+SFnrApn9FVVHz8D1eR27NJGSCoXKiHyoG0IdYgwu2Akuvcnmy26Y9D7+/KbwumcwtupGVgeA== X-Received: by 10.80.153.197 with SMTP id n5mr8304778edb.281.1509705038834; Fri, 03 Nov 2017 03:30:38 -0700 (PDT) Received: from localhost.localdomain (185.102.7.84.rev.sfr.net. [84.7.102.185]) by smtp.gmail.com with ESMTPSA id 23sm4670517edx.8.2017.11.03.03.30.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Nov 2017 03:30:37 -0700 (PDT) From: Samuel Martin To: buildroot@buildroot.org Date: Fri, 3 Nov 2017 11:30:33 +0100 Message-Id: <20171103103034.24937-1-s.martin49@gmail.com> X-Mailer: git-send-email 2.15.0 Subject: [Buildroot] [PATCH 1/2] Revert "libiio: Disable IIOD on Blackfin" 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: Paul Cercueil MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This reverts commit 53996bee433f09a91b12aa53b2be0f7d22c0acbe. Commit 93a86b4dec9e73fbe0e186cdde8fb04a36a44762 fixes accept4 support in uclibc on Blackfin, so re-enable iiod on this target. Cc: Paul Cercueil Signed-off-by: Samuel Martin --- package/libiio/Config.in | 5 ----- 1 file changed, 5 deletions(-) diff --git a/package/libiio/Config.in b/package/libiio/Config.in index baa163126a..b58ac7fdb3 100644 --- a/package/libiio/Config.in +++ b/package/libiio/Config.in @@ -53,7 +53,6 @@ config BR2_PACKAGE_LIBIIO_IIOD bool "IIO Daemon" default y depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_bfin select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND help Install the IIO Daemon. @@ -74,10 +73,6 @@ comment "USB support in the IIO Daemon requires libaio, headers >= 3.18" comment "IIO Daemon needs a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_bfin - -comment "IIO Daemon is not yet available on Blackfin" - depends on BR2_bfin config BR2_PACKAGE_LIBIIO_TESTS bool "Install test programs" From patchwork Fri Nov 3 10:30:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 833759 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Hza6jlpT"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ySysQ1k9sz9s7h for ; Fri, 3 Nov 2017 21:30:49 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7F807876BB; Fri, 3 Nov 2017 10:30:47 +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 JZUT2Qcp8YIR; Fri, 3 Nov 2017 10:30:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 67A83876B8; Fri, 3 Nov 2017 10:30:44 +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 840CF1C2DB8 for ; Fri, 3 Nov 2017 10:30:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7EFC1876B8 for ; Fri, 3 Nov 2017 10:30:43 +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 kITkpBIOEPwT for ; Fri, 3 Nov 2017 10:30:42 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 78805876B0 for ; Fri, 3 Nov 2017 10:30:42 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id t139so534560wmt.1 for ; Fri, 03 Nov 2017 03:30:42 -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:in-reply-to:references; bh=jszpq3IK7fu9YEZ04VGUzxNSxwJRwCPEw8pJrI5Qyg4=; b=Hza6jlpTPw0jZGeepcTspxyESZY5892OwPil2+RmtXkE+reyL+BqBWazDSUHVEvvLa is7qzywc9dQCnIQj+zCVJmYMYng7PxNE/B9ArhoUNgHg216O1UEy76RjGk0ByAFrcoMd Il7+uBQT6Ksxydf9TxUJBJuDLk6r3STQmzuO7UyQUg+mAG4DN+CFSGWEQcf9qpvmUMOV 4o2FCyI/RoejTag1ly33uooUeAi8kDsKLBc360sv0K45XaJ0ZNSIiUyx6ggBrdhXVn51 XDfobuoOD2SbjxOlmEd4cVVF/Umi1GxzSIry7Gx+t/Yawo5SZITVxfCMQnXSvnuY1yO6 BMyA== 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; bh=jszpq3IK7fu9YEZ04VGUzxNSxwJRwCPEw8pJrI5Qyg4=; b=WZEDbqpRYUHs0N9pHrfzvgOd+P7mQFw0D70FZbcOnJy+p915TqYk1AMHthQJ7q1gku FLDOjgC3OGdvt7a7M0Wn5fKbbKRXHzwOMTB3vQ5jP3HdFuqM+DTe4HNu6yPXCA7vIDiK kbg6uk0l4pQb+k4DcTRrknlfRriqoxqRB09ltS9wtDpVzA9F9nnfr5xdOPhV8q8ViOt+ 96iUihWHnlmIw9+ZxR64IxAe6BXNa17T2cN4wHY1v/cnoKJC//Ph3eSc1P+U49oqcydw DnNMV9WK4VidqdsAaZSXSguwHF4bBVSCFxY5mQRNj9EJecYvY2JD8XXd5wPa/IipPcJ0 X1/g== X-Gm-Message-State: AMCzsaVuQFAU5QIn43FxakCAR79jn6zi8zOpU7FrLn/rpNXLdZ4yTA9u dnLZaGibTflD2fyjI/hYkup40bUa X-Google-Smtp-Source: ABhQp+SJZz62KJiQqYoLSpUEq6PiZGDzdBvc+HJie1wafpN0lUOgPlwFCEg24tKoan+oRjblubZ5Gg== X-Received: by 10.80.157.141 with SMTP id w13mr8567906ede.151.1509705040491; Fri, 03 Nov 2017 03:30:40 -0700 (PDT) Received: from localhost.localdomain (185.102.7.84.rev.sfr.net. [84.7.102.185]) by smtp.gmail.com with ESMTPSA id 23sm4670517edx.8.2017.11.03.03.30.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Nov 2017 03:30:39 -0700 (PDT) From: Samuel Martin To: buildroot@buildroot.org Date: Fri, 3 Nov 2017 11:30:34 +0100 Message-Id: <20171103103034.24937-2-s.martin49@gmail.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171103103034.24937-1-s.martin49@gmail.com> References: <20171103103034.24937-1-s.martin49@gmail.com> Subject: [Buildroot] [PATCH 2/2] package/ussp-push: add patches fixing the build 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: http://autobuild.buildroot.net/results/bdd932424a45399836f27c435d6f1f6fb8b97c29 http://autobuild.buildroot.net/results/287b7d35d64d72cbc587192cce1271bda9647608 http://autobuild.buildroot.net/results/82e1484d9a43df7387137a1bd679a4d74d460a79 Signed-off-by: Samuel Martin --- .../0002-fix-build-again-obex-bluez.patch | 28 +++++++++++++ .../ussp-push/0003-add-OBEX_CharToUnicode.patch | 47 ++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 package/ussp-push/0002-fix-build-again-obex-bluez.patch create mode 100644 package/ussp-push/0003-add-OBEX_CharToUnicode.patch diff --git a/package/ussp-push/0002-fix-build-again-obex-bluez.patch b/package/ussp-push/0002-fix-build-again-obex-bluez.patch new file mode 100644 index 0000000000..e98fe6ef13 --- /dev/null +++ b/package/ussp-push/0002-fix-build-again-obex-bluez.patch @@ -0,0 +1,28 @@ +From 2d732026044d8e6cd16465ee87a73ac9692c021b Mon Sep 17 00:00:00 2001 +From: Samuel Martin +Date: Fri, 3 Nov 2017 09:04:12 +0100 +Subject: [PATCH] fix build again obex/bluez + +[fetch from debian source: http://http.debian.net/debian/pool/main/u/ussp-push/ussp-push_0.11-4.debian.tar.xz] + +Signed-off-by: Samuel Martin +--- + src/obex_main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/obex_main.c b/src/obex_main.c +index a7126e6..6233d7e 100644 +--- a/src/obex_main.c ++++ b/src/obex_main.c +@@ -197,7 +197,7 @@ obex_t *__obex_connect(int devid, void *addr, int timeout, int *err) + *err = -1; + return NULL; + } +- if (!(handle = OBEX_Init(OBEX_TRANS_CUST, obex_event, 0))) { ++ if (!(handle = OBEX_Init(OBEX_TRANS_CUSTOM, obex_event, 0))) { + BTERROR("OBEX_Init failed: %s\n", strerror(errno)); + obex_free(gt); + *err = -1; +-- +2.15.0 + diff --git a/package/ussp-push/0003-add-OBEX_CharToUnicode.patch b/package/ussp-push/0003-add-OBEX_CharToUnicode.patch new file mode 100644 index 0000000000..a660b5526b --- /dev/null +++ b/package/ussp-push/0003-add-OBEX_CharToUnicode.patch @@ -0,0 +1,47 @@ +From eafac77d76d2a23c191a56f715d6c4afc0800da8 Mon Sep 17 00:00:00 2001 +From: Samuel Martin +Date: Fri, 3 Nov 2017 09:10:01 +0100 +Subject: [PATCH] add OBEX_CharToUnicode + +[fetch from debian source: http://http.debian.net/debian/pool/main/u/ussp-push/ussp-push_0.11-4.debian.tar.xz] + +Signed-off-by: Samuel Martin +--- + src/obex_main.c | 20 ++++++++++++++++++++ + 1 file changed, 20 insertions(+) + +diff --git a/src/obex_main.c b/src/obex_main.c +index 6233d7e..971cc37 100644 +--- a/src/obex_main.c ++++ b/src/obex_main.c +@@ -84,7 +84,27 @@ void request_done(obex_t * handle, obex_object_t * object, int obex_cmd, int obe + + int bt_debug; + ++static int OBEX_CharToUnicode(uint8_t *uc, const uint8_t *c, int size) ++{ ++ int len, n; ++ ++ if (uc == NULL || c == NULL) ++ return -1; ++ ++ len = n = strlen((char *) c); ++ if (n*2+2 > size) ++ return -1; ++ ++ uc[n*2+1] = 0; ++ uc[n*2] = 0; + ++ while (n--) { ++ uc[n*2+1] = c[n]; ++ uc[n*2] = 0; ++ } ++ ++ return (len * 2) + 2; ++} + + /* + * These two functions are from affix/profiles/obex/obex_io.c +-- +2.15.0 +