summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-09-24 20:01:03 +0000
committerLuka Perkov <luka@openwrt.org>2013-09-24 20:01:03 +0000
commit5166bb0b1bca795ce53157f32f81b3c7c9b5e555 (patch)
treeab823ea30f98e063a17dcb670386459fd7b60566 /tools
parent948f060014e1ecf1d5c95ecb14320d1deeead32b (diff)
downloadmtk-20170518-5166bb0b1bca795ce53157f32f81b3c7c9b5e555.zip
mtk-20170518-5166bb0b1bca795ce53157f32f81b3c7c9b5e555.tar.gz
mtk-20170518-5166bb0b1bca795ce53157f32f81b3c7c9b5e555.tar.bz2
quilt: update to 0.60
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38170
Diffstat (limited to 'tools')
-rw-r--r--tools/quilt/Makefile8
-rw-r--r--tools/quilt/patches/000-relocatable.patch23
-rw-r--r--tools/quilt/patches/001-fix_compile.patch4
-rw-r--r--tools/quilt/patches/100-patch_2.6.1_version.patch15
4 files changed, 12 insertions, 38 deletions
diff --git a/tools/quilt/Makefile b/tools/quilt/Makefile
index 541e656..7cd27df 100644
--- a/tools/quilt/Makefile
+++ b/tools/quilt/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006 -2010 OpenWrt.org
+# Copyright (C) 2006-2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -7,11 +7,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=quilt
-PKG_VERSION:=0.48
+PKG_VERSION:=0.60
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/$(PKG_NAME)
-PKG_MD5SUM:=f77adda60039ffa753f3c584a286f12b
+PKG_MD5SUM:=058a08a9b626bdec9ec8c519dc92158c
include $(INCLUDE_DIR)/host-build.mk
@@ -25,7 +25,7 @@ define Host/Configure
endef
define Host/Compile
- $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" all lib/backup-files
+ $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" all
endef
define Host/Install
diff --git a/tools/quilt/patches/000-relocatable.patch b/tools/quilt/patches/000-relocatable.patch
index f811023..dab42c2 100644
--- a/tools/quilt/patches/000-relocatable.patch
+++ b/tools/quilt/patches/000-relocatable.patch
@@ -1,21 +1,21 @@
--- a/bin/quilt.in
+++ b/bin/quilt.in
-@@ -7,9 +7,15 @@
- # See the COPYING and AUTHORS files for more details.
+@@ -11,9 +11,15 @@
+ unset POSIXLY_CORRECT
export TEXTDOMAIN=quilt
-export TEXTDOMAINDIR=@LOCALEDIR@
--: ${QUILT_DIR=@QUILT_DIR@} ${QUILT_LIB=@QUILT_LIB@}
+-: ${QUILT_DIR=@QUILT_DIR@}
+if test -n "$STAGING_DIR"; then
+ export TEXTDOMAINDIR="$STAGING_DIR/../host/share/locale"
+ : ${QUILT_DIR=$STAGING_DIR/../host/share/quilt} ${QUILT_LIB=$STAGING_DIR/../host/lib/quilt}
+else
+ export TEXTDOMAINDIR=@LOCALEDIR@
-+ : ${QUILT_DIR=@QUILT_DIR@} ${QUILT_LIB=@QUILT_LIB@}
++ : ${QUILT_DIR=@QUILT_DIR@}
+fi
+
- export QUILT_DIR QUILT_LIB
+ export QUILT_DIR
if [ -z "$QUILTRC" ]
--- a/quilt/scripts/edmail.in
@@ -44,20 +44,9 @@
if ! [ -r $QUILT_DIR/scripts/patchfns ]
then
---- a/quilt/scripts/parse-patch.in
-+++ b/quilt/scripts/parse-patch.in
-@@ -34,7 +34,7 @@ BEGIN {
- }
-
- setlocale(LC_MESSAGES, "");
--bindtextdomain("quilt", "@LOCALEDIR@");
-+bindtextdomain("quilt", $ENV{'STAGING_DIR'} ? $ENV{'STAGING_DIR'} . '/../host/share/locale' : "@LOCALEDIR@");
- textdomain("quilt");
-
- sub _($) {
--- a/quilt/scripts/patchfns.in
+++ b/quilt/scripts/patchfns.in
-@@ -10,7 +10,11 @@
+@@ -8,7 +8,11 @@
# See the COPYING and AUTHORS files for more details.
export TEXTDOMAIN=quilt
diff --git a/tools/quilt/patches/001-fix_compile.patch b/tools/quilt/patches/001-fix_compile.patch
index 51a4f5e..c256c65 100644
--- a/tools/quilt/patches/001-fix_compile.patch
+++ b/tools/quilt/patches/001-fix_compile.patch
@@ -1,7 +1,7 @@
--- a/Makefile.in
+++ b/Makefile.in
-@@ -273,13 +273,10 @@ $(patsubst %.in,%,$(wildcard bin/*.in qu
- lib/backup-files.o :: Makefile
+@@ -266,13 +266,10 @@ $(patsubst %.in,%,$(wildcard bin/*.in qu
+ @$(if $(filter $@,$(NON_EXEC_IN)),,chmod +x $@)
configure : configure.ac aclocal.m4
- autoconf
diff --git a/tools/quilt/patches/100-patch_2.6.1_version.patch b/tools/quilt/patches/100-patch_2.6.1_version.patch
deleted file mode 100644
index 1e9ed75..0000000
--- a/tools/quilt/patches/100-patch_2.6.1_version.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -274,7 +274,11 @@ fi
- AC_MSG_CHECKING([the version of $PATCH])
- if $PATCH --version 2> /dev/null | grep GNU >/dev/null; then
- set -- `$PATCH --version 2> /dev/null`
-- patch_version=$2
-+ if test x$1 = xGNU ; then
-+ patch_version=$3
-+ else
-+ patch_version=$2
-+ fi
- AC_MSG_RESULT($patch_version)
- saved_IFS=$IFS; IFS='.'
- set -- $patch_version