head 1.12; access; symbols pkgsrc-2026Q1:1.12.0.130 pkgsrc-2026Q1-base:1.12 pkgsrc-2025Q4:1.12.0.128 pkgsrc-2025Q4-base:1.12 pkgsrc-2025Q3:1.12.0.126 pkgsrc-2025Q3-base:1.12 pkgsrc-2025Q2:1.12.0.124 pkgsrc-2025Q2-base:1.12 pkgsrc-2025Q1:1.12.0.122 pkgsrc-2025Q1-base:1.12 pkgsrc-2024Q4:1.12.0.120 pkgsrc-2024Q4-base:1.12 pkgsrc-2024Q3:1.12.0.118 pkgsrc-2024Q3-base:1.12 pkgsrc-2024Q2:1.12.0.116 pkgsrc-2024Q2-base:1.12 pkgsrc-2024Q1:1.12.0.114 pkgsrc-2024Q1-base:1.12 pkgsrc-2023Q4:1.12.0.112 pkgsrc-2023Q4-base:1.12 pkgsrc-2023Q3:1.12.0.110 pkgsrc-2023Q3-base:1.12 pkgsrc-2023Q2:1.12.0.108 pkgsrc-2023Q2-base:1.12 pkgsrc-2023Q1:1.12.0.106 pkgsrc-2023Q1-base:1.12 pkgsrc-2022Q4:1.12.0.104 pkgsrc-2022Q4-base:1.12 pkgsrc-2022Q3:1.12.0.102 pkgsrc-2022Q3-base:1.12 pkgsrc-2022Q2:1.12.0.100 pkgsrc-2022Q2-base:1.12 pkgsrc-2022Q1:1.12.0.98 pkgsrc-2022Q1-base:1.12 pkgsrc-2021Q4:1.12.0.96 pkgsrc-2021Q4-base:1.12 pkgsrc-2021Q3:1.12.0.94 pkgsrc-2021Q3-base:1.12 pkgsrc-2021Q2:1.12.0.92 pkgsrc-2021Q2-base:1.12 pkgsrc-2021Q1:1.12.0.90 pkgsrc-2021Q1-base:1.12 pkgsrc-2020Q4:1.12.0.88 pkgsrc-2020Q4-base:1.12 pkgsrc-2020Q3:1.12.0.86 pkgsrc-2020Q3-base:1.12 pkgsrc-2020Q2:1.12.0.82 pkgsrc-2020Q2-base:1.12 pkgsrc-2020Q1:1.12.0.62 pkgsrc-2020Q1-base:1.12 pkgsrc-2019Q4:1.12.0.84 pkgsrc-2019Q4-base:1.12 pkgsrc-2019Q3:1.12.0.80 pkgsrc-2019Q3-base:1.12 pkgsrc-2019Q2:1.12.0.78 pkgsrc-2019Q2-base:1.12 pkgsrc-2019Q1:1.12.0.76 pkgsrc-2019Q1-base:1.12 pkgsrc-2018Q4:1.12.0.74 pkgsrc-2018Q4-base:1.12 pkgsrc-2018Q3:1.12.0.72 pkgsrc-2018Q3-base:1.12 pkgsrc-2018Q2:1.12.0.70 pkgsrc-2018Q2-base:1.12 pkgsrc-2018Q1:1.12.0.68 pkgsrc-2018Q1-base:1.12 pkgsrc-2017Q4:1.12.0.66 pkgsrc-2017Q4-base:1.12 pkgsrc-2017Q3:1.12.0.64 pkgsrc-2017Q3-base:1.12 pkgsrc-2017Q2:1.12.0.60 pkgsrc-2017Q2-base:1.12 pkgsrc-2017Q1:1.12.0.58 pkgsrc-2017Q1-base:1.12 pkgsrc-2016Q4:1.12.0.56 pkgsrc-2016Q4-base:1.12 pkgsrc-2016Q3:1.12.0.54 pkgsrc-2016Q3-base:1.12 pkgsrc-2016Q2:1.12.0.52 pkgsrc-2016Q2-base:1.12 pkgsrc-2016Q1:1.12.0.50 pkgsrc-2016Q1-base:1.12 pkgsrc-2015Q4:1.12.0.48 pkgsrc-2015Q4-base:1.12 pkgsrc-2015Q3:1.12.0.46 pkgsrc-2015Q3-base:1.12 pkgsrc-2015Q2:1.12.0.44 pkgsrc-2015Q2-base:1.12 pkgsrc-2015Q1:1.12.0.42 pkgsrc-2015Q1-base:1.12 pkgsrc-2014Q4:1.12.0.40 pkgsrc-2014Q4-base:1.12 pkgsrc-2014Q3:1.12.0.38 pkgsrc-2014Q3-base:1.12 pkgsrc-2014Q2:1.12.0.36 pkgsrc-2014Q2-base:1.12 pkgsrc-2014Q1:1.12.0.34 pkgsrc-2014Q1-base:1.12 pkgsrc-2013Q4:1.12.0.32 pkgsrc-2013Q4-base:1.12 pkgsrc-2013Q3:1.12.0.30 pkgsrc-2013Q3-base:1.12 pkgsrc-2013Q2:1.12.0.28 pkgsrc-2013Q2-base:1.12 pkgsrc-2013Q1:1.12.0.26 pkgsrc-2013Q1-base:1.12 pkgsrc-2012Q4:1.12.0.24 pkgsrc-2012Q4-base:1.12 pkgsrc-2012Q3:1.12.0.22 pkgsrc-2012Q3-base:1.12 pkgsrc-2012Q2:1.12.0.20 pkgsrc-2012Q2-base:1.12 pkgsrc-2012Q1:1.12.0.18 pkgsrc-2012Q1-base:1.12 pkgsrc-2011Q4:1.12.0.16 pkgsrc-2011Q4-base:1.12 pkgsrc-2011Q3:1.12.0.14 pkgsrc-2011Q3-base:1.12 pkgsrc-2011Q2:1.12.0.12 pkgsrc-2011Q2-base:1.12 pkgsrc-2011Q1:1.12.0.10 pkgsrc-2011Q1-base:1.12 pkgsrc-2010Q4:1.12.0.8 pkgsrc-2010Q4-base:1.12 pkgsrc-2010Q3:1.12.0.6 pkgsrc-2010Q3-base:1.12 pkgsrc-2010Q2:1.12.0.4 pkgsrc-2010Q2-base:1.12 pkgsrc-2010Q1:1.12.0.2 pkgsrc-2010Q1-base:1.12 pkgsrc-2009Q4:1.11.0.8 pkgsrc-2009Q4-base:1.11 pkgsrc-2009Q3:1.11.0.6 pkgsrc-2009Q3-base:1.11 pkgsrc-2009Q2:1.11.0.4 pkgsrc-2009Q2-base:1.11 pkgsrc-2009Q1:1.11.0.2 pkgsrc-2009Q1-base:1.11 pkgsrc-2008Q4:1.9.0.8 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.6 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.4 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.2 pkgsrc-2008Q2-base:1.9 pkgsrc-2008Q1:1.8.0.2 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.5.0.6 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.4 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.2 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.3.0.4 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.2 pkgsrc-2006Q4-base:1.3; locks; strict; comment @# @; 1.12 date 2010.02.07.16.12.25; author wiz; state Exp; branches; next 1.11; 1.11 date 2009.03.23.17.10.21; author tron; state Exp; branches; next 1.10; 1.10 date 2009.01.26.14.08.13; author sketch; state Exp; branches; next 1.9; 1.9 date 2008.04.11.16.58.47; author drochner; state dead; branches; next 1.8; 1.8 date 2008.02.29.16.58.14; author tnn; state Exp; branches; next 1.7; 1.7 date 2008.02.28.19.28.24; author drochner; state dead; branches; next 1.6; 1.6 date 2008.01.23.11.24.47; author tnn; state Exp; branches; next 1.5; 1.5 date 2007.04.12.17.53.41; author joerg; state Exp; branches; next 1.4; 1.4 date 2007.04.10.16.09.42; author drochner; state dead; branches; next 1.3; 1.3 date 2006.11.24.13.02.49; author drochner; state Exp; branches; next 1.2; 1.2 date 2006.10.23.18.39.24; author drochner; state Exp; branches; next 1.1; 1.1 date 2006.10.19.14.27.33; author drochner; state Exp; branches; next ; desc @@ 1.12 log @regen, line numbers were too high and patch warned about it. No effective changes. @ text @$NetBSD: patch-aa,v 1.11 2009/03/23 17:10:21 tron Exp $ The first patch fixes the build under Mac OS X PowerPC, see here: https://bugs.freedesktop.org/show_bug.cgi?id=20815 --- configure.orig 2010-02-04 20:36:06.000000000 +0000 +++ configure @@@@ -11586,6 +11586,12 @@@@ int main () { +#ifdef __APPLE__ +#ifdef __ppc__ +#error Assembler support is broken under Mac OS X PowerPC. +#endif +#endif + #ifndef __GNUC__ #error Not GCC #endif @@@@ -13652,6 +13658,9 @@@@ main () #error GCC before 4.2 has critical bugs compiling SSE2 intrinsics #endif #endif +#ifdef __SUNPRO_C +#error Sun Studio SSE2 intrinsics support does not work for this package +#endif __m128i a; a = _mm_setzero_si128(); a = _mm_srli_epi16(a,8) ; return 0; @ 1.11 log @Fix the build under Mac OS X PowerPC by disabling the assembler routines. @ text @d1 1 a1 1 $NetBSD$ d7 3 a9 3 --- configure.orig 2009-03-19 05:41:27.000000000 +0000 +++ configure 2009-03-23 16:58:20.000000000 +0000 @@@@ -11668,6 +11668,12 @@@@ d22 1 a22 1 @@@@ -17694,6 +17700,9 @@@@ @ 1.10 log @Although the Sun Studio compiler fools configure into thinking it supports the necessary SSE2 instructions, the actual source doesn't build, so explicitly disable it. @ text @d3 20 a22 3 --- configure.orig Mon Jan 26 13:57:43 2009 +++ configure Mon Jan 26 13:58:58 2009 @@@@ -16800,6 +16800,9 @@@@ @ 1.9 log @update to 0.3.14 sorry, no changelog available (The only message to the subject in the mailing list says "Release notes tomorrow".), a number of bugfixes afaict @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.8 2008/02/29 16:58:14 tnn Exp $ d3 8 a10 22 --- configure.orig 2008-02-29 17:53:58.000000000 +0100 +++ configure @@@@ -16369,6 +16369,79 @@@@ fi + { echo "$as_me:$LINENO: checking if compiler supports 'pmaddubsw %%mm0, %%mm0' asm instruction" >&5 +echo $ECHO_N "checking if compiler supports 'pmaddubsw %%mm0, %%mm0' asm instruction... $ECHO_C" >&6; } + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + +#ifndef __GNUC__ +#error Not GCC d12 3 a14 59 +#ifdef __GNUC_MINOR__ +#if (__GNUC__ * 1000 + __GNUC_MINOR__) < 3004 +#error GCC before 3.4 has critical bugs compiling inline assembly +#endif +#endif +__asm__ ("pmaddubsw %%mm0, %%mm0"::) + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + flag_ok=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + flag_ok=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + if test "X$flag_ok" = Xyes ; then + HAVE_SSSE3_ASM=yes + true + else + HAVE_SSSE3_ASM=no + true + fi + { echo "$as_me:$LINENO: result: $flag_ok" >&5 +echo "${ECHO_T}$flag_ok" >&6; } + +if test "x$HAVE_SSSE3_ASM" = xyes ; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_SSSE3_ASM 1 +_ACEOF + +fi + + cat >>confdefs.h <<\_ACEOF #define OIL_EXPORTS 1 _ACEOF @ 1.8 log @Patches for upstream commit c77faaaa2fc48586902878ba33bd01286654dcb6: - Add workaround for older versions of gas that don't have SSE3 support Reported in PR pkg/38126. @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @update to 0.3.13 This release merges lots of distributions patches and bug fixes and adds new functionality used by the upcoming (now!) release of Schroedinger-1.0.0. pkgsrc note: someone with an arm (pun intended), or who knows how to detect a "VFP" might want to tune the cpu feature detection code @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.6 2008/01/23 11:24:47 tnn Exp $ d3 3 a5 10 --- liboil/liboilcpu.c.orig 2007-04-11 08:25:16.000000000 +0200 +++ liboil/liboilcpu.c @@@@ -578,7 +578,7 @@@@ oil_cpu_detect_getisax (void) static void oil_cpu_detect_kernel_support (void) { -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__DragonFly__) int ret, enabled; size_t len; d7 78 a84 9 @@@@ -598,7 +598,7 @@@@ oil_cpu_detect_kernel_support (void) /* Solaris is OK */ #elif defined(__NetBSD__) /* NetBSD is OK */ -#elif +#else /* If we don't know that the operating system supports SSE, don't trust that * it will properly support it. @ 1.6 log @Fix bad preprocessor conditional. PR pkg/37849. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Fix build on DragonFly. @ text @d3 1 a3 1 --- liboil/liboilcpu.c.orig 2007-04-12 17:34:43.000000000 +0000 d5 1 a5 1 @@@@ -574,7 +574,7 @@@@ oil_cpu_detect_getisax (void) d14 9 @ 1.4 log @update to 0.3.11 changes: - Finally integrated the SSE stack realignment wrappers and reenabled the SSE intrinsics code. - Migrated some new classes from Schroedinger for adding/subtracting s16 and u8 values. - Improved CPU detection on Solaris - Remove XScale timestamping function, since it's not available from user space - Export oil_debug_print(), so the OIL_DEBUG() macros can be used outside the library. - Various new implementations. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2006/11/24 13:02:49 drochner Exp $ d3 1 a3 1 --- liboil/liboilcpu.c.orig 2006-11-06 02:37:03.000000000 +0100 d5 8 a12 13 @@@@ -518,6 +518,14 @@@@ oil_cpu_detect_cpuid (void) OIL_INFO("L2 cache: %d kbytes, %d assoc, %d lines/tag, %d line size", (ecx>>16)&0xffff, (ecx>>12)&0xf, (ecx>>8)&0xf, ecx&0xff); } + +#ifdef __i386__ + /* + * gcc (4.1) doesn't get the alignment of automatic __m128i variables + * right, leading to GPFs depending on stack alignment on function call. + */ + oil_cpu_flags &= ~(OIL_IMPL_FLAG_SSE2 | OIL_IMPL_FLAG_SSE3); +#endif } a13 1 /* Reduce the set of CPU capabilities detected by whatever detection mechanism @ 1.3 log @update to 0.3.10 changes: - Lots of new classes and implementations were added for Schrödinger. - Several i386 implementations also compile on amd64, so these were copied over to a separate directory and are now enabled on amd64. - Feature detection on amd64 has been fixed. - All known startup warnings have been fixed. - The core now handles arrays that are 'N plus a constant' in length. - Wrap a bunch of functions in HAVE_UNALIGNED_ACCESS to indicate that they require an architecture that handles unaligned access. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @-Fix compiler errors with gcc-3.3.3 on i386, reported by Robert Elz per PR pkg/34886. Just #ifdef out the code on i386; it was disabled at another layer anyway (due to alignment problems with any gcc on i386). Thanks to Robert for testing. -Make sure cpuid is read on amd64, to enable mmx/sse support. (We could just assume it, but for the future this makes more sense.) -bump PKGREVISION @ text @d3 1 a3 1 --- liboil/liboilcpu.c.orig 2006-05-23 02:07:56.000000000 +0200 d6 1 a6 1 OIL_WARNING("L2 cache: %d kbytes, %d assoc, %d lines/tag, %d line size\n", a19 18 @@@@ -542,7 +550,7 @@@@ oil_cpu_detect_kernel_support (void) OIL_IMPL_FLAG_MMXEXT | OIL_IMPL_FLAG_SSE3); } #endif -#if !defined(__linux__) && !defined(__FreeBSD__) +#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__NetBSD__) /* If we don't know that the operating system supports SSE, don't trust that * it will properly support it. */ @@@@ -743,7 +751,7 @@@@ oil_cpu_detect_mips(void) static void oil_cpu_detect_arch(void) { -#ifdef __i386__ +#if defined(__i386__) || defined(__amd64__) oil_cpu_detect_i386(); #endif #if defined(__powerpc__) || defined(__PPC__) || defined(__ppc__) @ 1.1 log @update to 0.3.9 Most changes (since 0.3.6) were done in 0.3.7 appearently, where no changelog doesn't exist for. I see many additions of MMX/SSE optimized functions. The rest is bugfixes. Pkgsrc patch: SSE2/3 are disabled on i386 for now because gcc doesn't ensure stack alignment for automatic 128-bit variables. Future liboil versions will work around this. See http://lists.freedesktop.org/archives/liboil/2006-August/000102.html and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=368991 @ text @d29 9 @