Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:A
translate-toolkit
test-mo-endian.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File test-mo-endian.patch of Package translate-toolkit
Tell msgfmt to use the same byte order as pocompile Index: translate-toolkit-2.5.0/translate/storage/test_mo.py =================================================================== --- translate-toolkit-2.5.0.orig/translate/storage/test_mo.py +++ translate-toolkit-2.5.0/translate/storage/test_mo.py @@ -147,7 +147,7 @@ class TestMOFile(test_base.TestTranslati with open(PO_FILE, 'wb') as out_file: out_file.write(posource) - subprocess.call(['msgfmt', PO_FILE, '-o', MO_MSGFMT]) + subprocess.call(['msgfmt', PO_FILE, '-o', MO_MSGFMT, '--endianness', sys.byteorder]) subprocess.call(['pocompile', '--errorlevel=traceback', PO_FILE, MO_POCOMPILE]) store = factory.getobject(BytesIO(posource))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor