From 8c95cf3a126061b8df495efde56c43143e326c2a Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Fri, 18 Jul 2014 01:14:24 -0400 Subject: [PATCH] krb5: update source URL and add build fix patch Signed-off-by: W. Michael Petullo --- net/krb5/Makefile | 4 ++-- net/krb5/patches/001-fix-build.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 net/krb5/patches/001-fix-build.patch diff --git a/net/krb5/Makefile b/net/krb5/Makefile index ebeafb2613..adaac8ac1c 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 0000000000..94effed714 --- /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(); -- 2.30.2