Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 603254 Details for
Bug 705286
media-libs/gegl-0.4.18: Compilation error due to non-ascii characters in opencl/gblur-1d.cl.h
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gegl-0.4.18-cltostring_force_utf8.patch
gegl-0.4.18-cltostring_force_utf8.patch (text/plain), 913 bytes, created by
Sergey Torokhov
on 2020-01-14 08:06:03 UTC
(
hide
)
Description:
gegl-0.4.18-cltostring_force_utf8.patch
Filename:
MIME Type:
Creator:
Sergey Torokhov
Created:
2020-01-14 08:06:03 UTC
Size:
913 bytes
patch
obsolete
>--- a/opencl/cltostring.py 2019-10-27 02:01:07.000000000 +0300 >+++ b/opencl/cltostring_io.py 2020-01-12 21:22:25.000000000 +0300 >@@ -1,8 +1,10 @@ > #!/usr/bin/env python > from __future__ import print_function >+from __future__ import unicode_literals > > import os > import sys >+import io > > # Search for lines that look like #include "blah.h" and replace them > # with the contents of blah.h. >@@ -34,12 +36,12 @@ > > > if len(sys.argv) == 2: >- infile = open(sys.argv[1], "r") >- outfile = open(sys.argv[1] + '.h', "w") >+ infile = io.open(sys.argv[1], "r", encoding="utf-8") >+ outfile = io.open(sys.argv[1] + '.h', "w", encoding="utf-8") > > elif len(sys.argv) == 3: >- infile = open(sys.argv[1], "r") >- outfile = open(sys.argv[2], "w") >+ infile = io.open(sys.argv[1], "r", encoding="utf-8") >+ outfile = io.open(sys.argv[2], "w", encoding="utf-8") > > else: > print("Usage: %s input [output]" % sys.argv[0])
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 705286
:
603096
|
603140
| 603254 |
603256
|
603302
|
603304
|
603306
|
603308
|
603310