mirror of
https://git.freebsd.org/ports.git
synced 2025-05-22 11:48:35 -04:00
----- 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
11 lines
376 B
C
11 lines
376 B
C
--- 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));
|