Restore patch as arm64 build failed
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmowgli2?expand=0&rev=12
This commit is contained in:
parent
be6ddea651
commit
098951c961
@ -6,7 +6,6 @@ Sun Jul 20 11:22:14 UTC 2014 - jengelh@inai.de
|
|||||||
* Add method to set SO_REUSEADDR on vio sockets
|
* Add method to set SO_REUSEADDR on vio sockets
|
||||||
* eventloop: rename mowgli_eventloop_timer_t.when to
|
* eventloop: rename mowgli_eventloop_timer_t.when to
|
||||||
mowgli_eventloop_timer_t.deadline
|
mowgli_eventloop_timer_t.deadline
|
||||||
- Remove platform.patch (no longer applicable)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 3 21:46:30 UTC 2014 - jengelh@inai.de
|
Mon Mar 3 21:46:30 UTC 2014 - jengelh@inai.de
|
||||||
|
@ -29,6 +29,7 @@ Url: http://atheme.org/projects/libmowgli.html
|
|||||||
#Git-Clone: git://github.com/atheme/libmowgli-2
|
#Git-Clone: git://github.com/atheme/libmowgli-2
|
||||||
#Snapshot: libmowgli-2.0.0-185-g7790ffd
|
#Snapshot: libmowgli-2.0.0-185-g7790ffd
|
||||||
Source: libmowgli-%version.tar.xz
|
Source: libmowgli-%version.tar.xz
|
||||||
|
Patch1: platform.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
@ -76,6 +77,7 @@ This package holds the development files for libmowgli v2.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn libmowgli-2
|
%setup -qn libmowgli-2
|
||||||
|
%patch -P 1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -e configure ]; then
|
if [ ! -e configure ]; then
|
||||||
|
20
platform.patch
Normal file
20
platform.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
From: Andreas Schwab <schwab@suse.de>
|
||||||
|
Date: Sun, 3 Mar 2013 20:19:46 +0000
|
||||||
|
|
||||||
|
---
|
||||||
|
src/libmowgli/platform/machine.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: libmowgli-2/src/libmowgli/platform/machine.h
|
||||||
|
===================================================================
|
||||||
|
--- libmowgli-2.orig/src/libmowgli/platform/machine.h
|
||||||
|
+++ libmowgli-2/src/libmowgli/platform/machine.h
|
||||||
|
@@ -186,7 +186,7 @@
|
||||||
|
# if defined _LP64 || defined __LP64
|
||||||
|
# define MOWGLI_CPU_BITS 64
|
||||||
|
# define MOWGLI_CPU_BITS_64
|
||||||
|
-# elif
|
||||||
|
+# else
|
||||||
|
# define MOWGLI_CPU_BITS 32
|
||||||
|
# define MOWGLI_CPU_BITS_32
|
||||||
|
# endif
|
Loading…
Reference in New Issue
Block a user