Skip to contentSkip to conversation

wavpack: fetch upstream patch to remove wchar dependency

PATCH New Jörg Krause 2 participants 4 messages Feb 19, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 wavpack: fetch upstream patch to remove wchar dependency

The recent bump to version 5.1.0 added a dependency on wchar:

```
import_id3.c:37:34: error: unknown type name 'wchar_t'
```

This issue has been reported upstream [1] and a fix was commited by upstream to remove the wchar dependency [2].

Fixes:
http://autobuild.buildroot.net/results/9a6/9a693f5b798571917f36cfb7661e2f2638aac550/
http://autobuild.buildroot.net/results/44c/44c8227043045baf4f043da44b8129e43dfff687/
http://autobuild.buildroot.net/results/a80/a80221dcc0860046ebdf0bbf454e056b1e20df83/
.. and more.

The build was successfully tested with the 'br-arm-basic-2017.02-rc1-2-g133c5ac' toolchain.

[1] https://github.com/dbry/WavPack/issues/19
[2] https://github.com/dbry/WavPack/commit/876fc3f3907e871d0938ac6c8c5252f5f31abd1f

---
 package/wavpack/wavpack.hash | 1 +
 package/wavpack/wavpack.mk   | 3 +++
 2 files changed, 4 insertions(+)
package/wavpack/wavpack.hash +1 -0
index 56ba7d839..16ff08cc6 100644
@@ -1,2 +1,3 @@
 # locally computed hash
 sha256  1939627d5358d1da62bc6158d63f7ed12905552f3a799c799ee90296a7612944  wavpack-5.1.0.tar.bz2
+sha256  3890ab081dc6f8ee02161ace180381327031cc24cc6c3d71668367b7e5f6e4be  876fc3f3907e871d0938ac6c8c5252f5f31abd1f.patch
package/wavpack/wavpack.mk +3 -0
index daa0888df..a61350623 100644
@@ -12,6 +12,9 @@ WAVPACK_DEPENDENCIES = $(if $(BR2_ENABLE_LOCALE),,libiconv)
 WAVPACK_LICENSE = BSD-3c
 WAVPACK_LICENSE_FILES = COPYING
 
+# Fetch patch from upstream to remove wchar dependency
+WAVPACK_PATCH = https://github.com/dbry/WavPack/commit/876fc3f3907e871d0938ac6c8c5252f5f31abd1f.patch
+
 ifeq ($(BR2_PACKAGE_LIBICONV),y)
 WAVPACK_CONF_OPTS += LIBS=-liconv
 endif
Signature · 1 line
2.11.1
#1 lore raw

PATCH 2/2 wavpack: properly wrap help text

Wrap help text to fit 72 columns.

---
 package/wavpack/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/wavpack/Config.in +3 -2
index 1ef3e420d..db7b89341 100644
@@ -2,7 +2,8 @@ config BR2_PACKAGE_WAVPACK
 	bool "wavpack"
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	help
-	  WavPack is a completely open audio compression format providing
-	  lossless, high-quality lossy, and a unique hybrid compression mode.
+	  WavPack is a completely open audio compression format
+	  providing lossless, high-quality lossy, and a unique
+	  hybrid compression mode.
 
 	  http://www.wavpack.com/
Signature · 1 line
2.11.1
#3 lore raw

PATCH 1/2 wavpack: fetch upstream patch to remove wchar dependency

In reply to Jörg Krause
Quoted 16 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"J?rg" == J?rg Krause <[email protected]> writes:

The recent bump to version 5.1.0 added a dependency on wchar:

```
import_id3.c:37:34: error: unknown type name 'wchar_t'
```

This issue has been reported upstream [1] and a fix was commited by upstream to remove the wchar dependency [2].

Fixes:
http://autobuild.buildroot.net/results/9a6/9a693f5b798571917f36cfb7661e2f2638aac550/
http://autobuild.buildroot.net/results/44c/44c8227043045baf4f043da44b8129e43dfff687/
http://autobuild.buildroot.net/results/a80/a80221dcc0860046ebdf0bbf454e056b1e20df83/
.. and more.

Quoted 7 lines

The build was successfully tested with the 'br-arm-basic-2017.02-rc1-2-g133c5ac' toolchain.

[1] https://github.com/dbry/WavPack/issues/19
[2] https://github.com/dbry/WavPack/commit/876fc3f3907e871d0938ac6c8c5252f5f31abd1f

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard