From 1f1c486b152007d09581ca9890d606fe3703cac2 Mon Sep 17 00:00:00 2001
From: Alexander Chernyakhovsky <achernya@mit.edu>
Date: Sat, 28 Sep 2013 16:07:44 -0400
Subject: [PATCH] Fix sbuild-createschroot on jessie/sid

---
 bin/sbuild-createchroot | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/sbuild-createchroot b/bin/sbuild-createchroot
index ba37f80..3f11670 100755
--- a/bin/sbuild-createchroot
+++ b/bin/sbuild-createchroot
@@ -137,7 +137,7 @@ use Sbuild::ChrootRoot;
 use Sbuild::Sysconfig;
 use Sbuild::Conf qw();
 use File::Path qw(mkpath rmtree);
-use File::Temp ();
+use File::Temp qw(tempfile);
 use File::Copy;
 use Cwd qw(abs_path);
 
@@ -392,7 +392,7 @@ if ($conf->get('ARCH') eq $conf->get('HOST_ARCH')) {
 # the sbuild chroot directory created, unless it's been requested to keep the
 # directory.
 if ($conf->get('MAKE_SBUILD_TARBALL')) {
-    my ($tmpfh, $tmpfile) = File::Temp->tempfile("XXXXXX");
+    my ($tmpfh, $tmpfile) = File::Temp::tempfile("XXXXXX");
     my @program_list;
 
     # Change program arguments accordingly
-- 
1.8.4.rc3

