protobuf: fix musl build
PATCH 1/1 protobuf: fix musl build
Add upstream patch fixing conflict with musl defined major/minor macros.
Fixes:
http://autobuild.buildroot.net/results/fc5/fc5ea266eecb6ecab011ea3542f0bb680fb8fb3b/
http://autobuild.buildroot.net/results/3b3/3b3fe16978f19e65a6c6dc1712d72cb349eed0d5/
http://autobuild.buildroot.net/results/1da/1dac9d5e49342700036c90ed4785fff7398b8966/
--- package/protobuf/protobuf.hash | 1 + package/protobuf/protobuf.mk | 2 ++ 2 files changed, 3 insertions(+)
package/protobuf/protobuf.hash +1 -0
@@ -1,2 +1,3 @@ # Locally calculated sha256 51d773e4297238b282eaa4c1dd317099675b12eef2b414732b851c00459225c6 protobuf-cpp-3.2.0.tar.gz +sha256 da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3 416f90939d4de58fe1a4e2489120010313183291.patch
package/protobuf/protobuf.mk +2 -0
@@ -19,6 +19,8 @@ PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc PROTOBUF_INSTALL_STAGING = YES +PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch + ifeq ($(BR2_PACKAGE_ZLIB),y) PROTOBUF_DEPENDENCIES += zlib endif
Signature · 1 line
2.11.0
PATCH 1/1 protobuf: fix musl build
Looks good to me.
2017-04-27 17:19 GMT-03:00 Baruch Siach <[email protected]>:
Quoted 38 lines
Add upstream patch fixing conflict with musl defined major/minor macros.
Fixes:
http://autobuild.buildroot.net/results/fc5/fc5ea266eecb6ecab011ea3542f0bb680fb8fb3b/
http://autobuild.buildroot.net/results/3b3/3b3fe16978f19e65a6c6dc1712d72cb349eed0d5/
http://autobuild.buildroot.net/results/1da/1dac9d5e49342700036c90ed4785fff7398b8966/Cc Mario J. Rugiero <[email protected]>Signed-off-by Baruch Siach <[email protected]>--- package/protobuf/protobuf.hash | 1 + package/protobuf/protobuf.mk | 2 ++ 2 files changed, 3 insertions(+)package/protobuf/protobuf.hash +1
-0@@ -1,2 +1,3 @@ # Locally calculated sha256 51d773e4297238b282eaa4c1dd317099675b12eef2b414732b851c00459225c6 protobuf-cpp-3.2.0.tar.gz +sha256 da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3 416f90939d4de58fe1a4e2489120010313183291.patchpackage/protobuf/protobuf.mk +2
-1@@ -19,6 +19,8 @@ PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc PROTOBUF_INSTALL_STAGING = YES +PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch + ifeq ($(BR2_PACKAGE_ZLIB),y) PROTOBUF_DEPENDENCIES += zlib endif --2.11.0
PATCH 1/1 protobuf: fix musl build
Hi Mario,
Quoted 1 line · Mario Rugiero
Looks good to me.
Thanks.
Care to send a formal Acked-by for patchwork to note?
baruch
Quoted 36 lines
2017-04-27 17:19 GMT-03:00 Baruch Siach <[email protected]>:
Quoted 35 lines
Add upstream patch fixing conflict with musl defined major/minor macros.
Fixes:
http://autobuild.buildroot.net/results/fc5/fc5ea266eecb6ecab011ea3542f0bb680fb8fb3b/
http://autobuild.buildroot.net/results/3b3/3b3fe16978f19e65a6c6dc1712d72cb349eed0d5/
http://autobuild.buildroot.net/results/1da/1dac9d5e49342700036c90ed4785fff7398b8966/Cc Mario J. Rugiero <[email protected]>Signed-off-by Baruch Siach <[email protected]>--- package/protobuf/protobuf.hash | 1 + package/protobuf/protobuf.mk | 2 ++ 2 files changed, 3 insertions(+)package/protobuf/protobuf.hash +1
-0@@ -1,2 +1,3 @@ # Locally calculated sha256 51d773e4297238b282eaa4c1dd317099675b12eef2b414732b851c00459225c6 protobuf-cpp-3.2.0.tar.gz +sha256 da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3 416f90939d4de58fe1a4e2489120010313183291.patchpackage/protobuf/protobuf.mk +2
-0@@ -19,6 +19,8 @@ PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc PROTOBUF_INSTALL_STAGING = YES +PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch + ifeq ($(BR2_PACKAGE_ZLIB),y) PROTOBUF_DEPENDENCIES += zlib endif
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -PATCH 1/1 protobuf: fix musl build
2017-04-28 3:24 GMT-03:00 Baruch Siach <[email protected]>:
Quoted 42 lines
Hi Mario,
Quoted 1 line · Mario Rugiero
Looks good to me.
Thanks.
Care to send a formal Acked-by for patchwork to note?
baruch
Quoted 31 lines
2017-04-27 17:19 GMT-03:00 Baruch Siach <[email protected]>:
Quoted 30 lines
Add upstream patch fixing conflict with musl defined major/minor macros.
Fixes:
http://autobuild.buildroot.net/results/fc5/fc5ea266eecb6ecab011ea3542f0bb680fb8fb3b/
http://autobuild.buildroot.net/results/3b3/3b3fe16978f19e65a6c6dc1712d72cb349eed0d5/
http://autobuild.buildroot.net/results/1da/1dac9d5e49342700036c90ed4785fff7398b8966/Cc Mario J. Rugiero <[email protected]>Signed-off-by Baruch Siach <[email protected]>--- package/protobuf/protobuf.hash | 1 + package/protobuf/protobuf.mk | 2 ++ 2 files changed, 3 insertions(+)package/protobuf/protobuf.hash +1
-0@@ -1,2 +1,3 @@ # Locally calculated sha256 51d773e4297238b282eaa4c1dd317099675b12eef2b414732b851c00459225c6 protobuf-cpp-3.2.0.tar.gz +sha256 da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3 416f90939d4de58fe1a4e2489120010313183291.patchpackage/protobuf/protobuf.mk +0
-0@@ -19,6 +19,8 @@ PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc PROTOBUF_INSTALL_STAGING = YES
Quoted 10 lines
Quoted 5 lines
package/protobuf/protobuf.mk PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc · line 26
Quoted 5 lines
package/protobuf/protobuf.mk +2
-0+PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch + ifeq ($(BR2_PACKAGE_ZLIB),y) PROTOBUF_DEPENDENCIES += zlib endif--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
Thomas Petazzoni
AppliedPATCH 1/1 protobuf: fix musl build
In reply to Baruch SiachHello,
Quoted 7 lines · Baruch Siach
Add upstream patch fixing conflict with musl defined major/minor macros.
Fixes:
http://autobuild.buildroot.net/results/fc5/fc5ea266eecb6ecab011ea3542f0bb680fb8fb3b/
http://autobuild.buildroot.net/results/3b3/3b3fe16978f19e65a6c6dc1712d72cb349eed0d5/
http://autobuild.buildroot.net/results/1da/1dac9d5e49342700036c90ed4785fff7398b8966/
Quoted 6 lines
Cc Mario J. Rugiero <[email protected]>Signed-off-by Baruch Siach <[email protected]>--- package/protobuf/protobuf.hash | 1 + package/protobuf/protobuf.mk | 2 ++ 2 files changed, 3 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com