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