head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.2 pkgsrc-2013Q2-base:1.2; locks; strict; comment @// @; 1.2 date 2013.05.23.12.55.27; author ryoon; state dead; branches; next 1.1; commitid hOYA93csj3ibSKQw; 1.1 date 2013.05.19.08.47.41; author ryoon; state Exp; branches; next ; commitid i72N8U6dwY2uDdQw; desc @@ 1.2 log @Remove xulrunner. This does not work, and there is no consumer. @ text @$NetBSD: patch-media_libsoundtouch_src_cpu__detect__x86.cpp,v 1.1 2013/05/19 08:47:41 ryoon Exp $ --- media/libsoundtouch/src/cpu_detect_x86.cpp.orig 2013-05-11 19:19:43.000000000 +0000 +++ media/libsoundtouch/src/cpu_detect_x86.cpp @@@@ -101,7 +101,7 @@@@ uint detectCPUextensions(void) uint res = 0; -#if defined(__GNUC__) +#if defined(__GNUC__) && defined(HAVE_CPUID_H) // GCC version of cpuid. Requires GCC 4.3.0 or later for __cpuid intrinsic support. uint eax, ebx, ecx, edx; // unsigned int is the standard type. uint is defined by the compiler and not guaranteed to be portable. @@@@ -112,6 +112,9 @@@@ uint detectCPUextensions(void) if (edx & bit_SSE) res = res | SUPPORT_SSE; if (edx & bit_SSE2) res = res | SUPPORT_SSE2; +#elif defined(__GNUC__) + // No cpuid.h --> no cpuid support + return 0; #else // Window / VS version of cpuid. Notice that Visual Studio 2005 or later required // for __cpuid intrinsic support. @ 1.1 log @Update to 21.0 and mark as BROKEN. * Introduce WEBRTC patches for FreeBSD, this patches are not work for NetBSD. * When firefox/xulrunner-22.0 is released, I will check the functionality of xulrunner package again. * Patches and dist.mk are used by www/firefox. * Take MAINATINERship. @ text @d1 1 a1 1 $NetBSD$ @