znc: update to 1.4
authorJonas Gorski <[email protected]>
Sat, 19 Jul 2014 15:05:54 +0000 (17:05 +0200)
committerJonas Gorski <[email protected]>
Sat, 19 Jul 2014 15:20:36 +0000 (17:20 +0200)
Signed-off-by: Jonas Gorski <[email protected]>
net/znc/Makefile
net/znc/patches/900-remove_cpp11_usage.patch [new file with mode: 0644]

index 349cffbe9f5883cbbe7e316c0e65154be8f400e2..1d73922f4ef820435f866db741c8eb7afdfb576b 100644 (file)
@@ -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 <[email protected]>
 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 (file)
index 0000000..e87730b
--- /dev/null
@@ -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--;