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

This patch enables bzip3 as a port for DragonFlyBSD. #1486

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ports/archivers/bzip3/Makefile.DragonFly

This file was deleted.

14 changes: 14 additions & 0 deletions ports/archivers/bzip3/dragonfly/patch-include_common.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
--- include/common.h.orig Wed Dec 6 17:20:36 2023
+++ include/common.h Thu Dec
@@ -77,9 +77,9 @@ static void write_neutral_s32(u8 * data, s32 value) {
#define prefetchw(address) __builtin_prefetch((const void *)(address), 1, 0)
#elif defined(_M_IX86) || defined(_M_AMD64) || defined(__x86_64__) || defined(i386) || defined(__i386__) || \
defined(__i386)
- #include <intrin.h>
+ #include <x86intrin.h>
#define prefetch(address) _mm_prefetch((const void *)(address), _MM_HINT_NTA)
- #define prefetchw(address) _m_prefetchw((const void *)(address))
+ #define prefetchw(address) _m_prefetchw((void *)(address))
#elif defined(_M_ARM) || defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__) || \
defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7S__)
#include <intrin.h>
Loading