Hello community,

here is the log from the commit of package android-tools for openSUSE:Factory 
checked in at 2013-01-29 06:43:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/android-tools (Old)
 and      /work/SRC/openSUSE:Factory/.android-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "android-tools", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/android-tools/android-tools.changes      
2013-01-17 13:18:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.android-tools.new/android-tools.changes 
2013-01-29 06:43:02.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Jan 28 00:18:10 UTC 2013 - [email protected]
+
+- fix wrong types for ppc64 (android-tools-ppc64-types.patch) 
+
+-------------------------------------------------------------------

New:
----
  android-tools-ppc64-types.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ android-tools.spec ++++++
--- /var/tmp/diff_new_pack.eXaurX/_old  2013-01-29 06:43:04.000000000 +0100
+++ /var/tmp/diff_new_pack.eXaurX/_new  2013-01-29 06:43:04.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package android-tools
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,13 +15,14 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           android-tools
 Version:        4.2.1_r1
 Release:        0
 Summary:        Android platform tools (adb, fastboot)
 License:        Apache-2.0 and BSD-3-Clause
-Url:            http://developer.android.com/guide/developing/tools/
 Group:          Hardware/Mobile
+Url:            http://developer.android.com/guide/developing/tools/
 # git clone https://android.googlesource.com/platform/system/core.git && cd 
core
 # git archive android-%{version} --prefix=core-%{version}/ adb fastboot 
libzipfile libcutils libmincrypt libsparse mkbootimg include/cutils 
include/zipfile include/mincrypt | bzip2 > ../core-%{version}.tar.bz2
 #
@@ -33,11 +34,12 @@
 Source3:        adb-Makefile
 Source4:        fastboot-Makefile
 Source5:        51-android.rules
+Patch0:         android-tools-ppc64-types.patch 
 
 BuildRequires:  libselinux-devel
 BuildRequires:  openssl-devel
-BuildRequires:  zlib-devel
 BuildRequires:  udev
+BuildRequires:  zlib-devel
 Requires:       udev
 
 Provides:       adb
@@ -56,6 +58,7 @@
 
 %prep
 %setup -q -b 1 -n extras
+%patch0 -p1
 %setup -q -b 0 -n core-%{version}
 cp -p %{SOURCE2} Makefile
 cp -p %{SOURCE3} adb/Makefile

++++++ android-tools-ppc64-types.patch ++++++
Index: extras/ext4_utils/ext4_utils.c
===================================================================
--- extras.orig/ext4_utils/ext4_utils.c
+++ extras/ext4_utils/ext4_utils.c
@@ -402,8 +402,8 @@ u64 get_file_size(int fd)
 {
        struct stat buf;
        int ret;
-       u64 reserve_len = 0;
-       s64 computed_size;
+       __u64 reserve_len = 0;
+       __s64 computed_size;
 
        ret = fstat(fd, &buf);
        if (ret)
Index: extras/ext4_utils/ext4_utils.h
===================================================================
--- extras.orig/ext4_utils/ext4_utils.h
+++ extras/ext4_utils/ext4_utils.h
@@ -84,8 +84,13 @@ extern int force;
 #define __u16 u16
 #define __u8 u8
 
+#if defined(__powerpc64__)
+typedef unsigned long u64;
+typedef signed long s64;
+#else
 typedef unsigned long long u64;
 typedef signed long long s64;
+#endif
 typedef unsigned int u32;
 typedef unsigned short int u16;
 typedef unsigned char u8;
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to