summaryrefslogtreecommitdiff
path: root/dev-python/pivy/files/pivy-0.6.6-0002-Gentoo-specific-clear-swig-deprecation-warning.patch
blob: f3e7c8f0fd70176bc60b2a3a1ad89bef3fbbfa98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 8fd388dd17f8bfa7df62cbea86d077c1d0d0cb66 Mon Sep 17 00:00:00 2001
From: Bernd Waibel <waebbl-gentoo@posteo.net>
Date: Sat, 10 Apr 2021 10:49:57 +0200
Subject: [PATCH] [Gentoo-specific] clear swig deprecation warning

Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 14f0f1b..b1f9a8f 100755
--- a/setup.py
+++ b/setup.py
@@ -144,7 +144,7 @@ class pivy_build(build):
     SWIG = ((sys.platform == "win32" and "swig.exe") or "swig")
 
     SWIG_SUPPRESS_WARNINGS = "-w302,306,307,312,314,325,361,362,467,389,503,509,510"
-    SWIG_PARAMS = "-c++ -python -includeall -modern -D__PIVY__ " + \
+    SWIG_PARAMS = "-c++ -python -includeall -D__PIVY__ " + \
                   "-I. -Ifake_headers -I\"%s\" %s -o %s_wrap.cpp " + \
                   "interfaces" + os.sep + "%s.i"
     if sys.version_info.major >= 3:
-- 
2.31.1