[From nobody Thu Jun 25 05:52:29 2020
Path: news.gmane.org!not-for-mail
From: Jacob Siverskog &lt;jacob@teenageengineering.com&gt;
Newsgroups: gmane.comp.embedded.openwrt.devel
Subject: [PATCH] [packages] protobuf: Bump version,
	fix build errors.
Date: Fri, 13 Jun 2014 08:37:33 +0200
Approved: news@gmane.org
Message-ID: &lt;1402641453-1775-1-git-send-email-jacob@teenageengineering.com&gt;
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=&quot;us-ascii&quot;
Content-Transfer-Encoding: 7bit
X-Trace: ger.gmane.org 1402641501 22161 80.91.229.3 (13 Jun 2014 06:38:21 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 13 Jun 2014 06:38:21 +0000 (UTC)
Cc: openwrt-devel@lists.openwrt.org
To: obconseil@gmail.com
Original-X-From: openwrt-devel-bounces@lists.openwrt.org Fri Jun 13 08:38:16
 2014
Return-path: &lt;openwrt-devel-bounces@lists.openwrt.org&gt;
Envelope-to: gceod-openwrt-devel@m.gmane.org
Original-Received: from arrakis.dune.hu ([78.24.191.176])
 by plane.gmane.org with esmtp (Exim 4.69)
 (envelope-from &lt;openwrt-devel-bounces@lists.openwrt.org&gt;)
 id 1WvL7u-00046Z-Oy
 for gceod-openwrt-devel@m.gmane.org; Fri, 13 Jun 2014 08:38:14 +0200
Original-Received: from arrakis.dune.hu (localhost [127.0.0.1])
 by arrakis.dune.hu (Postfix) with ESMTP id 82CF6280708;
 Fri, 13 Jun 2014 08:36:27 +0200 (CEST)
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu
X-Spam-Level: 
X-Spam-Status: No, score=-101.5 required=5.0 tests=BAYES_00, USER_IN_WHITELIST
 autolearn=unavailable version=3.3.2
Original-Received: from arrakis.dune.hu (localhost [127.0.0.1])
 by arrakis.dune.hu (Postfix) with ESMTP id 0FCB82803B5
 for &lt;openwrt-devel@lists.openwrt.org&gt;; Fri, 13 Jun 2014 08:36:26 +0200 (CEST)
X-policyd-weight: using cached result; rate: -5.5
Original-Received: from mailout01.c03.mtsvc.net (mailout01.c03.mtsvc.net
 [72.47.247.113]) by arrakis.dune.hu (Postfix) with ESMTPS
 for &lt;openwrt-devel@lists.openwrt.org&gt;; Fri, 13 Jun 2014 08:36:19 +0200 (CEST)
Original-Received: from n29.c03.server-system.net ([72.47.224.29])
 by mailout01.c03.mtsvc.net with esmtp (Exim 4.72)
 (envelope-from &lt;jacob@teenageengineering.com&gt;)
 id 1WvL7d-0000iM-6y; Thu, 12 Jun 2014 23:37:57 -0700
Original-Received: from 212-107-146-90.customers.ownit.se
 ([212.107.146.90]:43066
 helo=localhost.localdomain) by n29.c03.server-system.net with esmtpsa
 (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80.1)
 (envelope-from &lt;jacob@teenageengineering.com&gt;)
 id 1WvL7b-0002oq-Fc; Thu, 12 Jun 2014 23:37:57 -0700
X-Mailer: git-send-email 1.8.3.2
X-Authenticated-User: 48231 jacob@teenageengineering.com
X-BeenThere: openwrt-devel@lists.openwrt.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: OpenWrt Development List &lt;openwrt-devel.lists.openwrt.org&gt;
List-Unsubscribe: &lt;https://lists.openwrt.org/cgi-bin/mailman/options/openwrt-devel&gt;, 
 &lt;mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe&gt;
List-Archive: &lt;http://lists.openwrt.org/pipermail/openwrt-devel/&gt;
List-Post: &lt;mailto:openwrt-devel@lists.openwrt.org&gt;
List-Help: &lt;mailto:openwrt-devel-request@lists.openwrt.org?subject=help&gt;
List-Subscribe: &lt;https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel&gt;, 
 &lt;mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe&gt;
Errors-To: openwrt-devel-bounces@lists.openwrt.org
Original-Sender: &quot;openwrt-devel&quot; &lt;openwrt-devel-bounces@lists.openwrt.org&gt;
Xref: news.gmane.org gmane.comp.embedded.openwrt.devel:24886
Archived-At: &lt;http://permalink.gmane.org/gmane.comp.embedded.openwrt.devel/24886&gt;
X-Antivirus: avast! (VPS 141104-1, 04.11.2014), Inbound message
X-Antivirus-Status: Clean

Signed-off-by: Jacob Siverskog &lt;jacob@teenageengineering.com&gt;
---
 libs/protobuf/Makefile | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/libs/protobuf/Makefile b/libs/protobuf/Makefile
index 789c924..e5593c2 100644
--- a/libs/protobuf/Makefile
+++ b/libs/protobuf/Makefile
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=protobuf
-PKG_VERSION:=2.4.1
+PKG_VERSION:=2.5.0
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://protobuf.googlecode.com/files
-PKG_MD5SUM:=ed436802019c9e1f40cc750eaf78f318
+PKG_MD5SUM:=a72001a9067a4c2c4e0e836d0f92ece4
 
 PKG_BUILD_DEPENDS:=protobuf/host
 
@@ -37,7 +37,14 @@ define Package/protobuf/description
  of its internal RPC protocols and file formats.
 endef
 
-CONFIGURE_ARGS += --with-protoc=$(STAGING_DIR_HOST)/bin/protoc
+define Host/Compile
+	$(MAKE) -C $(HOST_BUILD_DIR)
+endef
+
+define Host/Install
+endef
+
+CONFIGURE_ARGS += --with-protoc=$(HOST_BUILD_DIR)/src/protoc
 
 define Build/InstallDev
 	$(INSTALL_DIR) \
-- 
1.8.3.2
]