diff options
author | bsam <bsam@FreeBSD.org> | 2012-05-14 15:50:23 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2012-05-14 15:50:23 +0800 |
commit | 42e1baebc88c99560513dbb3407a95c0432983fd (patch) | |
tree | 393b6bd5a0fd5ca352056591f506cc1b0112dad5 /devel | |
parent | efb34f523fa2f4e06f91789b2f5c56c83587c38c (diff) | |
download | freebsd-ports-gnome-42e1baebc88c99560513dbb3407a95c0432983fd.tar.gz freebsd-ports-gnome-42e1baebc88c99560513dbb3407a95c0432983fd.tar.zst freebsd-ports-gnome-42e1baebc88c99560513dbb3407a95c0432983fd.zip |
1. Fix build with clang: [1]
-----
clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../libgamin -I../protocol -I../lib -I../libgamin -I/usr/local/include/glib-2.0 -DBINDIR=\""/usr/local/libexec"\" -DG_DISABLE_DEPRECATED -DGAM_DEBUG_ENABLED -DHAVE_LINUX -I/usr/local/include -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -O2 -pipe -fno-strict-aliasing -MT gam_eq.o -MD -MP -MF .deps/gam_eq.Tpo -c -o gam_eq.o gam_eq.c
gam_eq.c:127:3: error: non-void function 'gam_eq_flush' should return a value [-Wreturn-type]
return;
^
1 error generated.
-----
2. Do not bump PORTREVISION.
3. Since upstream is almost dead it's unlikely that this patch will
be committed to it's repository.
Attn: GNOME has switched from gamin to gio. Seems that this port
may/should be deprecated...
Approved by: gnome (mezz) [1]
Discussed at: freebsd-gnome
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gamin/files/patch-server_gam_eq.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/gamin/files/patch-server_gam_eq.c b/devel/gamin/files/patch-server_gam_eq.c new file mode 100644 index 000000000000..6dfb7c975696 --- /dev/null +++ b/devel/gamin/files/patch-server_gam_eq.c @@ -0,0 +1,11 @@ +--- server/gam_eq.c.orig 2012-05-13 19:42:20.257794534 +0400 ++++ server/gam_eq.c 2012-05-13 19:44:41.228799909 +0400 +@@ -124,7 +124,7 @@ gam_eq_flush (gam_eq_t *eq, GamConnDataP + { + gboolean done_work = FALSE; + if (!eq) +- return; ++ return FALSE; + + #ifdef GAM_EQ_VERBOSE + GAM_DEBUG(DEBUG_INFO, "gam_eq: Flushing event queue for %s\n", gam_connection_get_pidname (conn)); |