Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Conversation

Ast-x64
Copy link
Contributor

@Ast-x64 Ast-x64 commented Nov 19, 2021

No description provided.

prepare() {
cd "${pkgname}-${pkgver}"
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+ cargo fetch --locked --target "riscv64gc-unknown-linux-gnu"
Copy link
Collaborator

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.

Comment on lines +25 to +26
+ cd ~/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.17.0/src/sys/ptrace
+ patch -Np1 -i "${srcdir}/fix_ptrace_enum.patch"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nix-0.23.0is 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> {
Copy link
Collaborator

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?

@r-value
Copy link
Collaborator

r-value commented Mar 29, 2022

Any updates?

hack3ric added a commit to hack3ric/archriscv-packages that referenced this pull request Aug 10, 2023
Apply upstream char fix. Supersedes felixonmars#384.
hack3ric added a commit to hack3ric/archriscv-packages that referenced this pull request Aug 10, 2023
Apply upstream char fix. Supersedes felixonmars#384.
hack3ric added a commit to hack3ric/archriscv-packages that referenced this pull request Aug 10, 2023
Apply upstream char fix. Supersedes felixonmars#384.
hack3ric added a commit to hack3ric/archriscv-packages that referenced this pull request Aug 10, 2023
Apply upstream char fix. Supersedes felixonmars#384.
felixonmars pushed a commit that referenced this pull request Aug 13, 2023
Apply upstream char fix. Supersedes #384.
@Xeonacid
Copy link
Collaborator

Superseded by #2895 , closing.

@Xeonacid Xeonacid closed this Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants