FreeBSD Bugzilla – Attachment 217321 Details for
Bug 248736
devel/json-glib: Fix build with clang 11
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build with -fno-common (clang 11 and gcc 10)
devel__json-glib-fix-common-1.diff (text/plain), 1.02 KB, created by
Dimitry Andric
on 2020-08-18 21:11:30 UTC
(
hide
)
Description:
Fix build with -fno-common (clang 11 and gcc 10)
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2020-08-18 21:11:30 UTC
Size:
1.02 KB
patch
obsolete
>Index: devel/json-glib/files/patch-json-glib_json-scanner.c >=================================================================== >--- devel/json-glib/files/patch-json-glib_json-scanner.c (nonexistent) >+++ devel/json-glib/files/patch-json-glib_json-scanner.c (working copy) >@@ -0,0 +1,11 @@ >+--- json-glib/json-scanner.c.orig 2020-08-18 18:22:53 UTC >++++ json-glib/json-scanner.c >+@@ -925,7 +925,7 @@ json_scanner_get_token_i (JsonScanner *scanner, >+ >+ case G_TOKEN_SYMBOL: >+ if (scanner->config->symbol_2_token) >+- *token_p = (GTokenType) value_p->v_symbol; >++ *token_p = GPOINTER_TO_INT (value_p->v_symbol); >+ break; >+ >+ case G_TOKEN_BINARY: > >Property changes on: devel/json-glib/files/patch-json-glib_json-scanner.c >___________________________________________________________________ >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
Actions:
View
|
Diff
Attachments on
bug 248736
: 217321