ports/multimedia/gpodder/files/patch-src_gpodder_util.py
Ruslan Makhmatkhanov e95be89324 multimedia/gpodder: update to 3.9.3
- replace feedparser with podcastparser. This change was done upstream in
  version 3.9.2, so the current version is broken, and this is why I requesting
  MFH.
- add patch to make network detection routine work with wireless interfaces in
  FreeBSD

MFH:		2016Q4
2016-12-29 17:54:35 +00:00

12 lines
518 B
Python

--- src/gpodder/util.py.orig 2016-12-22 13:48:52 UTC
+++ src/gpodder/util.py
@@ -1833,7 +1833,7 @@ def unix_get_active_interfaces():
process = subprocess.Popen(['ifconfig'], stdout=subprocess.PIPE)
stdout, _ = process.communicate()
for i in re.split('\n(?!\t)', stdout, re.MULTILINE):
- b = re.match('(\\w+):.*status: active$', i, re.MULTILINE | re.DOTALL)
+ b = re.match('(\\w+):.*status: (active|associated)$', i, re.MULTILINE | re.DOTALL)
if b:
yield b.group(1)