From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/herrie/files: herrie-chost_issue.patch herrie-1.8-chost.patch |
Date: | Mon, 01 Jun 2009 16:13:53 |
Message-Id: | E1MBA91-0003hV-HR@stork.gentoo.org |
1 | ssuominen 09/06/01 16:13:51 |
2 | |
3 | Added: herrie-chost_issue.patch |
4 | Removed: herrie-1.8-chost.patch |
5 | Log: |
6 | old |
7 | (Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-sound/herrie/files/herrie-chost_issue.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/herrie/files/herrie-chost_issue.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/herrie/files/herrie-chost_issue.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: herrie-chost_issue.patch |
16 | =================================================================== |
17 | This patch sets the OS variable according to the CHOST given by the environment, |
18 | thus enabling cross-compilation. |
19 | |
20 | Index: herrie-1.8/configure |
21 | =================================================================== |
22 | --- herrie-1.8.orig/configure |
23 | +++ herrie-1.8/configure |
24 | @@ -50,6 +50,21 @@ CFG_VORBIS=yes |
25 | CFG_XSPF=yes |
26 | DOIT=@ |
27 | |
28 | +case "$CHOST" in |
29 | + *-darwin*) |
30 | + OS=Darwin |
31 | + ;; |
32 | + *-linux*) |
33 | + OS=Linux |
34 | + ;; |
35 | + *-freebsd*) |
36 | + OS=FreeBSD |
37 | + ;; |
38 | + *-solaris*) |
39 | + OS=SunOS |
40 | + ;; |
41 | +esac |
42 | + |
43 | # Operating system defaults |
44 | [ "$OS" != "" ] || OS=`uname` |
45 | case $OS in |