1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/devel/gamin/files/patch-server_gam_node.c
Koop Mast 940b9ffea5 Add patches to fix the build with newer glib20.
While here pet portlint, convert to OptionsNG and trim Makefile header.

Obtained from:	GNOME staging repo
2013-01-18 00:01:09 +00:00

20 lines
565 B
C

--- server/gam_node.c.orig 2007-07-04 15:36:49.000000000 +0200
+++ server/gam_node.c 2011-09-17 11:19:10.000000000 +0200
@@ -23,6 +23,7 @@
#include "gam_event.h"
#include "gam_node.h"
#include "gam_error.h"
+#include "gam_server.h"
/**
* Create a new node
@@ -122,7 +123,7 @@ gam_node_set_is_dir(GamNode * node, gboo
* it has finished with the string. If it must keep it longer, it
* should makes its own copy. The returned string must not be freed.
*/
-G_CONST_RETURN char *
+const char *
gam_node_get_path(GamNode * node)
{
g_assert(node);