summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-12-13 10:19:33 +0100
committerMichał Górny <mgorny@gentoo.org>2017-12-13 10:20:45 +0100
commitbe49dc3e8bfa23ec73bf04c23d4ac1bfaa6ff015 (patch)
treec8f79cf32a47a4905bd73a864778a1bf33ac2980 /dev-python/miniupnpc/files
parentnet-libs/miniupnpc: Revert "Drop old" (diff)
downloadgentoo-be49dc3e8bfa23ec73bf04c23d4ac1bfaa6ff015.tar.gz
gentoo-be49dc3e8bfa23ec73bf04c23d4ac1bfaa6ff015.tar.bz2
gentoo-be49dc3e8bfa23ec73bf04c23d4ac1bfaa6ff015.zip
dev-python/miniupnpc: Revert "Drop old"
This reverts commit b1fdf3baddb71714f189a30b7fb6fb9e446b4003.
Diffstat (limited to 'dev-python/miniupnpc/files')
-rw-r--r--dev-python/miniupnpc/files/miniupnpc-1.9.20150917-shared-lib.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/miniupnpc/files/miniupnpc-1.9.20150917-shared-lib.patch b/dev-python/miniupnpc/files/miniupnpc-1.9.20150917-shared-lib.patch
new file mode 100644
index 000000000000..086c0926651b
--- /dev/null
+++ b/dev-python/miniupnpc/files/miniupnpc-1.9.20150917-shared-lib.patch
@@ -0,0 +1,24 @@
+From cd8787999bf4c4b89601f6338ce765ea6229232c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Thu, 1 Oct 2015 18:49:26 +0200
+Subject: [PATCH] Use shared library when linking Python extensions
+
+---
+ miniupnpc/setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/miniupnpc/setup.py b/miniupnpc/setup.py
+index 049f670..2533ed4 100644
+--- a/setup.py
++++ b/setup.py
+@@ -19,6 +19,6 @@ setup(name="miniupnpc",
+ description='miniUPnP client',
+ ext_modules=[
+ Extension(name="miniupnpc", sources=["miniupnpcmodule.c"],
+- extra_objects=["libminiupnpc.a"])
++ libraries=["miniupnpc"])
+ ])
+
+--
+2.6.0
+