Date: Wed, 18 Jul 2007 21:47:02 +0200 (CEST) From: trasz <trasz@pin.if.uz.zgora.pl> To: FreeBSD-gnats-submit@FreeBSD.org Cc: danfe@FreeBSD.org Subject: ports/114709: [PATCH] audio/soundtouch: fix build with no SSE. Message-ID: <20070718194702.370B539859@pin.if.uz.zgora.pl> Resent-Message-ID: <200707181950.l6IJo2qm021139@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114709 >Category: ports >Synopsis: [PATCH] audio/soundtouch: fix build with no SSE. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 18 19:50:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: trasz >Release: FreeBSD 6.1-RELEASE-p10 i386 >Organization: >Environment: System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006 >Description: SoundTouch won't build on a system that does not specify CPUTYPE that includes SSE. For example, it won't build with 'CPUTYPE?=athlon'. Attached patch fixes this. Added file(s): - files/patch-include-STTypes.h Port maintainer (danfe@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- soundtouch-1.3.1_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/audio/soundtouch/Makefile /home/trasz/soundtouch/Makefile --- /usr/ports/audio/soundtouch/Makefile Wed Jun 13 15:14:01 2007 +++ /home/trasz/soundtouch/Makefile Wed Jul 18 21:43:25 2007 @@ -18,6 +18,7 @@ CONFIGURE_ARGS= --enable-shared=yes USE_AUTOTOOLS= autoconf:259 libtool:15 USE_LDCONFIG= yes +USE_DOS2UNIX= yes post-patch: .SILENT .for f in config.guess config.sub depcomp install-sh missing diff -ruN --exclude=CVS /usr/ports/audio/soundtouch/files/patch-include-STTypes.h /home/trasz/soundtouch/files/patch-include-STTypes.h --- /usr/ports/audio/soundtouch/files/patch-include-STTypes.h Thu Jan 1 01:00:00 1970 +++ /home/trasz/soundtouch/files/patch-include-STTypes.h Wed Jul 18 21:43:25 2007 @@ -0,0 +1,11 @@ +--- include/STTypes.h.orig Wed Jul 11 21:16:48 2007 ++++ include/STTypes.h Wed Jul 11 21:17:02 2007 +@@ -132,7 +132,7 @@ + #define ALLOW_3DNOW 1 + #endif + +- #if (WIN32 || __i386__ || __x86_64__) ++ #if (WIN32 || __i386__ || __x86_64__) && defined(__SSE__) + #define ALLOW_SSE 1 + #endif + #endif --- soundtouch-1.3.1_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070718194702.370B539859>