]> code.ossystems Code Review - openembedded-core.git/commitdiff
pcmanfm: support mips|mipsel
authorDennis.Yxun <dennis.yxun@gmail.com>
Fri, 29 Jan 2010 02:23:38 +0000 (10:23 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 1 Feb 2010 10:42:13 +0000 (10:42 +0000)
Signed-off-by: lan.yi.xun <dennis.yxun@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/packages/pcmanfm/files/pcmanfm-mips-fix.patch [new file with mode: 0644]
meta/packages/pcmanfm/pcmanfm_0.3.2.2.bb

diff --git a/meta/packages/pcmanfm/files/pcmanfm-mips-fix.patch b/meta/packages/pcmanfm/files/pcmanfm-mips-fix.patch
new file mode 100644 (file)
index 0000000..ad5dc67
--- /dev/null
@@ -0,0 +1,13 @@
+--- pcmanfm-0.3.2.2-org/src/inotify/inotify-syscalls.h 2010-01-07 14:53:56.938000062 +0800
++++ pcmanfm-0.3.2.2/src/inotify/inotify-syscalls.h     2010-01-07 14:54:57.830000065 +0800
+@@ -39,6 +39,10 @@
+ # define __NR_inotify_init    290
+ # define __NR_inotify_add_watch       291
+ # define __NR_inotify_rm_watch        292
++#elif defined (__mips__)
++# define __NR_inotify_init    284
++# define __NR_inotify_add_watch       285
++# define __NR_inotify_rm_watch        286
+ #else
+ # error "Unsupported architecture!"
+ #endif
index 07c30c980580c02c7f72f3201fcd60b4db90107f..3c0e352efb6427fbf83a0ada5a1c2de2ed0293bb 100644 (file)
@@ -7,7 +7,7 @@ DEPENDS_append_poky = " libowl"
 
 PR = "r5"
 
-COMPATIBLE_HOST = '(x86_64|i.86.*|arm.*)-(linux|freebsd.*)'
+COMPATIBLE_HOST = '(x86_64|i.86.*|arm.*|mips.*)-(linux|freebsd.*)'
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.gz \
           file://gnome-fs-directory.png \
@@ -15,7 +15,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.gz \
           file://gnome-mime-text-plain.png \
           file://emblem-symbolic-link.png \
           file://desktop.patch;patch=1 \
-          file://no-warnings.patch;patch=1"
+          file://no-warnings.patch;patch=1 \
+          file://pcmanfm-mips-fix.patch;patch=1"
 
 SRC_URI_append_poky = " file://owl-window-menu.patch;patch=1"