summaryrefslogtreecommitdiff
path: root/libre/pacman/0001-libmakepkg-Support-file-5.33-s-application-x-pie-exe.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-05-29 13:37:27 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-05-29 13:37:27 -0500
commit51dc032701cddec090a5befade689dfdf5dae55f (patch)
tree79fac570d7f775648e33f31fb5d83400e20e8850 /libre/pacman/0001-libmakepkg-Support-file-5.33-s-application-x-pie-exe.patch
parent44afd8d4f95c2902f1aab69b8dd2b55a0ce603e6 (diff)
downloadabslibre-51dc032701cddec090a5befade689dfdf5dae55f.tar.gz
abslibre-51dc032701cddec090a5befade689dfdf5dae55f.tar.bz2
abslibre-51dc032701cddec090a5befade689dfdf5dae55f.zip
pacman-5.1.0-1.parabola1: updating version
Diffstat (limited to 'libre/pacman/0001-libmakepkg-Support-file-5.33-s-application-x-pie-exe.patch')
-rw-r--r--libre/pacman/0001-libmakepkg-Support-file-5.33-s-application-x-pie-exe.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/libre/pacman/0001-libmakepkg-Support-file-5.33-s-application-x-pie-exe.patch b/libre/pacman/0001-libmakepkg-Support-file-5.33-s-application-x-pie-exe.patch
deleted file mode 100644
index 94ff82864..000000000
--- a/libre/pacman/0001-libmakepkg-Support-file-5.33-s-application-x-pie-exe.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From c6ffa8bb3eea231c36dab87e6051c04b16e8c0e6 Mon Sep 17 00:00:00 2001
-Message-Id: <c6ffa8bb3eea231c36dab87e6051c04b16e8c0e6.1524246116.git.jan.steffens@gmail.com>
-From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
-Date: Fri, 20 Apr 2018 19:25:55 +0200
-Subject: [PATCH] libmakepkg: Support file 5.33's application/x-pie-executable
-
-file 5.33 introduces a new MIME type "application/x-pie-executable",
-which is used for relocatable binaries. makepkg ignored these binaries
-and did not attempt to strip them.
-
-Handle the new MIME type like the old "application/x-sharedlib".
-Stripping the binaries with --strip-unneeded to keep relocation
-information should be the correct thing to do.
-
-file 5.33 also misidentifies actual libraries as PIE executables, so we
-didn't strip any shared libraries, either. We now work around this bug.
-
-Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
----
- scripts/libmakepkg/tidy/strip.sh.in | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/scripts/libmakepkg/tidy/strip.sh.in b/scripts/libmakepkg/tidy/strip.sh.in
-index e20114c0..36d1b89e 100644
---- a/scripts/libmakepkg/tidy/strip.sh.in
-+++ b/scripts/libmakepkg/tidy/strip.sh.in
-@@ -125,6 +125,8 @@ tidy_strip() {
- esac;;
- *application/x-executable*) # Binaries
- strip_flags="$STRIP_BINARIES";;
-+ *application/x-pie-executable*) # Relocatable binaries
-+ strip_flags="$STRIP_SHARED";;
- *)
- continue ;;
- esac
---
-2.17.0
-