diff --git a/debian/changelog b/debian/changelog index 343bfb11..7b1ed68f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +llvm-toolchain-3.3 (1:3.3-1) UNRELEASED; urgency=low + + * Upload to unstable + * Add the patch for the Ubuntu Saucy detection + + -- Sylvestre Ledru Thu, 13 Jun 2013 14:58:20 +0200 + llvm-toolchain-3.3 (1:3.3-1~exp1) experimental; urgency=low * New upstream release diff --git a/debian/patches/add-ubuntu-saucy.patch b/debian/patches/add-ubuntu-saucy.patch new file mode 100644 index 00000000..07ad595a --- /dev/null +++ b/debian/patches/add-ubuntu-saucy.patch @@ -0,0 +1,29 @@ +Index: llvm-toolchain-3.3-3.3/clang/lib/Driver/ToolChains.cpp +=================================================================== +--- llvm-toolchain-3.3-3.3.orig/clang/lib/Driver/ToolChains.cpp 2013-06-13 14:20:37.000000000 +0200 ++++ llvm-toolchain-3.3-3.3/clang/lib/Driver/ToolChains.cpp 2013-06-13 14:59:57.000000000 +0200 +@@ -2016,6 +2016,7 @@ + UbuntuPrecise, + UbuntuQuantal, + UbuntuRaring, ++ UbuntuSaucy, + UnknownDistro + }; + +@@ -2033,7 +2034,7 @@ + } + + static bool IsUbuntu(enum Distro Distro) { +- return Distro >= UbuntuHardy && Distro <= UbuntuRaring; ++ return Distro >= UbuntuHardy && Distro <= UbuntuSaucy; + } + + static Distro DetectDistro(llvm::Triple::ArchType Arch) { +@@ -2057,6 +2058,7 @@ + .Case("precise", UbuntuPrecise) + .Case("quantal", UbuntuQuantal) + .Case("raring", UbuntuRaring) ++ .Case("saucy", UbuntuSaucy) + .Default(UnknownDistro); + return Version; + } diff --git a/debian/patches/series b/debian/patches/series index 6a879035..b2938f22 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -22,4 +22,4 @@ ia64-fix.diff hurd-endian.diff clang-format-version.diff kfreebsd.diff - +add-ubuntu-saucy.patch