parent
985ae536f3
commit
08c23a5c73
@ -0,0 +1 @@
|
||||
/libecb-20121008.tar.xz
|
@ -0,0 +1,27 @@
|
||||
From de7220dcac464425fc2667706100901d0fc7f444 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Mon, 8 Oct 2012 13:25:37 +0200
|
||||
Subject: [PATCH] Fix a typo in ecb.h
|
||||
|
||||
A code for big endian system has a mistyped return word.
|
||||
<https://rt.cpan.org/Public/Bug/Display.html?id=80056>
|
||||
---
|
||||
Coro/ecb.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Coro/ecb.h b/Coro/ecb.h
|
||||
index 1162bc6..5a88f60 100644
|
||||
--- a/Coro/ecb.h
|
||||
+++ b/Coro/ecb.h
|
||||
@@ -494,7 +494,7 @@ ecb_byteorder_helper (void)
|
||||
#elif __BYTE_ORDER__ && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
||||
return 0x44;
|
||||
#elif __BYTE_ORDER__ && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
||||
- retrurn 0x11;
|
||||
+ return 0x11;
|
||||
#else
|
||||
union
|
||||
{
|
||||
--
|
||||
1.7.11.7
|
||||
|
@ -0,0 +1,40 @@
|
||||
%global snapshot 20121008
|
||||
Name: libecb
|
||||
Version: 0.%{snapshot}
|
||||
Release: 1%{?dist}
|
||||
Summary: Compiler built-ins
|
||||
Group: Development/Libraries
|
||||
License: BSD
|
||||
URL: http://software.schmorp.de/pkg/libecb
|
||||
# Snapshot from CVS :pserver:anonymous@cvs.schmorp.de/schmorpforge libecb
|
||||
Source0: %{name}-20121008.tar.xz
|
||||
# Bug #863991, submitted to upstream
|
||||
Patch0: Coro-6.09-Fix-a-typo-in-ecb.h.patch
|
||||
BuildArch: noarch
|
||||
Requires: glibc-headers
|
||||
|
||||
%description
|
||||
This project delivers you many GCC built-ins, attributes and a number of
|
||||
generally useful low-level functions, such as popcount, expect, prefetch,
|
||||
noinline, assume, unreachable and so on.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{snapshot}
|
||||
%patch0 -p2 -b .bigendian
|
||||
|
||||
%build
|
||||
# Keep empty %%build section for possible RPM hooks
|
||||
|
||||
%install
|
||||
install -d %{buildroot}%{_includedir}
|
||||
install -m 0644 -t %{buildroot}%{_includedir} *.h
|
||||
|
||||
%files
|
||||
%doc Changes ecb.pod LICENSE README
|
||||
%{_includedir}/*
|
||||
|
||||
%changelog
|
||||
* Mon Oct 08 2012 Petr Pisar <ppisar@redhat.com> - 0.20121008-1
|
||||
- CVS snapshot taken on 2012-10-08
|
||||
- Fix for building on big-endian systems (bug #863991)
|
||||
|
Loading…
Reference in new issue