Opened 15 years ago
Closed 13 years ago
#22060 closed defect (fixed)
Sphinx: Russian morphology on PowerPC
Reported by: | serg.minaev@… | Owned by: | brett@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | powerpc | Cc: | jmroot (Joshua Root) |
Port: | sphinx |
Description
Russian morphology (stem_ru) in Sphinx 0.9.8.1 can't work on PowerPC mac because of big-endian byte order.
File src/sphinxstemru.cpp contains a table of russian letters in little-endian byte order. It works only on x86 computer.
To fix it apply attached patch when building on PowerPC computer.
Attachments (1)
Change History (8)
Changed 15 years ago by serg.minaev@…
Attachment: | sphinx-0.9.8.1-big-endian.patch added |
---|
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to brett@… |
---|
comment:2 Changed 15 years ago by jmroot (Joshua Root)
If you do it right and choose between the two definitions with #ifdef __BIG_ENDIAN__
you could even send the patch upstream.
comment:3 Changed 14 years ago by jmroot (Joshua Root)
Is this still a problem with 0.9.9? If so, has it been reported upstream?
comment:4 Changed 14 years ago by jmroot (Joshua Root)
Cc: | jmr@… added |
---|
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | powerpc added |
---|---|
Summary: | Sphinx: russain morphology on PowerPC → Sphinx: Russian morphology on PowerPC |
serg, could you answer the question asked above (in the ticket)?
comment:6 Changed 13 years ago by serg.minaev@…
It seems to be a problem in 0.9.9 and even in 2.0.2beta. I have not reported it upstream.
comment:7 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch added in r87626. Upstream bug report created: http://sphinxsearch.com/bugs/view.php?id=1007
patch for building on PowerPC