aboutsummaryrefslogtreecommitdiff
path: root/graphics/rawstudio/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/rawstudio/files')
-rw-r--r--graphics/rawstudio/files/patch-rs-macros.h16
-rw-r--r--graphics/rawstudio/files/patch-rs-tag-gui.c28
2 files changed, 44 insertions, 0 deletions
diff --git a/graphics/rawstudio/files/patch-rs-macros.h b/graphics/rawstudio/files/patch-rs-macros.h
new file mode 100644
index 000000000000..fdc456950c0c
--- /dev/null
+++ b/graphics/rawstudio/files/patch-rs-macros.h
@@ -0,0 +1,16 @@
+--- librawstudio/rs-macros.h 2014-02-19 06:34:15.000000000 +0100
++++ librawstudio/rs-macros.h 2014-02-19 06:34:21.000000000 +0100
+@@ -51,12 +51,12 @@
+ #if __GNUC__ >= 3
+ #define likely(x) __builtin_expect (!!(x), 1)
+ #define unlikely(x) __builtin_expect (!!(x), 0)
+-#define align(x) __attribute__ ((aligned (x)))
++// #define align(x) __attribute__ ((aligned (x)))
+ #define __deprecated __attribute__ ((deprecated))
+ #else
+ #define likely(x) (x)
+ #define unlikely(x) (x)
+-#define align(x)
++// #define align(x)
+ #define __deprecated
+ #endif
diff --git a/graphics/rawstudio/files/patch-rs-tag-gui.c b/graphics/rawstudio/files/patch-rs-tag-gui.c
new file mode 100644
index 000000000000..3bd36dee10d4
--- /dev/null
+++ b/graphics/rawstudio/files/patch-rs-tag-gui.c
@@ -0,0 +1,28 @@
+--- src/rs-tag-gui.c.orig 2011-02-15 18:28:05.000000000 +0100
++++ src/rs-tag-gui.c 2014-02-14 18:36:48.000000000 +0100
+@@ -93,11 +93,6 @@
+ return box;
+ }
+
+-GtkWidget *
+-rs_library_tag_entry_new(RSLibrary *library)
+-{
+- g_assert(RS_IS_LIBRARY(library));
+-
+ gboolean
+ selected(GtkEntryCompletion *completion, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
+ {
+@@ -179,6 +174,13 @@
+ return found;
+ }
+
++
++GtkWidget *
++rs_library_tag_entry_new(RSLibrary *library)
++{
++ g_assert(RS_IS_LIBRARY(library));
++
++
+ GtkWidget *entry = gtk_entry_new();
+ GtkEntryCompletion *completion = gtk_entry_completion_new();
+ GtkListStore *store = gtk_list_store_new(1, G_TYPE_STRING);