pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gobject-introspection gobject-introspection: Avo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eccd7101e199
branches:  trunk
changeset: 375242:eccd7101e199
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Feb 06 15:44:01 2018 +0000

description:
gobject-introspection: Avoid LD_LIBRARY_PATH pollution.

Can cause issues if it ends up pulling in incompatible libraries used by
the compiler.  Bump PKGREVISION.

diffstat:

 devel/gobject-introspection/Makefile                             |   3 +-
 devel/gobject-introspection/distinfo                             |   3 +-
 devel/gobject-introspection/patches/patch-giscanner_ccompiler.py |  20 ++++++++++
 3 files changed, 24 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r 4977dd676373 -r eccd7101e199 devel/gobject-introspection/Makefile
--- a/devel/gobject-introspection/Makefile      Tue Feb 06 13:38:11 2018 +0000
+++ b/devel/gobject-introspection/Makefile      Tue Feb 06 15:44:01 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.53 2017/10/18 21:32:24 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2018/02/06 15:44:01 jperkin Exp $
 
 DISTNAME=      gobject-introspection-1.54.1
+PKGREVISION=   1
 CATEGORIES=    devel gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/gobject-introspection/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz
diff -r 4977dd676373 -r eccd7101e199 devel/gobject-introspection/distinfo
--- a/devel/gobject-introspection/distinfo      Tue Feb 06 13:38:11 2018 +0000
+++ b/devel/gobject-introspection/distinfo      Tue Feb 06 15:44:01 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2017/10/18 21:32:24 wiz Exp $
+$NetBSD: distinfo,v 1.27 2018/02/06 15:44:01 jperkin Exp $
 
 SHA1 (gobject-introspection-1.54.1.tar.xz) = 975350b2a45a6de1e9334c37d7ef779c748c217a
 RMD160 (gobject-introspection-1.54.1.tar.xz) = 6aa0bd6e6f9b95fb4d87832a3833c89fc71ed599
@@ -6,3 +6,4 @@
 Size (gobject-introspection-1.54.1.tar.xz) = 1392504 bytes
 SHA1 (patch-aa) = 562071f5524de4c50571cb0c4625dcf3c933bac5
 SHA1 (patch-ac) = 52174e01aa90a5cf75cfe2f255826c1e46f8e183
+SHA1 (patch-giscanner_ccompiler.py) = a9408624d799be35941b7db3f4cbfe35cf6a8797
diff -r 4977dd676373 -r eccd7101e199 devel/gobject-introspection/patches/patch-giscanner_ccompiler.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gobject-introspection/patches/patch-giscanner_ccompiler.py  Tue Feb 06 15:44:01 2018 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-giscanner_ccompiler.py,v 1.1 2018/02/06 15:44:01 jperkin Exp $
+
+Do not set LD_LIBRARY_PATH when calling the compiler.
+
+--- giscanner/ccompiler.py.orig        2017-05-18 05:42:52.000000000 +0000
++++ giscanner/ccompiler.py
+@@ -161,13 +161,6 @@ class CCompiler(object):
+ 
+             runtime_paths.append(library_path)
+ 
+-        for envvar in runtime_path_envvar:
+-            if envvar in os.environ:
+-                os.environ[envvar] = \
+-                    os.pathsep.join(runtime_paths + [os.environ[envvar]])
+-            else:
+-                os.environ[envvar] = os.pathsep.join(runtime_paths)
+-
+     def get_external_link_flags(self, args, libraries):
+         # An "external" link is where the library to be introspected
+         # is installed on the system; this case is used for the scanning



Home | Main Index | Thread Index | Old Index