From: zenny <zenny@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Lightzone-4.2.4 compilation issue
Date: Sun, 18 Feb 2024 07:48:04 +0100 [thread overview]
Message-ID: <20240218064804.B9599299F5@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48791@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1193 bytes --]
New comment by zenny on void-packages repository
https://github.com/void-linux/void-packages/issues/48791#issuecomment-1950981417
Comment:
> > ` [exec] LC_lensfun.cpp:16:1: note: 'uintptr_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?`
>
> patch that file to include cstdint
Thanks @classabbyamp, but where to inside the patch file, provided by upstream as of below?
```
Fixes bad macro checks, breaking altivec build.
--- a/lightcrafts/jnisrc/jai/bilateralFilter_sse.c
+++ b/lightcrafts/jnisrc/jai/bilateralFilter_sse.c
@@ -188,7 +188,7 @@ static inline void reset_denormals(csr_context oldMXCSR) {
#endif // defined(__i386__) || defined(__x86_64__)
-#if defined(__ppc__) || defined(__ppc64__)
+#if defined(__powerpc__) || defined(__powerpc64__)
#include <altivec.h>
static inline vFloat loadUnalignedFloat( float *target )
@@ -253,7 +253,7 @@ static void reset_denormals( csr_context oldJavaMode ) {
vec_mtvscr ( oldJavaMode );
}
-#endif // defined(__ppc__) || defined(__ppc64__)
+#endif // defined(__powerpc__) || defined(__powerpc64__)
#endif // defined(__SSE2__) || defined (__VEC__)
#if USE_VECTOR
```
next prev parent reply other threads:[~2024-02-18 6:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-17 7:55 [ISSUE] " zenny
2024-02-17 8:14 ` classabbyamp
2024-02-17 8:15 ` classabbyamp
2024-02-18 6:48 ` zenny [this message]
2024-02-18 7:16 ` classabbyamp
2024-05-19 1:48 ` github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240218064804.B9599299F5@inbox.vuxu.org \
--to=zenny@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).