1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 10:59:13 +02:00
openwrt-packages/libs/libextractor/patches/010-musl.patch
Rosen Penev 26b1cc700a libextractor: update to 1.10
Made two compile options dependent on whether or not the plugins are
selected.

Removed autoreconf as autools files are not being patched.

Added PKG_BUILD_PARALLEL for faster compilation.

Added patch to fix compilation with libjpeg-turbo. libjpeg-turbo can be
fixed to include this API, but it's probably better for size reasons to
patch libextractor instead.

Added -liconv since it seems to be needed for some reason.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-01 23:06:50 +01:00

12 lines
260 B
Diff

--- a/src/common/le_architecture.h
+++ b/src/common/le_architecture.h
@@ -26,6 +26,8 @@
#if WINDOWS
#include <sys/param.h> /* #define BYTE_ORDER */
+#else
+#include <byteswap.h>
#endif
/* This is copied directly from GNUnet headers */