From 272014632fe70cb0af2a3441c9692eadd4140244 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Sat, 19 Jul 2014 17:05:54 +0200 Subject: [PATCH] znc: update to 1.4 Signed-off-by: Jonas Gorski --- net/znc/Makefile | 4 ++-- net/znc/patches/900-remove_cpp11_usage.patch | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 net/znc/patches/900-remove_cpp11_usage.patch diff --git a/net/znc/Makefile b/net/znc/Makefile index 349cffbe9f..1d73922f4e 100644 --- a/net/znc/Makefile +++ b/net/znc/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=znc -PKG_VERSION:=1.2 +PKG_VERSION:=1.4 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://znc.in/releases \ http://znc.in/releases/archive -PKG_MD5SUM:=ef18e5402a82cc3fcab5c2ac5c2e6f3b +PKG_MD5SUM:=630cb74db34d2d5451ba30b47869f6bb PKG_MAINTAINER:=Jonas Gorski PKG_LICENSE:=Apache-2.0 diff --git a/net/znc/patches/900-remove_cpp11_usage.patch b/net/znc/patches/900-remove_cpp11_usage.patch new file mode 100644 index 0000000000..e87730be7a --- /dev/null +++ b/net/znc/patches/900-remove_cpp11_usage.patch @@ -0,0 +1,13 @@ +diff --git a/modules/certauth.cpp b/modules/certauth.cpp +index 61e5687..4857d59 100644 +--- a/modules/certauth.cpp ++++ b/modules/certauth.cpp +@@ -204,7 +204,7 @@ public: + return; + } + +- SCString::const_iterator it2 = it->second.begin(); ++ SCString::iterator it2 = it->second.begin(); + while (id > 1) { + ++it2; + id--;