summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdk/recipes/patches/libjpegturbo/ppc-amigaos/jmemmgr.c.p10
-rw-r--r--sdk/recipes/patches/libjpegturbo/ppc-amigaos/simd.jsimd_powerpc.c.p26
2 files changed, 0 insertions, 36 deletions
diff --git a/sdk/recipes/patches/libjpegturbo/ppc-amigaos/jmemmgr.c.p b/sdk/recipes/patches/libjpegturbo/ppc-amigaos/jmemmgr.c.p
deleted file mode 100644
index f0bf615..0000000
--- a/sdk/recipes/patches/libjpegturbo/ppc-amigaos/jmemmgr.c.p
+++ b/dev/null
@@ -1,10 +0,0 @@
---- jmemmgr.c.old 2016-10-05 22:58:26.559475774 +0000
-+++ jmemmgr.c 2016-10-05 23:00:00.731473878 +0000
-@@ -32,6 +32,7 @@
- #include "jinclude.h"
- #include "jpeglib.h"
- #include "jmemsys.h" /* import the system-dependent declarations */
-+#include <limits.h>
- #include <stdint.h>
-
- #ifndef NO_GETENV
diff --git a/sdk/recipes/patches/libjpegturbo/ppc-amigaos/simd.jsimd_powerpc.c.p b/sdk/recipes/patches/libjpegturbo/ppc-amigaos/simd.jsimd_powerpc.c.p
deleted file mode 100644
index 4220c5d..0000000
--- a/sdk/recipes/patches/libjpegturbo/ppc-amigaos/simd.jsimd_powerpc.c.p
+++ b/dev/null
@@ -1,26 +0,0 @@
---- simd/jsimd_powerpc.c
-+++ simd/jsimd_powerpc.c
-@@ -14,6 +14,10 @@
- * PowerPC architecture.
- */
-
-+#ifdef __amigaos4__
-+#include <proto/exec.h>
-+#endif
-+
- #define JPEG_INTERNALS
- #include "../jinclude.h"
- #include "../jpeglib.h"
-@@ -116,6 +120,11 @@ init_simd (void)
- if (bufsize > SOMEWHAT_SANE_PROC_CPUINFO_SIZE_LIMIT)
- break;
- }
-+#elif defined(__amigaos4__)
-+ uint32 altivec = 0;
-+ IExec->GetCPUInfoTags(GCIT_VectorUnit, &altivec, TAG_DONE);
-+ if(altivec == VECTORTYPE_ALTIVEC)
-+ simd_support |= JSIMD_ALTIVEC;
- #endif
-
- /* Force different settings through environment variables */
-