tc01 pushed to libticables2 (f20). "Merged aarch64 patch."
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed May 6 05:58:18 UTC 2015
>From abd7b8d5d12ce50da10afa5dee2a58b3ea881277 Mon Sep 17 00:00:00 2001
From: Ben Rosser <rosser.bjr at gmail.com>
Date: Wed, 6 May 2015 01:49:23 -0400
Subject: Merged aarch64 patch.
diff --git a/aarch64.patch b/aarch64.patch
new file mode 100644
index 0000000..79669e0
--- /dev/null
+++ b/aarch64.patch
@@ -0,0 +1,12 @@
+Index: libticables2-1.3.4/configure.ac
+===================================================================
+--- libticables2-1.3.4.orig/configure.ac
++++ libticables2-1.3.4/configure.ac
+@@ -141,6 +141,7 @@ dnl AC_CANONICAL_HOST
+ case "$host" in
+ i[[3456]]86-*-*bsd*) ARCH="-D__BSD__ -D__I386__" ;;
+ *-*-*bsd*) ARCH="-D__BSD__" ;;
++ aarch64-*-linux-*) ARCH="-D__LINUX__" ;;
+ alpha*-*-linux-*) ARCH="-D__ALPHA__ -D__LINUX__" ;;
+ alpha*-*-*-*) ARCH="-D__ALPHA__ -D__LINUX__" ;;
+ arm*-*-linux-*) ARCH="-D__ARM__ -D__LINUX__" ;;
diff --git a/libticables2.spec b/libticables2.spec
index 885b819..82b6870 100644
--- a/libticables2.spec
+++ b/libticables2.spec
@@ -3,7 +3,7 @@
Name: libticables2
Version: 1.3.4
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Texas Instruments link cables library
Group: Development/Libraries
@@ -14,8 +14,11 @@ Source0: http://sourceforge.net/projects/tilp/files/tilp2-linux/tilp2-%{t
Source1: http://tc01.fedorapeople.org/tilp2/69-libticables.rules
# Patch to add error checking to libusb_init calls.
Patch0: http://tc01.fedorapeople.org/tilp2/libticables-libusb_check.patch
+# Patch to add AArch64 handling
+Patch1: aarch64.patch
BuildRequires: glib2-devel, pkgconfig, libusb1-devel, tfdocgen, gettext
+BuildRequires: autoconf, automake
%package devel
@@ -50,8 +53,13 @@ using libticables2.
%setup -q
sed -i 's/\r$//' docs/html/style.css
%patch0 -p1
+%patch1 -p1
%build
+# we patch configure.ac
+aclocal
+automake --add-missing
+autoreconf
%configure --enable-libusb10 --disable-static
make %{?_smp_mflags}
@@ -96,6 +104,9 @@ cp -a %SOURCE1 %{buildroot}%{_udevdir}/69-libticables.rules
%postun -p /sbin/ldconfig
%changelog
+* Wed Apr 29 2015 Marcin Juszkiewicz <mjuszkiewicz at redhat.com> - 1.3.4-4
+- Add AArch64 support
+
* Mon Apr 6 2015 'Ben Rosser' <rosser.bjr at gmail.com> 1.3.4-3
- Added a patch that adds error checking around libusb_init, preventing the tests from crashing under mock.
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/libticables2.git/commit/?h=f20&id=abd7b8d5d12ce50da10afa5dee2a58b3ea881277
More information about the scm-commits
mailing list