aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/bless/bless.SlackBuild2
-rw-r--r--development/bless/patches/disambiguate-system.range-and-gtk.range.patch92
2 files changed, 94 insertions, 0 deletions
diff --git a/development/bless/bless.SlackBuild b/development/bless/bless.SlackBuild
index 207854b1615a..7dcc418adcac 100644
--- a/development/bless/bless.SlackBuild
+++ b/development/bless/bless.SlackBuild
@@ -82,6 +82,8 @@ patch -p1 < $CWD/patches/fixxmltextwriter.patch
# state if you just press Insert to toggle it.
patch -p1 < $CWD/patches/default_overwrite.patch
+patch -p1 < $CWD/patches/disambiguate-system.range-and-gtk.range.patch
+
# Grr. The configure script doesn't allow setting CS or MCS or CSC or
# anything to override the compiler (like normal stuff does with CC).
# FFS, it's even hardcoded in C# code...
diff --git a/development/bless/patches/disambiguate-system.range-and-gtk.range.patch b/development/bless/patches/disambiguate-system.range-and-gtk.range.patch
new file mode 100644
index 000000000000..fd314c4b53b1
--- /dev/null
+++ b/development/bless/patches/disambiguate-system.range-and-gtk.range.patch
@@ -0,0 +1,92 @@
+Index: bless/src/buffers/ByteBuffer.cs
+===================================================================
+--- bless.orig/src/buffers/ByteBuffer.cs
++++ bless/src/buffers/ByteBuffer.cs
+@@ -26,6 +26,8 @@ using System.Threading;
+ using Bless.Util;
+ using Bless.Tools;
+
++using Range=Bless.Util.Range;
++
+ namespace Bless.Buffers {
+
+ ///<summary>
+Index: bless/src/tools/find/IFindStrategy.cs
+===================================================================
+--- bless.orig/src/tools/find/IFindStrategy.cs
++++ bless/src/tools/find/IFindStrategy.cs
+@@ -23,6 +23,8 @@ using System;
+ using Bless.Util;
+ using Bless.Buffers;
+
++using Range=Bless.Util.Range;
++
+ namespace Bless.Tools.Find {
+
+ public interface IFindStrategy
+@@ -40,4 +42,4 @@ public interface IFindStrategy
+ bool Cancelled { get; set; }
+ }
+
+-} // end namespace
+\ No newline at end of file
++} // end namespace
+Index: bless/src/tools/find/IFinder.cs
+===================================================================
+--- bless.orig/src/tools/find/IFinder.cs
++++ bless/src/tools/find/IFinder.cs
+@@ -23,6 +23,8 @@ using System;
+ using Bless.Util;
+ using Bless.Buffers;
+
++using Range=Bless.Util.Range;
++
+ namespace Bless.Tools.Find {
+
+ public delegate void FirstFindHandler();
+@@ -41,4 +43,4 @@ public interface IFinder
+ IAsyncResult ReplaceAll(byte[] ba, AsyncCallback ac);
+ }
+
+-} // end namespace
+\ No newline at end of file
++} // end namespace
+Index: bless/src/tools/find/FindOperations.cs
+===================================================================
+--- bless.orig/src/tools/find/FindOperations.cs
++++ bless/src/tools/find/FindOperations.cs
+@@ -24,6 +24,8 @@ using System.IO;
+ using System.Threading;
+ using Bless.Util;
+
++using Range=Bless.Util.Range;
++
+ namespace Bless.Tools.Find {
+
+ ///<summary>
+Index: bless/src/gui/areas/AreaGroup.cs
+===================================================================
+--- bless.orig/src/gui/areas/AreaGroup.cs
++++ bless/src/gui/areas/AreaGroup.cs
+@@ -25,6 +25,8 @@ using Bless.Buffers;
+ using Bless.Util;
+ using Bless.Gui.Drawers;
+
++using Range=Bless.Util.Range;
++
+ namespace Bless.Gui.Areas
+ {
+
+Index: bless/src/gui/DataBookFinder.cs
+===================================================================
+--- bless.orig/src/gui/DataBookFinder.cs
++++ bless/src/gui/DataBookFinder.cs
+@@ -26,6 +26,8 @@ using Bless.Util;
+ using Bless.Buffers;
+ using Bless.Tools.Find;
+
++using Range=Bless.Util.Range;
++
+ namespace Bless.Gui {
+
+ public class DataBookFinder : IFinder