These patches seems leftovers, because uClibc-ng was
removed from OpenWrt main repo in 2020 [1].
If someone is uses still uClibc-ng, then these patches
should be upstreamed.
[1] https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=
63fb175203bbf3b336804587c2f5b3a2d8132ec1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
PKG_NAME:=ibrdtnd
PKG_VERSION:=1.0.1
-PKG_RELEASE:=7
+PKG_RELEASE:=8
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases
+++ /dev/null
---- a/src/security/SecurityCertificateManager.cpp
-+++ b/src/security/SecurityCertificateManager.cpp
-@@ -23,6 +23,7 @@
- #include "Configuration.h"
-
- #include <cstdlib>
-+#include <cstring>
-
- #include <ibrcommon/Logger.h>
- #include <ibrcommon/ssl/TLSStream.h>
---- a/src/security/SecurityManager.cpp
-+++ b/src/security/SecurityManager.cpp
-@@ -28,6 +28,7 @@
- #include <ibrdtn/security/PayloadConfidentialBlock.h>
- #include <ibrdtn/security/ExtensionSecurityBlock.h>
- #include <ibrcommon/Logger.h>
-+#include <cstring>
-
- #ifdef __DEVELOPMENT_ASSERTIONS__
- #include <cassert>
PKG_NAME:=uwsgi
PKG_VERSION:=2.0.26
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PYPI_NAME:=uWSGI
PYPI_SOURCE_NAME:=uwsgi
+++ /dev/null
---- a/core/uwsgi.c
-+++ b/core/uwsgi.c
-@@ -1794,7 +1794,7 @@ void uwsgi_plugins_atexit(void) {
-
- void uwsgi_backtrace(int depth) {
-
--#if defined(__GLIBC__) || (defined(__APPLE__) && !defined(NO_EXECINFO)) || defined(UWSGI_HAS_EXECINFO)
-+#if (!defined(__UCLIBC__) && defined(__GLIBC__)) || (defined(__APPLE__) && !defined(NO_EXECINFO)) || defined(UWSGI_HAS_EXECINFO)
-
- #include <execinfo.h>
-
PKG_NAME:=espeak
PKG_VERSION:=1.48.04
-PKG_RELEASE:=4
+PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-source.zip
PKG_SOURCE_URL:=@SF/espeak
+++ /dev/null
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -83,15 +83,15 @@ libespeak_SOURCES = speak_lib.cpp compil
-
- SRCS1=$(speak_SOURCES)
- OBJS1=$(patsubst %.cpp,%.o,$(SRCS1))
--LIBS1=-lstdc++ $(LIB_AUDIO) -lpthread $(EXTRA_LIBS)
-+LIBS1=$(LIB_AUDIO) -lpthread $(EXTRA_LIBS)
-
- SRCS2=$(libespeak_SOURCES)
- OBJS2=$(patsubst %.cpp,x_%.o,$(SRCS2))
--LIBS2=-lstdc++ $(LIB_AUDIO) -lpthread
-+LIBS2=$(LIB_AUDIO) -lpthread
-
- SRCS3 = espeak.cpp
- OBJS3=$(patsubst %.cpp,%.o,$(SRCS3))
--LIBS3=-lstdc++ -L . -lespeak
-+LIBS3=-L . -lespeak
-
- CXXFLAGS=-O2
-
PKG_NAME:=device-observatory
PKG_VERSION:=1.2.0
-PKG_RELEASE:=7
+PKG_RELEASE:=8
PKG_SOURCE_URL:=https://codeload.github.com/mwarning/device-observatory/tar.gz/v$(PKG_VERSION)?
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+++ /dev/null
---- a/src/parse_ether.c
-+++ b/src/parse_ether.c
-@@ -21,10 +21,18 @@
- #include "parse_ether.h"
-
- /* tcpdump header (ether.h) defines ETHER_HDRLEN) */
--#ifndef ETHER_HDRLEN
-+#ifndef ETHER_HDRLEN
- #define ETHER_HDRLEN 14
- #endif
-
-+/* uClibc-ng compatibility */
-+#ifndef IPPROTO_BEETPH
-+#define IPPROTO_BEETPH 94
-+#endif
-+
-+#ifndef IPPROTO_MPLS
-+#define IPPROTO_MPLS 137
-+#endif
-
- const char *ip_protcol_str(int p)
- {