FreeBSD Bugzilla – Attachment 218140 Details for
Bug 249504
devel/gn: Fix build on 11.4 and 11-STABLE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch v1
gn-fix-11-stable.diff (text/plain), 1.66 KB, created by
Oleh Hushchenkov
on 2020-09-21 10:45:15 UTC
(
hide
)
Description:
Patch v1
Filename:
MIME Type:
Creator:
Oleh Hushchenkov
Created:
2020-09-21 10:45:15 UTC
Size:
1.66 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 549424) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > PORTNAME= gn > DISTVERSIONPREFIX= v > DISTVERSION= 1823 >+PORTREVISION= 1 > CATEGORIES= devel > > MAINTAINER= o.hushchenkov@gmail.com >Index: files/patch-build_gen.py >=================================================================== >--- files/patch-build_gen.py (revision 549424) >+++ files/patch-build_gen.py (working copy) >@@ -1,8 +1,8 @@ > - .git/ is missing in archive, so use version from environment > >---- build/gen.py.orig 2020-02-22 10:07:32 UTC >+--- build/gen.py.orig 2020-09-21 09:20:32 UTC > +++ build/gen.py >-@@ -124,25 +124,16 @@ def main(argv): >+@@ -149,25 +149,16 @@ def main(argv): > > > def GenerateLastCommitPosition(host, header): >Index: files/patch-src_gn_version.h >=================================================================== >--- files/patch-src_gn_version.h (nonexistent) >+++ files/patch-src_gn_version.h (working copy) >@@ -0,0 +1,18 @@ >+--- src/gn/version.h.orig 2020-09-21 09:21:46 UTC >++++ src/gn/version.h >+@@ -8,6 +8,15 @@ >+ #include <optional> >+ #include <string> >+ >++// Undefine major/minor from sys/types.h >++#ifdef major >++#undef major >++#endif >++ >++#ifdef minor >++#undef minor >++#endif >++ >+ // Represents a semantic version. >+ class Version { >+ public: > >Property changes on: files/patch-src_gn_version.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
o.hushchenkov
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 249504
: 218140