Make libxcb compile with gcc 4.9.

This commit is contained in:
Todd Gamblin 2016-01-18 03:02:58 -08:00
parent 047f1b9de9
commit 01c5b53ba1

View file

@ -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)