From 07d500a3a3a05cb222f87967f80dcbc61af708826dbf56f7dc4d029ff32759cf Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 3 Mar 2013 22:45:52 +0000 Subject: [PATCH] Correctly mark patch OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmowgli2?expand=0&rev=5 --- libmowgli2.spec | 4 ++-- platform.patch | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libmowgli2.spec b/libmowgli2.spec index 5adb66f..e692e84 100644 --- a/libmowgli2.spec +++ b/libmowgli2.spec @@ -28,7 +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 +Patch1: platform.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkg-config BuildRequires: xz @@ -76,7 +76,7 @@ This package holds the development files for libmowgli v2. %prep %setup -qn libmowgli-%version -%patch -p1 +%patch -P 1 -p1 %build if [ ! -e configure ]; then diff --git a/platform.patch b/platform.patch index efce7d4..5bada4b 100644 --- a/platform.patch +++ b/platform.patch @@ -1,3 +1,6 @@ +From: Andreas Schwab +Date: Sun, 3 Mar 2013 20:19:46 +0000 + Index: libmowgli-2.0.0/src/libmowgli/platform/machine.h =================================================================== --- libmowgli-2.0.0.orig/src/libmowgli/platform/machine.h