summaryrefslogtreecommitdiffstats
path: root/meta/packages/pcmanfm
diff options
context:
space:
mode:
authorDennis.Yxun <dennis.yxun@gmail.com>2010-01-29 10:23:38 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-02-01 10:42:13 +0000
commit2e84247aacbf48ecd5b516c6ae795dab45812915 (patch)
tree2dbec78f042c0775ad2e00a3c2c594e243979014 /meta/packages/pcmanfm
parent301744df4de882ae7d075ac485359ee981956255 (diff)
downloadpoky-2e84247aacbf48ecd5b516c6ae795dab45812915.tar.gz
pcmanfm: support mips|mipsel
Signed-off-by: lan.yi.xun <dennis.yxun@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/pcmanfm')
-rw-r--r--meta/packages/pcmanfm/files/pcmanfm-mips-fix.patch13
-rw-r--r--meta/packages/pcmanfm/pcmanfm_0.3.2.2.bb5
2 files changed, 16 insertions, 2 deletions
diff --git a/meta/packages/pcmanfm/files/pcmanfm-mips-fix.patch b/meta/packages/pcmanfm/files/pcmanfm-mips-fix.patch
new file mode 100644
index 0000000000..ad5dc67727
--- /dev/null
+++ b/meta/packages/pcmanfm/files/pcmanfm-mips-fix.patch
@@ -0,0 +1,13 @@
1--- pcmanfm-0.3.2.2-org/src/inotify/inotify-syscalls.h 2010-01-07 14:53:56.938000062 +0800
2+++ pcmanfm-0.3.2.2/src/inotify/inotify-syscalls.h 2010-01-07 14:54:57.830000065 +0800
3@@ -39,6 +39,10 @@
4 # define __NR_inotify_init 290
5 # define __NR_inotify_add_watch 291
6 # define __NR_inotify_rm_watch 292
7+#elif defined (__mips__)
8+# define __NR_inotify_init 284
9+# define __NR_inotify_add_watch 285
10+# define __NR_inotify_rm_watch 286
11 #else
12 # error "Unsupported architecture!"
13 #endif
diff --git a/meta/packages/pcmanfm/pcmanfm_0.3.2.2.bb b/meta/packages/pcmanfm/pcmanfm_0.3.2.2.bb
index 07c30c9805..3c0e352efb 100644
--- a/meta/packages/pcmanfm/pcmanfm_0.3.2.2.bb
+++ b/meta/packages/pcmanfm/pcmanfm_0.3.2.2.bb
@@ -7,7 +7,7 @@ DEPENDS_append_poky = " libowl"
7 7
8PR = "r5" 8PR = "r5"
9 9
10COMPATIBLE_HOST = '(x86_64|i.86.*|arm.*)-(linux|freebsd.*)' 10COMPATIBLE_HOST = '(x86_64|i.86.*|arm.*|mips.*)-(linux|freebsd.*)'
11 11
12SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.gz \ 12SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.gz \
13 file://gnome-fs-directory.png \ 13 file://gnome-fs-directory.png \
@@ -15,7 +15,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.gz \
15 file://gnome-mime-text-plain.png \ 15 file://gnome-mime-text-plain.png \
16 file://emblem-symbolic-link.png \ 16 file://emblem-symbolic-link.png \
17 file://desktop.patch;patch=1 \ 17 file://desktop.patch;patch=1 \
18 file://no-warnings.patch;patch=1" 18 file://no-warnings.patch;patch=1 \
19 file://pcmanfm-mips-fix.patch;patch=1"
19 20
20SRC_URI_append_poky = " file://owl-window-menu.patch;patch=1" 21SRC_URI_append_poky = " file://owl-window-menu.patch;patch=1"
21 22