Source: haskell-charsetdetect-ae
Version: 1.1.0.4-5
Severity: wishlist
Tags: patch
User: debian-loonga...@lists.debian.org
Usertags: loong64


Dear Maintainer,

    Unsupportted arch error happend when compiling fhaskell-charsetdetect-ae in Loongarch env.

The error message is following:

libcharsetdetect/nspr-emu/prcpucfg_linux.h:703:2: error:

     error: #error "Unknown CPU architecture"
      703 | #error "Unknown CPU architecture"
          |  ^~~~~
    |
703 | #error "Unknown CPU architecture"
    |  ^


libcharsetdetect/nspr-emu/prtypes.h:258:2: error:
     error: #error No suitable type for PRInt8/PRUint8
      258 | #error No suitable type for PRInt8/PRUint8
          |  ^~~~~


I have verified and compiled pass by adding loong64 support in my local env.
Attached the  patch.

Please add support for it. Thanks!
Any question, contact me!

Attachment: add-loongarch-support.patch
Description: Binary data

Reply via email to