summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-11-22 07:50:48 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-11-22 07:50:48 +0800
commit0572c839c69cdf6b32ee39c646ab720bd8bb4b73 (patch)
tree69dc495675b9a959c540b6aef92d1c7759281a03
parentb5eb8d640dd11e6931e2bdab493fb470769f1dfb (diff)
downloadmarcuscom-ports-0572c839c69cdf6b32ee39c646ab720bd8bb4b73.tar.gz
marcuscom-ports-0572c839c69cdf6b32ee39c646ab720bd8bb4b73.tar.zst
marcuscom-ports-0572c839c69cdf6b32ee39c646ab720bd8bb4b73.zip
Fix build with clang, doesn't allow empty return in a non-void function.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17145 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--accessibility/at-spi2-atk/files/patch-atk-adaptor_accessible-cache.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/accessibility/at-spi2-atk/files/patch-atk-adaptor_accessible-cache.c b/accessibility/at-spi2-atk/files/patch-atk-adaptor_accessible-cache.c
new file mode 100644
index 000000000..2ccb400fb
--- /dev/null
+++ b/accessibility/at-spi2-atk/files/patch-atk-adaptor_accessible-cache.c
@@ -0,0 +1,11 @@
+--- atk-adaptor/accessible-cache.c.orig 2012-11-21 23:46:32.000000000 +0000
++++ atk-adaptor/accessible-cache.c 2012-11-21 23:47:06.000000000 +0000
+@@ -362,7 +362,7 @@
+ if (!child)
+ {
+ g_static_rec_mutex_unlock (&cache_mutex);
+- return;
++ return FALSE;
+ }
+
+ g_object_ref (child);