[med-svn] [Git][med-team/python-freecontact][master] Attempt to unfuzz patch
Nilesh Patra (@nilesh)
gitlab at salsa.debian.org
Tue Jan 14 12:59:56 GMT 2025
Nilesh Patra pushed to branch master at Debian Med / python-freecontact
Commits:
2caf2613 by Nilesh Patra at 2025-01-14T12:59:55+00:00
Attempt to unfuzz patch
- - - - -
1 changed file:
- debian/patches/fix_boost_linkage.patch
Changes:
=====================================
debian/patches/fix_boost_linkage.patch
=====================================
@@ -5,7 +5,7 @@ Last-Update: 2025-01-14
--- a/setup.py
+++ b/setup.py
@@ -17,6 +17,11 @@
- #
+ #
from distutils.core import setup, Extension
from glob import glob
+import sys
@@ -13,13 +13,15 @@ Last-Update: 2025-01-14
+def get_boost_version():
+ return 'boost_python%s%s' \
+ % (sys.version_info.major, sys.version_info.minor)
-
- setup( name = 'python-freecontact',
- version = '1.1',
-@@ -30,7 +35,7 @@
+
+ setup( name = 'python-freecontact',
+ version = '1.1',
+@@ -30,7 +35,5 @@
ext_modules = [Extension(
name = 'freecontact',
sources = glob('src/*.cpp'),
- libraries = ['freecontact', 'boost_python'])]
+ libraries = ['freecontact', get_boost_version()])]
- )
+ )
+-
+-# vim:et:ts=4:ai:
\ No newline at end of file
View it on GitLab: https://salsa.debian.org/med-team/python-freecontact/-/commit/2caf261305e081fd44c989a3d72e467f4daf4eab
--
View it on GitLab: https://salsa.debian.org/med-team/python-freecontact/-/commit/2caf261305e081fd44c989a3d72e467f4daf4eab
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20250114/d3a5d1e6/attachment-0001.htm>
More information about the debian-med-commit
mailing list