 +usr/lib/GNUstep/WOxElemBuilders-*/*
 --- sope-4.9.r1660.orig/debian/patches/sope-gsmake2.diff
 +++ sope-4.9.r1660/debian/patches/sope-gsmake2.diff
-@@ -0,0 +1,3150 @@
+@@ -0,0 +1,3144 @@
 +Index: configure
 +===================================================================
 +--- configure	(révision 1632)
 ++++ configure	(copie de travail)
-+@@ -1,4 +1,4 @@
-+-#!/bin/bash
-++#!/bin/sh
-+ 
-+ #
-+ # Note: When adding make options to this script, ensure that the source still
 +@@ -15,8 +15,9 @@
 + ARG_NOCREATE=0
 + ARG_PREFIX=""

+   if ([_sortSpec isKindOfClass:[NSArray class]])
+     tmp = [self _generateIMAP4SortOrderings:_sortSpec];
+   else if ([_sortSpec isKindOfClass:[EOSortOrdering class]])
+@@ -1107,9 +1135,10 @@
+     tmp = @"DATE";
+   }
+   

+   return [self->normer normalizeResponse:[self processCommand:command]];
+ }
+ 
+ - (NSDictionary *)delete:(NSString *)_name {
++  if ([self->selectedFolder isEqualToString:_name]) {
++    [self unselect];
++  }
+   return [self _performCommand:@"delete" onFolder:_name];
+ }
+ - (NSDictionary *)create:(NSString *)_name {
+@@ -820,23 +854,23 @@
+   return [self->normer normalizeResponse:[self processCommand:cmd]];
+ }
+ 
