ports/114709: [PATCH] audio/soundtouch: fix build with no SSE.
trasz
trasz at pin.if.uz.zgora.pl
Wed Jul 18 19:50:03 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list