summaryrefslogtreecommitdiffstats
path: root/libtool-2.4.2-tar-no-owner.patch
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2015-01-15 11:13:00 +0100
committerPavel Raiskup <praiskup@redhat.com>2015-01-15 11:15:18 +0100
commit1945f9971137e1c88aacca85e6168378ea8ed24f (patch)
treef8d123b43a36eccce0d1652ae0b355955f89a579 /libtool-2.4.2-tar-no-owner.patch
parent814b78bc804c033e5f1cf9475de39636af2275a1 (diff)
downloadlibtool-1945f9971137e1c88aacca85e6168378ea8ed24f.tar.gz
libtool-1945f9971137e1c88aacca85e6168378ea8ed24f.tar.xz
libtool-1945f9971137e1c88aacca85e6168378ea8ed24f.zip
libtool: revert to 2.4.2
This reverts commit 814b78bc804c033e5f1cf9475de39636af2275a1. This reverts commit 6f9ef243b6dfe3a7572718c1c0b7922c27f721c7. This reverts commit f6d9cfe433010677e31bdcd86a15abc3b962e7f0. This is safe without epoch bumping because I did not build libtool in f22 yet. Related: #1159497 Version: 2.4.2-31
Diffstat (limited to 'libtool-2.4.2-tar-no-owner.patch')
-rw-r--r--libtool-2.4.2-tar-no-owner.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/libtool-2.4.2-tar-no-owner.patch b/libtool-2.4.2-tar-no-owner.patch
new file mode 100644
index 0000000..e64bb34
--- /dev/null
+++ b/libtool-2.4.2-tar-no-owner.patch
@@ -0,0 +1,30 @@
+diff --git a/libtoolize.in b/libtoolize.in
+index 2bce172..16b764d 100644
+--- a/libtoolize.in
++++ b/libtoolize.in
+@@ -69,6 +69,7 @@
+ # General help using GNU software: <http://www.gnu.org/gethelp/>.
+
+ : ${TAR=tar}
++test "$TAR" = "tar" && : ${TAR_NO_OWNER=--no-same-owner}
+
+ PROGRAM=libtoolize
+
+@@ -1279,7 +1280,7 @@ func_copy_cb ()
+ $RM "$my_destdir/$my_file"
+ if $opt_copy; then
+ if { ( cd "$my_srcdir" && $TAR chf - "$my_file" ) 2>/dev/null \
+- | ( umask 0 && cd "$my_destdir" && $TAR xf - ) >/dev/null 2>&1; } \
++ | ( umask 0 && cd "$my_destdir" && $TAR xf - $TAR_NO_OWNER) >/dev/null 2>&1; } \
+ && touch "$my_destdir/$my_file"; then
+ $opt_quiet || func_echo_once "$my_msg_var"
+ $opt_quiet || func_echo "copying $my_copy_msg"
+@@ -1288,7 +1289,7 @@ func_copy_cb ()
+ else
+ if test "$my_file" = "aclocal.m4"; then
+ if { ( cd "$my_srcdir" && $TAR chf - "$my_file" ) 2>/dev/null \
+- | ( umask 0 && cd "$my_destdir" && $TAR xf - ) >/dev/null 2>&1 ; }
++ | ( umask 0 && cd "$my_destdir" && $TAR xf - $TAR_NO_OWNER) >/dev/null 2>&1 ; }
+ then
+ $opt_quiet || func_echo_once "$my_msg_var"
+ $opt_quiet || func_echo "copying $my_copy_msg"