pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/gobject-introspection



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Feb  6 15:44:01 UTC 2018

Modified Files:
        pkgsrc/devel/gobject-introspection: Makefile distinfo
Added Files:
        pkgsrc/devel/gobject-introspection/patches:
            patch-giscanner_ccompiler.py

Log Message:
gobject-introspection: Avoid LD_LIBRARY_PATH pollution.

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


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/devel/gobject-introspection/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/gobject-introspection/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/gobject-introspection/patches/patch-giscanner_ccompiler.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/gobject-introspection/Makefile
diff -u pkgsrc/devel/gobject-introspection/Makefile:1.53 pkgsrc/devel/gobject-introspection/Makefile:1.54
--- pkgsrc/devel/gobject-introspection/Makefile:1.53    Wed Oct 18 21:32:24 2017
+++ pkgsrc/devel/gobject-introspection/Makefile Tue Feb  6 15:44:01 2018
@@ -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

Index: pkgsrc/devel/gobject-introspection/distinfo
diff -u pkgsrc/devel/gobject-introspection/distinfo:1.26 pkgsrc/devel/gobject-introspection/distinfo:1.27
--- pkgsrc/devel/gobject-introspection/distinfo:1.26    Wed Oct 18 21:32:24 2017
+++ pkgsrc/devel/gobject-introspection/distinfo Tue Feb  6 15:44:01 2018
@@ -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 @@ SHA512 (gobject-introspection-1.54.1.tar
 Size (gobject-introspection-1.54.1.tar.xz) = 1392504 bytes
 SHA1 (patch-aa) = 562071f5524de4c50571cb0c4625dcf3c933bac5
 SHA1 (patch-ac) = 52174e01aa90a5cf75cfe2f255826c1e46f8e183
+SHA1 (patch-giscanner_ccompiler.py) = a9408624d799be35941b7db3f4cbfe35cf6a8797

Added files:

Index: pkgsrc/devel/gobject-introspection/patches/patch-giscanner_ccompiler.py
diff -u /dev/null pkgsrc/devel/gobject-introspection/patches/patch-giscanner_ccompiler.py:1.1
--- /dev/null   Tue Feb  6 15:44:01 2018
+++ pkgsrc/devel/gobject-introspection/patches/patch-giscanner_ccompiler.py     Tue Feb  6 15:44:01 2018
@@ -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