summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2006-04-28 20:46:17 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2006-04-28 20:46:17 +0000
commit3a0407b00f213a26b9e350939a46f94c894dbfe3 (patch)
treeb34abfe771504669f20a9172df3cf5b98c38e869 /dev-util/bless/files
parentversion bump, also fixes modular X dependencies (bug #131596) (diff)
downloadhistorical-3a0407b00f213a26b9e350939a46f94c894dbfe3.tar.gz
historical-3a0407b00f213a26b9e350939a46f94c894dbfe3.tar.bz2
historical-3a0407b00f213a26b9e350939a46f94c894dbfe3.zip
Adding patches for building with newer mono. Resolves bug #130826
Package-Manager: portage-2.1_pre9-r5
Diffstat (limited to 'dev-util/bless/files')
-rw-r--r--dev-util/bless/files/bless-0.4.0-namespace.patch26
-rw-r--r--dev-util/bless/files/bless-0.4.0-strictness.patch12
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-util/bless/files/bless-0.4.0-namespace.patch b/dev-util/bless/files/bless-0.4.0-namespace.patch
new file mode 100644
index 000000000000..b9f898b0d296
--- /dev/null
+++ b/dev-util/bless/files/bless-0.4.0-namespace.patch
@@ -0,0 +1,26 @@
+--- src/ByteBuffer/SaveAsOperation.cs Sun Sep 11 12:22:16 2005
++++ src/ByteBuffer/SaveAsOperation.cs Sat Feb 18 15:31:08 2006
+@@ -63,8 +63,8 @@
+ {
+ #if ENABLE_UNIX_SPECIFIC
+ // get info about the device the file will be saved on
+- Mono.Unix.Statvfs stat=new Mono.Unix.Statvfs();
+- Mono.Unix.Syscall.statvfs(Path.GetDirectoryName(fn), out stat);
++ Mono.Unix.Native.Statvfs stat=new Mono.Unix.Native.Statvfs();
++ Mono.Unix.Native.Syscall.statvfs(Path.GetDirectoryName(fn), out stat);
+
+ long freeSpace=(long)(stat.f_bavail*stat.f_bsize);
+
+--- src/ByteBuffer/SaveOperation.cs Wed May 11 16:10:19 2005
++++ src/ByteBuffer/SaveOperation.cs Sat Feb 18 15:41:21 2006
+@@ -53,8 +53,8 @@
+ // get info about the device the file will be saved on
+ FileInfo fi=new FileInfo(bb.Filename);
+
+- Mono.Unix.Statvfs stat=new Mono.Unix.Statvfs();
+- Mono.Unix.Syscall.statvfs(bb.Filename, out stat);
++ Mono.Unix.Native.Statvfs stat=new Mono.Unix.Native.Statvfs();
++ Mono.Unix.Native.Syscall.statvfs(bb.Filename, out stat);
+
+ long freeSpace=(long)(stat.f_bavail*stat.f_bsize) + fi.Length;
+
diff --git a/dev-util/bless/files/bless-0.4.0-strictness.patch b/dev-util/bless/files/bless-0.4.0-strictness.patch
new file mode 100644
index 000000000000..84cf643de2c5
--- /dev/null
+++ b/dev-util/bless/files/bless-0.4.0-strictness.patch
@@ -0,0 +1,12 @@
+--- src/gui/dialogs/SaveConfirmationMultiAlert.cs Mon Feb 7 06:46:46 2005
++++ src/gui/dialogs/SaveConfirmationMultiAlert.cs Fri Apr 14 21:04:08 2006
+@@ -80,8 +80,7 @@
+ tv.AppendColumn ("Name", new CellRendererText(), "text", 1);
+
+ foreach (SaveFileItem item in list) {
+- item.Save=true;
+- store.AppendValues(item.Save, item.Name);
++ store.AppendValues(true, item.Name);
+ }
+
+ return tv;