diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-01-18 03:02:58 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-01-19 01:16:15 -0800 |
commit | 01c5b53ba16a95ab77918d30dfa3a63f2ef2707f (patch) | |
tree | badf6e0cf7e0d490391d36737b667dd1b84e7a51 | |
parent | 047f1b9de9befd06c511b4d72a80a8b4c40a018a (diff) | |
download | spack-01c5b53ba16a95ab77918d30dfa3a63f2ef2707f.tar.gz spack-01c5b53ba16a95ab77918d30dfa3a63f2ef2707f.tar.bz2 spack-01c5b53ba16a95ab77918d30dfa3a63f2ef2707f.tar.xz spack-01c5b53ba16a95ab77918d30dfa3a63f2ef2707f.zip |
Make libxcb compile with gcc 4.9.
-rw-r--r-- | var/spack/repos/builtin/packages/libxcb/package.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/libxcb/package.py b/var/spack/repos/builtin/packages/libxcb/package.py index 16a5525c0d..1dd5954c99 100644 --- a/var/spack/repos/builtin/packages/libxcb/package.py +++ b/var/spack/repos/builtin/packages/libxcb/package.py @@ -1,9 +1,9 @@ from spack import * class Libxcb(Package): - """The X protocol C-language Binding (XCB) is a replacement - for Xlib featuring a small footprint, latency hiding, direct - access to the protocol, improved threading support, and + """The X protocol C-language Binding (XCB) is a replacement + for Xlib featuring a small footprint, latency hiding, direct + access to the protocol, improved threading support, and extensibility.""" homepage = "http://xcb.freedesktop.org/" @@ -14,6 +14,10 @@ class Libxcb(Package): depends_on("python") depends_on("xcb-proto") + def patch(self): + filter_file('typedef struct xcb_auth_info_t {', 'typedef struct {', 'src/xcb.h') + + def install(self, spec, prefix): configure("--prefix=%s" % prefix) |