-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
addpkg: libredefender #384
Conversation
prepare() { | ||
cd "${pkgname}-${pkgver}" | ||
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu" | ||
+ cargo fetch --locked --target "riscv64gc-unknown-linux-gnu" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's a good idea to substitute the variables with specific values, which reduces the generality of PKGBUILD
.
+ cd ~/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.17.0/src/sys/ptrace | ||
+ patch -Np1 -i "${srcdir}/fix_ptrace_enum.patch" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nix-0.23.0
is available and compatible with RISC-V, please remove the patch and bump the dependency instead.
unsafe impl Sync for Engine {} | ||
|
||
-fn map_scan_result(result: cl_error_t, virname: *const i8) -> Result<ScanResult, ClamError> { | ||
+fn map_scan_result(result: cl_error_t, virname: *const u8) -> Result<ScanResult, ClamError> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these changes compatible with x86_64? I really don't think that it's the source of the problem, could you please explain the reasons for this patch further?
Any updates? |
Apply upstream char fix. Supersedes felixonmars#384.
Apply upstream char fix. Supersedes felixonmars#384.
Apply upstream char fix. Supersedes felixonmars#384.
Apply upstream char fix. Supersedes felixonmars#384.
Apply upstream char fix. Supersedes #384.
Superseded by #2895 , closing. |
No description provided.