void-packages/srcpkgs/hydrogen/patches/jack_detection.patch

18 lines
590 B
Diff
Raw Normal View History

2013-02-20 15:21:38 +01:00
Fails to detect jack is version contains another dot, i.e "x.x.x.x"
--- Sconstruct.orig 2013-02-20 15:16:36.035716875 +0100
+++ Sconstruct 2013-02-20 15:16:57.218211973 +0100
@@ -322,10 +322,11 @@ def get_hydrogen_gui( lib_hydrogen , opt
def get_jack_api_flags(xenv, pkg_ver):
- (major, minor, patch) = pkg_ver.rstrip().split('.')
+ (major, minor, patch, micro) = pkg_ver.rstrip().split('.')
major = int(major)
minor = int(minor)
patch = int(patch)
+ micro = int(micro)
rv = ""
if (major == 0) and (minor < 102):
rv = "-DJACK_NO_BBT_OFFSET"