From: | "Richard Freeman (rich0)" <rich0@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/android-sdk-update-manager/files: android-sdk-update-manager-6-swt.patch |
Date: | Fri, 27 Aug 2010 01:12:27 |
Message-Id: | 20100827011222.7FFE720051@flycatcher.gentoo.org |
1 | rich0 10/08/27 01:12:22 |
2 | |
3 | Modified: android-sdk-update-manager-6-swt.patch |
4 | Log: |
5 | bump to fix ddms swt error - thanks to Frédéric |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.2 dev-util/android-sdk-update-manager/files/android-sdk-update-manager-6-swt.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/android-sdk-update-manager/files/android-sdk-update-manager-6-swt.patch?rev=1.2&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/android-sdk-update-manager/files/android-sdk-update-manager-6-swt.patch?rev=1.2&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/android-sdk-update-manager/files/android-sdk-update-manager-6-swt.patch?r1=1.1&r2=1.2 |
14 | |
15 | Index: android-sdk-update-manager-6-swt.patch |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/dev-util/android-sdk-update-manager/files/android-sdk-update-manager-6-swt.patch,v |
18 | retrieving revision 1.1 |
19 | retrieving revision 1.2 |
20 | diff -u -r1.1 -r1.2 |
21 | --- android-sdk-update-manager-6-swt.patch 17 Aug 2010 00:38:05 -0000 1.1 |
22 | +++ android-sdk-update-manager-6-swt.patch 27 Aug 2010 01:12:21 -0000 1.2 |
23 | @@ -15,3 +15,20 @@ |
24 | fi |
25 | |
26 | # Combine the swtpath and the framework dir path. |
27 | +--- android-sdk-linux_86/tools/ddms.old 2010-08-21 18:25:12.000000000 +0200 |
28 | ++++ android-sdk-linux_86/tools/ddms 2010-08-26 14:44:36.000000000 +0200 |
29 | +@@ -85,13 +85,7 @@ |
30 | + if [ -n "$ANDROID_SWT" ]; then |
31 | + swtpath="$ANDROID_SWT" |
32 | + else |
33 | +- vmarch=`${javaCmd} -jar "${frameworkdir}"/archquery.jar` |
34 | +- if [ -n "$ANDROID_BUILD_TOP" ]; then |
35 | +- osname=`uname -s | tr A-Z a-z` |
36 | +- swtpath="${ANDROID_BUILD_TOP}/prebuilt/${osname}-${vmarch}/swt" |
37 | +- else |
38 | +- swtpath="${frameworkdir}/${vmarch}" |
39 | +- fi |
40 | ++ swtpath=`dirname \`java-config -p swt-3.5\`` |
41 | + fi |
42 | + |
43 | + # Combine the swtpath and the framework dir path. |