jack: Fix build with python 3.7+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2018-09-02 10:35:57 -07:00
parent ba82e1b5ec
commit c637d4c64f
2 changed files with 29 additions and 1 deletions
@@ -0,0 +1,26 @@
From 72564b04151b61fa8d954bbb43afc58108ee50ec Mon Sep 17 00:00:00 2001
From: Thomas Nagy <tnagy@waf.io>
Date: Mon, 12 Mar 2018 20:42:55 +0100
Subject: [PATCH] Python 3.7 fixes #2126
Upstream-Status: Backport
[https://gitlab.com/ita1024/waf/commit/facdc0b173d933073832c768ec1917c553cb369c]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
waflib/Node.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/waflib/Node.py b/waflib/Node.py
index fb3cd273..405a6fec 100644
--- a/waflib/Node.py
+++ b/waflib/Node.py
@@ -537,8 +537,6 @@ class Node(object):
if maxdepth:
for k in node.ant_iter(accept=accept, maxdepth=maxdepth - 1, pats=npats, dir=dir, src=src, remove=remove):
yield k
- raise StopIteration
-
def ant_glob(self, *k, **kw):
"""
This method is used for finding files across folders. It behaves like ant patterns:
+3 -1
View File
@@ -14,7 +14,9 @@ LIC_FILES_CHKSUM = " \
DEPENDS = "libsamplerate0 libsndfile1 readline"
SRC_URI = "git://github.com/jackaudio/jack2.git"
SRC_URI = "git://github.com/jackaudio/jack2.git \
file://0001-Python-3.7-fixes-2126.patch \
"
SRCREV = "c1647819eed6d11f94b21981d9c869629299f357"
PV = "1.9.12"
S = "${WORKDIR}/git"