bmx7: Fix for mbedtls-3.6.0
authorAxel Neumann <axel@notmail.org>
Sun, 19 May 2024 14:12:09 +0000 (16:12 +0200)
committerAxel Neumann <axel@notmail.org>
Sun, 19 May 2024 14:12:09 +0000 (16:12 +0200)
bmx7/Makefile
bmx7/patches/010-gcc10.patch [deleted file]

index 7813856dc08af08cee1f94a26e4027dd5fd30ab2..3b6c8030da64bca241f45e10ebd6a9c45df13942 100644 (file)
@@ -1,14 +1,21 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bmx7
-PKG_VERSION:=7.1.1
-PKG_RELEASE:=5
+#  PKG_VERSION:=7.1.1
+PKG_VERSION:=r2024051906
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://codeload.github.com/bmx-routing/bmx7/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=5f88df1c95e5cb842a6016bb1604e3e7f6097c63c5c9916edc3c84e96d4f5f65
+PKG_SOURCE_URL:=https://codeload.github.com/bmx-routing/bmx7/tar.gz/v$(PKG_VERSION)?
+PKG_HASH:=5f88df1c95e5cb842a6016bb1604e3e7f6097c63c5c9916edc3c84e96d4f5f65
 
-PKG_MAINTAINER:=Axel Neumann <neumann@cgws.de>
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/bmx-routing/bmx7.git
+PKG_SOURCE_VERSION:=9020896f89006bc5d3487222eefc7ddea9e8b2bd
+PKG_MIRROR_HASH:=skip
+HASH:=skip
+
+PKG_MAINTAINER:=Axel Neumann <axel@notmail.org>
 PKG_LICENSE:=GPL-2.0-or-later
 PKG_LICENSE_FILES:=LICENSE
 
@@ -21,7 +28,6 @@ TARGET_CFLAGS += $(FPIC)
 MAKE_ARGS += EXTRA_CFLAGS="$(TARGET_CFLAGS) \
                                -I. \
                                -I$(STAGING_DIR)/usr/include \
-                               -DCRYPTLIB=MBEDTLS_2_8_0 \
                                -DCORE_LIMIT=20000 \
                                -DTRAFFIC_DUMP \
                                -DNO_TRACE_FUNCTION_CALLS \
diff --git a/bmx7/patches/010-gcc10.patch b/bmx7/patches/010-gcc10.patch
deleted file mode 100644 (file)
index d2b9fcb..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/bmx.h
-+++ b/src/bmx.h
-@@ -290,7 +290,7 @@ enum ADGSN {
- #define SUCCESS 0
- #define FAILURE -1
--const void* FAILURE_PTR;
-+extern const void* FAILURE_PTR;
- #define MAX_SELECT_TIMEOUT_MS 1100 /* MUST be smaller than (1000/2) to fit into max tv_usec */