rpms/tla/devel tla-ppc32-fix-alignment.patch, NONE, 1.1 tla.spec, 1.24, 1.25
Joshua W. Boyer (jwboyer)
fedora-extras-commits at redhat.com
Mon Feb 27 14:49:12 UTC 2006
Author: jwboyer
Update of /cvs/extras/rpms/tla/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13192
Modified Files:
tla.spec
Added Files:
tla-ppc32-fix-alignment.patch
Log Message:
Fix building on ppc for now
tla-ppc32-fix-alignment.patch:
--- NEW FILE tla-ppc32-fix-alignment.patch ---
Index: tla-working/src/hackerlab/machine/gen-alignment.to-c
===================================================================
--- tla-working.orig/src/hackerlab/machine/gen-alignment.to-c
+++ tla-working/src/hackerlab/machine/gen-alignment.to-c
@@ -12,6 +12,7 @@
#include <stdio.h>
+#ifndef __PPC__
#define TYPES \
TYPE(char, char) \
TYPE(short, short) \
@@ -22,6 +23,17 @@
TYPE(float, float) \
TYPE(double, double) \
TYPE(long double, long_double)
+#else
+#define TYPES \
+ TYPE(char, char) \
+ TYPE(short, short) \
+ TYPE(int, int) \
+ TYPE(long, long) \
+ TYPE(long long, long_long) \
+ TYPE(void *, pointer) \
+ TYPE(float, float) \
+ TYPE(double, double)
+#endif
#undef TYPE
#define TYPE(SCALAR, STRUCT) \
Index: tla.spec
===================================================================
RCS file: /cvs/extras/rpms/tla/devel/tla.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- tla.spec 24 Feb 2006 17:19:52 -0000 1.24
+++ tla.spec 27 Feb 2006 14:49:11 -0000 1.25
@@ -1,6 +1,6 @@
Name: tla
Version: 1.3.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: GNU arch revision control system
Group: Development/Tools
@@ -12,10 +12,10 @@
Patch0: %{name}-1.2pre0-posix.patch
# Patch1 and Source2 from Debian's 1.3.3-3, the latter updated for 1.3.4.
Patch1: %{name}-1.3.3-sysneon.patch
+Patch2: %{name}-ppc32-fix-alignment.patch
Source2: %{name}-generate-manpage.pl
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-ExcludeArch: ppc
BuildRequires: neon-devel, which
Requires: tar, diffutils, patch
@@ -40,6 +40,7 @@
rm -rf src/libneon
rm -rf src/expat
%patch1 -p1
+%patch2 -p1
%build
mkdir src/=build
@@ -78,6 +79,9 @@
%{_mandir}/man1/tla.1*
%changelog
+* Mon Feb 27 2006 Josh Boyer <jwboyer at jdub.homelinux.org> - 1.3.4-2
+- Add patch to allow building on PPC for now
+
* Fri Feb 24 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.3.4-1
- 1.3.4, most of Debian patch applied upstream.
- Update summary and description.
More information about the scm-commits
mailing list