diff -Nru transmission-1.92/debian/changelog transmission-1.92/debian/changelog --- transmission-1.92/debian/changelog 2010-03-23 01:43:32.000000000 +0000 +++ transmission-1.92/debian/changelog 2010-04-14 00:15:12.000000000 +0100 @@ -1,3 +1,9 @@ +transmission (1.92-0ubuntu2) lucid; urgency=low + + * Default to the fast preallocation mode. (LP: #538580) + + -- Krzysztof Klimonda Wed, 14 Apr 2010 01:14:17 +0200 + transmission (1.92-0ubuntu1) lucid; urgency=low [ Krzysztof Klimonda ] diff -Nru transmission-1.92/debian/patches/default_to_fast_preallocation.patch transmission-1.92/debian/patches/default_to_fast_preallocation.patch --- transmission-1.92/debian/patches/default_to_fast_preallocation.patch 1970-01-01 01:00:00.000000000 +0100 +++ transmission-1.92/debian/patches/default_to_fast_preallocation.patch 2010-04-14 00:15:12.000000000 +0100 @@ -0,0 +1,18 @@ +Description: Default to the fast preallocation mode. +Origin: upstream +Bug-Ubuntu: https://bugs.edge.launchpad.net/bugs/538580 + +Index: /trunk/libtransmission/session.c +=================================================================== +--- a/libtransmission/session.c (revision 10391) ++++ b/libtransmission/session.c (revision 10463) +@@ -261,9 +261,5 @@ + tr_bencDictAddBool( d, TR_PREFS_KEY_PEX_ENABLED, TRUE ); + tr_bencDictAddBool( d, TR_PREFS_KEY_PORT_FORWARDING, TRUE ); +-#ifdef HAVE_FALLOCATE64 +- tr_bencDictAddInt ( d, TR_PREFS_KEY_PREALLOCATION, TR_PREALLOCATE_FULL ); +-#else + tr_bencDictAddInt ( d, TR_PREFS_KEY_PREALLOCATION, TR_PREALLOCATE_SPARSE ); +-#endif + tr_bencDictAddStr ( d, TR_PREFS_KEY_PROXY, "" ); + tr_bencDictAddBool( d, TR_PREFS_KEY_PROXY_AUTH_ENABLED, FALSE ); diff -Nru transmission-1.92/debian/patches/series transmission-1.92/debian/patches/series --- transmission-1.92/debian/patches/series 2010-03-23 01:43:32.000000000 +0000 +++ transmission-1.92/debian/patches/series 2010-04-14 00:15:12.000000000 +0100 @@ -4,4 +4,5 @@ libnatpmp_freebsd_ftbfs.patch dont_build_libevent.patch disable_web_ui.patch +default_to_fast_preallocation.patch 99_autoreconf.patch