Date: Mon, 21 Sep 2020 10:45:15 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 249504] devel/gn: Fix build on 11.4 and 11-STABLE Message-ID: <bug-249504-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249504 Bug ID: 249504 Summary: devel/gn: Fix build on 11.4 and 11-STABLE Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: o.hushchenkov@gmail.com Created attachment 218140 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218140&action= =3Dedit Patch v1 Undefine major()/minor() from sys/types.h. Reported and submitted by @kib via email. This fixes name conflict: In file included from ../src/gn/function_process_file_template_unittest.cc:= 6: In file included from ../src/gn/test_with_scope.h:12: In file included from ../src/gn/build_settings.h:21: ./src/gn/version.h:18:7: error: expected ')' /usr/include/sys/types.h:372:42: note: expanded from macro 'major' #define major(x) ((int)(((u_int)(x) >> 8)&0xff)) /* major number */ ^ ./src/gn/version.h:18:7: note: to match this '(' /usr/include/sys/types.h:372:24: note: expanded from macro 'major' #define major(x) ((int)(((u_int)(x) >> 8)&0xff)) /* major number */ ^ --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249504-7788>