diff --git a/net/krb5/Makefile b/net/krb5/Makefile index ebeafb261..adaac8ac1 100644 --- a/net/krb5/Makefile +++ b/net/krb5/Makefile @@ -5,7 +5,7 @@ PKG_VERSION:=1.12.1 PKG_RELEASE:=1 PKG_SOURCE:=krb5-$(PKG_VERSION)-signed.tar -PKG_SOURCE_URL:=http://web.mit.edu/kerberos/dist/krb5/$(PKG_VERSION)/ +PKG_SOURCE_URL:=http://web.mit.edu/kerberos/dist/krb5/1.12/ PKG_MD5SUM:=524b1067b619cb5bf780759b6884c3f5 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) @@ -56,7 +56,7 @@ define Build/Prepare # containing source code. tar xf "$(DL_DIR)/$(PKG_SOURCE)" -C "$(BUILD_DIR)" tar xzf "$(BUILD_DIR)/krb5-$(PKG_VERSION).tar.gz" -C "$(BUILD_DIR)" - patch -p1 -d "$(PKG_BUILD_DIR)" < "$(PATCH_DIR)/001-fix-build-warning.patch" + patch -p1 -d "$(PKG_BUILD_DIR)" < "$(PATCH_DIR)/001-fix-build.patch" endef CONFIGURE_PATH = ./src diff --git a/net/krb5/patches/001-fix-build.patch b/net/krb5/patches/001-fix-build.patch new file mode 100644 index 000000000..94effed71 --- /dev/null +++ b/net/krb5/patches/001-fix-build.patch @@ -0,0 +1,12 @@ +diff -u --recursive krb5-1.12.1-vanilla/src/lib/krad/packet.c krb5-1.12.1/src/lib/krad/packet.c +--- krb5-1.12.1-vanilla/src/lib/krad/packet.c 2014-07-18 00:10:11.916603406 -0400 ++++ krb5-1.12.1/src/lib/krad/packet.c 2014-07-18 00:20:23.471574387 -0400 +@@ -253,7 +253,7 @@ + { + krb5_error_code retval; + krad_packet *pkt; +- uchar id; ++ uchar id = 0; + size_t attrset_len; + + pkt = packet_new();