[packages/python-pygobject3] Add updated link.patch. Release 2

megabajt megabajt at pld-linux.org
Sat Mar 24 21:14:13 CET 2018


commit 67a522354879000eb0e410540a8b64ca918ab2e6
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date:   Sat Mar 24 21:12:19 2018 +0100

    Add updated link.patch. Release 2

 link.patch             | 16 ++++++++--------
 python-pygobject3.spec |  2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/python-pygobject3.spec b/python-pygobject3.spec
index dda516b..9d04680 100644
--- a/python-pygobject3.spec
+++ b/python-pygobject3.spec
@@ -8,7 +8,7 @@ Summary:	Python bindings for GObject library
 Summary(pl.UTF-8):	Wiązania Pythona do biblioteki GObject
 Name:		python-pygobject3
 Version:	3.28.1
-Release:	1
+Release:	2
 License:	LGPL v2+
 Group:		Libraries/Python
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.28/%{module}-%{version}.tar.xz
diff --git a/link.patch b/link.patch
index b1bcf54..7ecd527 100644
--- a/link.patch
+++ b/link.patch
@@ -17,15 +17,15 @@
  extension_ldflags += \
  	-no-undefined \
  	-shrext ".pyd"
---- pygobject-3.0.0/configure.ac.wiget	2011-09-24 19:56:06.566708752 +0200
-+++ pygobject-3.0.0/configure.ac	2011-09-24 19:56:29.259058498 +0200
-@@ -102,9 +102,7 @@ if test $build_py3k = true ; then
- fi
+--- pygobject-3.28.1/configure.ac.fix	2018-03-24 19:28:50.810204421 +0100
++++ pygobject-3.28.1/configure.ac	2018-03-24 19:29:02.056860075 +0100
+@@ -118,9 +118,7 @@ PYTHON_SO=`$PYTHON -c "import distutils.
+ AC_SUBST(PYTHON_SO)
  
- AM_CHECK_PYTHON_HEADERS(, AC_MSG_ERROR([Python headers not found]))
+ PYG_CHECK_PYTHON_HEADERS(, AC_MSG_ERROR([Python headers not found]))
 -if test "x$link_python_libs" = "xyes"; then
-   AM_CHECK_PYTHON_LIBS(, AC_MSG_ERROR([Python libs not found. Windows and Darwin require Python modules to be explicitly linked to libpython.]))
+   PYG_CHECK_PYTHON_LIBS(, AC_MSG_ERROR([Python libs not found. Windows requires Python modules to be explicitly linked to libpython.]))
 -fi
  
- AC_MSG_CHECKING([for PySignal_SetWakeupFd in Python.h])
- old_CPPFLAGS=$CPPFLAGS
+ dnl get rid of the -export-dynamic stuff from the configure flags ...
+ export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pygobject3.git/commitdiff/67a522354879000eb0e410540a8b64ca918ab2e6



More information about the pld-cvs-commit mailing list