SHA256
1
0
forked from pool/libmowgli2

Accepting request 157172 from devel:ARM:AArch64:Factory

- platform.patch:
  Fix invalid cpp directive

OBS-URL: https://build.opensuse.org/request/show/157172
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmowgli2?expand=0&rev=4
This commit is contained in:
Jan Engelhardt 2013-03-03 21:49:22 +00:00 committed by Git OBS Bridge
parent 21b83f6c31
commit 97bc1f5dce
3 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Mar 3 19:56:23 UTC 2013 - schwab@suse.de
- platform.patch:
Fix invalid cpp directive
-------------------------------------------------------------------
Mon Jun 11 11:59:46 UTC 2012 - cfarrell@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libmowgli2
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -28,6 +28,7 @@ Url: http://atheme.org/project/mowgli
#Git-Clone: git://github.com/atheme/libmowgli-2
#DL-URL: http://atheme.org/downloads/libmowgli-2.0.0.tar.gz
Source: libmowgli-%version.tar.xz
Patch: platform.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config
BuildRequires: xz
@ -75,6 +76,7 @@ This package holds the development files for libmowgli v2.
%prep
%setup -qn libmowgli-%version
%patch -p1
%build
if [ ! -e configure ]; then

13
platform.patch Normal file
View File

@ -0,0 +1,13 @@
Index: libmowgli-2.0.0/src/libmowgli/platform/machine.h
===================================================================
--- libmowgli-2.0.0.orig/src/libmowgli/platform/machine.h
+++ libmowgli-2.0.0/src/libmowgli/platform/machine.h
@@ -180,7 +180,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