<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<span style="text-wrap:nowrap;">Source: <span
style="text-wrap:nowrap;">haskell-charsetdetect-ae</span>
</span><br>
<span style="text-wrap:nowrap;">Version: <span
style="white-space-collapse:collapse;"><span style="white-space: pre;"> </span>1.1.0.4-5</span>
</span><br>
<span style="text-wrap:nowrap;">Severity: wishlist </span><br>
<span style="text-wrap:nowrap;">Tags: patch </span><br>
<span style="text-wrap:nowrap;">User:
<a class="moz-txt-link-abbreviated" href="mailto:debian-loongarch@lists.debian.org">debian-loongarch@lists.debian.org</a></span><br>
<span style="text-wrap:nowrap;">Usertags: loong64</span><br>
<span style="text-wrap:nowrap;"><br>
</span><br>
<span style="text-wrap:nowrap;">Dear Maintainer,</span><br>
<br>
<span style="text-wrap:nowrap;"> Unsupportted arch error happend
when compiling f<span style="text-wrap:nowrap;">haskell-charsetdetect-ae</span> in
Loongarch env.</span><br>
<p> <span style="text-wrap:nowrap;">The error message is following:</span>
</p>
<p> <span style="text-wrap:nowrap;">libcharsetdetect/nspr-emu/prcpucfg_linux.h:703:2:
error:</span><br>
</p>
<span style="text-wrap:nowrap;"> error: #error "Unknown CPU
architecture"</span><br>
<span style="text-wrap:nowrap;"> 703 | #error "Unknown CPU
architecture"</span><br>
<span style="text-wrap:nowrap;"> | ^~~~~</span><br>
<span style="text-wrap:nowrap;"> |</span><br>
<span style="text-wrap:nowrap;">703 | #error "Unknown CPU
architecture"</span><br>
<span style="text-wrap:nowrap;"> | ^</span><br>
<span style="text-wrap:nowrap;"><br>
</span><br>
<span style="text-wrap:nowrap;">libcharsetdetect/nspr-emu/prtypes.h:258:2:
error:</span><br>
<span style="text-wrap:nowrap;"> error: #error No suitable type
for PRInt8/PRUint8</span><br>
<span style="text-wrap:nowrap;"> 258 | #error No suitable type
for PRInt8/PRUint8</span><br>
<span style="text-wrap:nowrap;"> | ^~~~~</span><br>
<div style="white-space:nowrap;"> <br>
</div>
<br>
<span style="text-wrap:nowrap;">I have verified and compiled pass by
adding loong64 support in my local env.</span><br>
<span style="text-wrap:nowrap;">Attached the patch.</span><br>
<br>
<span style="text-wrap:nowrap;">Please add support for it. Thanks!</span><br>
<span style="text-wrap:nowrap;">Any question, contact me!</span><br>
</body>
</html>