]> git.proxmox.com Git - rustc.git/commitdiff
patches: cleanup spurious backup files
authorLuca Bruno <lucab@debian.org>
Sat, 26 Nov 2016 23:51:41 +0000 (23:51 +0000)
committerLuca Bruno <lucab@debian.org>
Sat, 26 Nov 2016 23:51:59 +0000 (23:51 +0000)
debian/patches/fix-configure-for-deb-arches.patch~ [deleted file]
debian/patches/use-system-jquery.patch~ [deleted file]

diff --git a/debian/patches/fix-configure-for-deb-arches.patch~ b/debian/patches/fix-configure-for-deb-arches.patch~
deleted file mode 100644 (file)
index 7f773ad..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-Description: Fix configure architecture targets for Debian
- Rust upstream sometimes builds for multiple triplets depending on the CPU,
- since it could be valid for multiple triplets. We don't need to do this for
- Debian; each DEB_HOST_ARCH maps to a single triplet. This patch indirectly
- achieves this by setting CFG_{OS,CPU}TYPE to more specific values depending
- on what DEB_HOST_ARCH is, hopefully preventing a multiple build.
- .
- Tested on armhf, untested on armel due to missing build-deps.
-Author: Ximin Luo <infinity0@debian.org>
-Forwarded: not-needed
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/configure
-+++ b/configure
-@@ -497,8 +497,19 @@
-         ;;
-     armv7l)
--        CFG_CPUTYPE=arm
--        CFG_OSTYPE="${CFG_OSTYPE}eabihf"
-+        case $DEB_HOST_ARCH in
-+        armhf)
-+            CFG_CPUTYPE=armv7
-+            CFG_OSTYPE="${CFG_OSTYPE}eabihf"
-+           ;;
-+        armel)
-+            CFG_CPUTYPE=arm
-+            CFG_OSTYPE="${CFG_OSTYPE}eabi"
-+           ;;
-+        *)
-+            err "unknown DEB_HOST_ARCH $DEB_HOST_ARCH for armv7l cpu"
-+            ;;
-+        esac
-         ;;
-     aarch64)
diff --git a/debian/patches/use-system-jquery.patch~ b/debian/patches/use-system-jquery.patch~
deleted file mode 100644 (file)
index c105331..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/src/librustdoc/html/render.rs
-+++ b/src/librustdoc/html/render.rs
-@@ -655,8 +655,16 @@
-     // Add all the static files. These may already exist, but we just
-     // overwrite them anyway to make sure that they're fresh and up-to-date.
--    write(cx.dst.join("jquery.js"),
--          include_bytes!("static/jquery-2.1.4.min.js"))?;
-+    {
-+        // In Debian, just copy the system jquery instead.
-+        // If the file gets installed, we can eventually create something like
-+        // dh_rustdoc, similar to dh_sphinxdoc to detect these copies and
-+        // convert them into symlinks.
-+        let jquery_system_path = "/usr/share/javascript/jquery/jquery.min.js";
-+        let jquery = cx.dst.join("jquery.js");
-+        let jquery = jquery.as_path();
-+        try_err!(fs::copy(jquery_system_path, jquery), &jquery);
-+    }
-     write(cx.dst.join("main.js"),
-           include_bytes!("static/main.js"))?;
-     write(cx.dst.join("playpen.js"),