From ea8d45d0af255a103c0e131952ec7996487df92d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 2 Nov 2012 12:01:33 +0000 Subject: [PATCH] ez-ipudate: fix broken endian detection on uClibc SVN-Revision: 34057 --- net/ez-ipupdate/Makefile | 2 +- net/ez-ipupdate/patches/005-endian-detection.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/ez-ipupdate/patches/005-endian-detection.patch diff --git a/net/ez-ipupdate/Makefile b/net/ez-ipupdate/Makefile index 5a5b890fef..795dc1c9ec 100644 --- a/net/ez-ipupdate/Makefile +++ b/net/ez-ipupdate/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ez-ipupdate PKG_VERSION:=3.0.11b8 -PKG_RELEASE:=7 +PKG_RELEASE:=8 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/e/ez-ipupdate \ diff --git a/net/ez-ipupdate/patches/005-endian-detection.patch b/net/ez-ipupdate/patches/005-endian-detection.patch new file mode 100644 index 0000000000..9efabc65f2 --- /dev/null +++ b/net/ez-ipupdate/patches/005-endian-detection.patch @@ -0,0 +1,11 @@ +--- a/md5.c ++++ b/md5.c +@@ -35,7 +35,7 @@ + + #include "md5.h" + +-#ifdef _LIBC ++#if defined(_LIBC) || defined(__UCLIBC__) + # include + # if __BYTE_ORDER == __BIG_ENDIAN + # define WORDS_BIGENDIAN 1 -- 2.30.2