Fix gir generation when /usr/local is a symlink.
Reported by: dhw kib Obtained from: GNOME git
This commit is contained in:
parent
c71ebcfa38
commit
cd957396e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=245049
2 changed files with 20 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
PORTNAME= gobject-introspection
|
||||
PORTVERSION= 0.6.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome2
|
||||
|
|
|
@ -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 <Python.h>
|
||||
|
||||
#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;
|
Loading…
Reference in a new issue