From cd957396e2742eac2c7bb717d7f08be01dc2be33 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Tue, 1 Dec 2009 08:01:52 +0000 Subject: Fix gir generation when /usr/local is a symlink. Reported by: dhw kib Obtained from: GNOME git --- devel/gobject-introspection/Makefile | 1 + .../files/patch-giscanner_giscannermodule.c | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 devel/gobject-introspection/files/patch-giscanner_giscannermodule.c (limited to 'devel/gobject-introspection') diff --git a/devel/gobject-introspection/Makefile b/devel/gobject-introspection/Makefile index 65c75bb77d53..ccd7ef57e390 100644 --- a/devel/gobject-introspection/Makefile +++ b/devel/gobject-introspection/Makefile @@ -8,6 +8,7 @@ PORTNAME= gobject-introspection PORTVERSION= 0.6.5 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/devel/gobject-introspection/files/patch-giscanner_giscannermodule.c b/devel/gobject-introspection/files/patch-giscanner_giscannermodule.c new file mode 100644 index 000000000000..a1f7c79e55b7 --- /dev/null +++ b/devel/gobject-introspection/files/patch-giscanner_giscannermodule.c @@ -0,0 +1,19 @@ +--- giscanner/giscannermodule.c.orig 2009-12-01 02:49:21.000000000 -0500 ++++ giscanner/giscannermodule.c 2009-12-01 02:49:34.000000000 -0500 +@@ -23,6 +23,7 @@ + # include "config.h" + #endif + #include "sourcescanner.h" ++#include "grealpath.h" + #include + + #ifdef _WIN32 +@@ -335,7 +336,7 @@ pygi_source_scanner_append_filename (PyG + return NULL; + + self->scanner->filenames = g_list_append (self->scanner->filenames, +- g_strdup (filename)); ++ g_realpath (filename)); + + Py_INCREF (Py_None); + return Py_None; -- cgit v1.2.3