tawasuyu

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

TOML 1574Shell 204Rust 111Markdown 993763 Definiciones

⎇ 08fdec3bbfb0b812d91f80c84e96e04f5332a29c tandas/staged-2026-06-26/libpng-fix-arm-neon.patch 39 líneas · 1.6 KB Historia crudo

Etapa G: fuel-5 — recarga la cola del VPS (parado 14h sin producir) 08fdec3bb · sergio ·

1diff --git a/configure.ac b/configure.ac
2index 7b6d5b9..d02e16d 100644
3--- a/configure.ac
4+++ b/configure.ac
5@@ -357,17 +357,21 @@ AC_ARG_ENABLE([arm-neon],
6    [case "$enableval" in
7       no|off)
8          # disable the default enabling on __ARM_NEON__ systems:
9+         AC_DEFINE([PNG_ARM_NEON], [], [ARM NEON support])
10          AC_DEFINE([PNG_ARM_NEON_OPT], [0],
11                    [Disable ARM Neon optimizations])
12          # Prevent inclusion of the assembler files below:
13          enable_arm_neon=no ;;
14       check)
15+         AC_DEFINE([PNG_ARM_NEON], [], [ARM NEON support])
16          AC_DEFINE([PNG_ARM_NEON_CHECK_SUPPORTED], [],
17                    [Check for ARM Neon support at run-time]);;
18       api)
19+         AC_DEFINE([PNG_ARM_NEON], [], [ARM NEON support])
20          AC_DEFINE([PNG_ARM_NEON_API_SUPPORTED], [],
21                    [Turn on ARM Neon optimizations at run-time]);;
22       yes|on)
23+         AC_DEFINE([PNG_ARM_NEON], [], [ARM NEON support])
24          AC_DEFINE([PNG_ARM_NEON_OPT], [2],
25                    [Enable ARM Neon optimizations])
26          AC_MSG_WARN([--enable-arm-neon: please specify 'check' or 'api', if]
27diff --git a/pngpriv.h b/pngpriv.h
28index 2e426cf..fb521cf 100644
29--- a/pngpriv.h
30+++ b/pngpriv.h
31@@ -127,7 +127,7 @@
32     * associated assembler code, pass --enable-arm-neon=no to configure
33     * or put -DPNG_ARM_NEON_OPT=0 in CPPFLAGS.
34     */
35-#  if (defined(__ARM_NEON__) || defined(__ARM_NEON)) && \
36+#  if defined(PNG_ARM_NEON) && (defined(__ARM_NEON__) || defined(__ARM_NEON)) && \
37    defined(PNG_ALIGNED_MEMORY_SUPPORTED)
38 #     define PNG_ARM_NEON_OPT 2
39 #  else