pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/py-gstreamer1
Module Name: pkgsrc
Committed By: ryoon
Date: Wed Nov 27 03:37:17 UTC 2019
Modified Files:
pkgsrc/multimedia/py-gstreamer1: distinfo
pkgsrc/multimedia/py-gstreamer1/patches: patch-configure
Log Message:
Fix build with lang/python38
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/multimedia/py-gstreamer1/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/multimedia/py-gstreamer1/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/py-gstreamer1/distinfo
diff -u pkgsrc/multimedia/py-gstreamer1/distinfo:1.12 pkgsrc/multimedia/py-gstreamer1/distinfo:1.13
--- pkgsrc/multimedia/py-gstreamer1/distinfo:1.12 Tue Nov 26 13:07:46 2019
+++ pkgsrc/multimedia/py-gstreamer1/distinfo Wed Nov 27 03:37:17 2019
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.12 2019/11/26 13:07:46 wiz Exp $
+$NetBSD: distinfo,v 1.13 2019/11/27 03:37:17 ryoon Exp $
SHA1 (gst-python-1.16.1.tar.xz) = 2d6854adf591c3089861c0a85a84c0bd9f8bec5c
RMD160 (gst-python-1.16.1.tar.xz) = 8baa0d2801ebb06dc3d6039c6a13ca4abf322282
SHA512 (gst-python-1.16.1.tar.xz) = 333000bfe964c5d94db98990e500b7f0e12ae8c8058b306bb3a822ab13c2031ea5c55c06dd55f40c66874f879d32a15bdd4f08bcd2107e1a5bb5eb90a4572691
Size (gst-python-1.16.1.tar.xz) = 412888 bytes
-SHA1 (patch-configure) = c9df2724aa909ca3b00a8323aad0d76e28fec480
+SHA1 (patch-configure) = 1d0ea6c3e9938b2e9aa3afe39f2125ed452d1475
Index: pkgsrc/multimedia/py-gstreamer1/patches/patch-configure
diff -u pkgsrc/multimedia/py-gstreamer1/patches/patch-configure:1.1 pkgsrc/multimedia/py-gstreamer1/patches/patch-configure:1.2
--- pkgsrc/multimedia/py-gstreamer1/patches/patch-configure:1.1 Tue Nov 13 12:55:31 2018
+++ pkgsrc/multimedia/py-gstreamer1/patches/patch-configure Wed Nov 27 03:37:17 2019
@@ -1,15 +1,22 @@
-$NetBSD: patch-configure,v 1.1 2018/11/13 12:55:31 adam Exp $
+$NetBSD: patch-configure,v 1.2 2019/11/27 03:37:17 ryoon Exp $
-python-config --ldflags is for linking executables; use --libs instead
+* python-config --ldflags is for linking executables; use --libs instead
+* Python 3.8's python3.8-config --libs does not return -lpython3.8 any more.
+ Use --embed flag. See:
+ https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build
---- configure.orig 2018-11-13 12:01:21.000000000 +0000
+--- configure.orig 2019-09-23 10:19:47.000000000 +0000
+++ configure
-@@ -14460,7 +14460,7 @@ fi
+@@ -14463,7 +14463,11 @@ fi
$as_echo_n "checking for libraries required to embed python... " >&6; }
if $PYTHON-config --help 1>/dev/null 2>/dev/null; then
- PYTHON_LIBS=`$PYTHON-config --ldflags 2>/dev/null`
-+ PYTHON_LIBS=`$PYTHON-config --libs 2>/dev/null`
++ if $PYTHON-config --libs --embed 1>/dev/null 2>/dev/null; then
++ PYTHON_LIBS=`$PYTHON-config --libs --embed 2>/dev/null`
++ else
++ PYTHON_LIBS=`$PYTHON-config --libs 2>/dev/null`
++ fi
PYTHON_LIB=`$PYTHON -c "import distutils.sysconfig as s; print(s.get_python_lib(standard_lib=1))"`
if echo "$host_os" | grep darwin >/dev/null 2>&1; then
PYTHON_LIB_LOC=/usr/lib
Home |
Main Index |
Thread Index |
Old Index