FreeBSD Bugzilla – Attachment 223521 Details for
Bug 254501
devel/py-ice37: Fix build with Python 3.8
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-ice37-fix-build-with-py38.patch
py-ice37-fix-build-with-py38.patch (text/plain), 2.10 KB, created by
Kai Knoblich
on 2021-03-23 12:55:32 UTC
(
hide
)
Description:
py-ice37-fix-build-with-py38.patch
Filename:
MIME Type:
Creator:
Kai Knoblich
Created:
2021-03-23 12:55:32 UTC
Size:
2.10 KB
patch
obsolete
>Index: devel/ice37/files/patch-python-config-Make.rules >=================================================================== >--- devel/ice37/files/patch-python-config-Make.rules (revision 569006) >+++ devel/ice37/files/patch-python-config-Make.rules (working copy) >@@ -1,6 +1,6 @@ >---- python/config/Make.rules.orig 2018-04-20 15:02:08 UTC >+--- python/config/Make.rules.orig 2019-02-05 18:03:04 UTC > +++ python/config/Make.rules >-@@ -12,7 +12,8 @@ >+@@ -7,7 +7,8 @@ > # version to be used for building the Ice extension, set PYTHON to the > # location of the python interpreter. > # >@@ -10,7 +10,21 @@ > > # ---------------------------------------------------------------------- > # Don't change anything below this line! >-@@ -46,7 +47,7 @@ python_cppflags := $(filter-out >+@@ -28,8 +29,12 @@ python_ldflags := $(shell $(python-config) -- >+ # Use .so as default value --extension-suffix is not supported by python-config in all platforms >+ python_extsuffix := $(or $(shell $(python-config) --extension-suffix 2> /dev/null),.so) >+ >+-ifneq ($(filter debian ubuntu,$(linux_id)),) >++# As of Python 3.8 the python library is not included in the ldflags >++# This is also the same behavior used by pip >+ allow-undefined-symbols := yes >++ >++# Debian packaging complains if these libraries are included >++ifneq ($(filter debian ubuntu,$(linux_id)),) >+ python_ldflags := $(filter-out -lpython% -ldl -lutil,$(python_ldflags)) >+ endif >+ >+@@ -45,7 +50,7 @@ python_cppflags := $(filter-out -Wunreachable- > # > # Python installation directory > # >Index: devel/py-ice37/pkg-plist >=================================================================== >--- devel/py-ice37/pkg-plist (revision 569006) >+++ devel/py-ice37/pkg-plist (working copy) >@@ -186,7 +186,7 @@ > %%PYTHON_SITELIBDIR%%/IcePatch2/__init__.py > %%PYTHON_SITELIBDIR%%/IcePatch2/__init__.pyc > %%PYTHON_SITELIBDIR%%/IcePatch2/__init__.pyo >-%%PYTHON_SITELIBDIR%%/IcePy.so >+%%PYTHON_SITELIBDIR%%/IcePy%%PYTHON_EXT_SUFFIX%%.so > %%PYTHON_SITELIBDIR%%/IceStorm/IceStorm_ice.py > %%PYTHON_SITELIBDIR%%/IceStorm/IceStorm_ice.pyc > %%PYTHON_SITELIBDIR%%/IceStorm/IceStorm_ice.pyo
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
grembo
:
maintainer-approval+
grembo
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 254501
: 223521