summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/beaglefs/files/beaglefs-1.0.3-libbeagle-0.3.patch')
-rw-r--r--sys-fs/beaglefs/files/beaglefs-1.0.3-libbeagle-0.3.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys-fs/beaglefs/files/beaglefs-1.0.3-libbeagle-0.3.patch b/sys-fs/beaglefs/files/beaglefs-1.0.3-libbeagle-0.3.patch
new file mode 100644
index 000000000000..7dd82072626e
--- /dev/null
+++ b/sys-fs/beaglefs/files/beaglefs-1.0.3-libbeagle-0.3.patch
@@ -0,0 +1,27 @@
+diff -urN beaglefs-1.0.3.orig/hit.c beaglefs-1.0.3/hit.c
+--- beaglefs-1.0.3.orig/hit.c 2008-07-17 16:22:45.000000000 +0530
++++ beaglefs-1.0.3/hit.c 2008-07-17 16:30:08.000000000 +0530
+@@ -121,8 +121,7 @@
+ request = BEAGLE_REQUEST (query);
+
+ beagle_query_add_text (query, query_text);
+- beagle_query_add_hit_type (query, "File");
+- beagle_query_add_hit_type (query, "IMLog");
++ beagle_query_add_text (query, "type:File OR type:IMLog");
+
+ g_signal_connect (query,
+ "hits-added",
+diff -urN beaglefs-1.0.3.orig/Makefile beaglefs-1.0.3/Makefile
+--- beaglefs-1.0.3.orig/Makefile 2008-07-17 16:22:45.000000000 +0530
++++ beaglefs-1.0.3/Makefile 2008-07-17 16:22:59.000000000 +0530
+@@ -13,8 +13,8 @@
+ FUSE_CFLAGS ?= `pkg-config --cflags fuse`
+ FUSE_LIBS ?= `pkg-config --libs fuse`
+
+-BEAGLE_CFLAGS ?= `pkg-config --cflags libbeagle-0.0`
+-BEAGLE_LIBS ?= `pkg-config --libs libbeagle-0.0`
++BEAGLE_CFLAGS ?= `pkg-config --cflags libbeagle-1.0`
++BEAGLE_LIBS ?= `pkg-config --libs libbeagle-1.0`
+
+ GTHREAD_CFLAGS ?= `pkg-config --cflags gthread-2.0`
+ GTHREAD_LIBS ?= `pkg-config --libs gthread-2.0`