Accepting request 610890 from devel:languages:python
- Add patch to fix issues on i586 arch: * pygit2-i586.patch OBS-URL: https://build.opensuse.org/request/show/610890 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=17
This commit is contained in:
commit
4528bcaab1
22
pygit2-i586.patch
Normal file
22
pygit2-i586.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From 1d11fa171b56114f181ac022715baba9581d36e7 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= <jdavid.ibp@gmail.com>
|
||||
Date: Sun, 20 May 2018 17:52:34 +0200
|
||||
Subject: [PATCH] Update git_time decl
|
||||
|
||||
Should fix #795
|
||||
---
|
||||
pygit2/decl.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/pygit2/decl.h b/pygit2/decl.h
|
||||
index 9cdea8a0..53451583 100644
|
||||
--- a/pygit2/decl.h
|
||||
+++ b/pygit2/decl.h
|
||||
@@ -77,6 +77,7 @@ typedef struct {
|
||||
typedef struct git_time {
|
||||
git_time_t time;
|
||||
int offset;
|
||||
+ char sign;
|
||||
} git_time;
|
||||
|
||||
typedef struct git_signature {
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 21 08:33:07 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Add patch to fix issues on i586 arch:
|
||||
* pygit2-i586.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 17 12:10:25 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
|
@ -25,6 +25,7 @@ License: GPL-2.0-only
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/libgit2/pygit2
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pygit2/pygit2-%{version}.tar.gz
|
||||
Patch0: pygit2-i586.patch
|
||||
BuildRequires: %{python_module cffi}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@ -42,6 +43,7 @@ Bindings for libgit2, a linkable C library for the Git version-control system.
|
||||
|
||||
%prep
|
||||
%setup -q -n pygit2-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
|
Loading…
Reference in New Issue
Block a user