- fixed compilation on Alpha platform (patch by Oliver Falk)

This commit is contained in:
Dominik Mierzejewski 2007-12-03 21:42:23 +00:00
parent 346baa95a5
commit 09a2ad3ceb
2 changed files with 18 additions and 1 deletions

12
libEMF-axp.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up libEMF-1.0.3/include/libEMF/wine/winnt.h.axp libEMF-1.0.3/include/libEMF/wine/winnt.h
--- libEMF-1.0.3/include/libEMF/wine/winnt.h.axp 2007-12-03 22:35:49.000000000 +0100
+++ libEMF-1.0.3/include/libEMF/wine/winnt.h 2007-12-03 22:37:10.000000000 +0100
@@ -671,7 +671,7 @@ typedef struct _CONTEXT CONTEXT;
#endif
/* Alpha context definitions */
-#ifdef _ALPHA_
+#if defined(__alpha__)
#define CONTEXT_ALPHA 0x00020000

View File

@ -2,12 +2,13 @@ Summary: A library for generating Enhanced Metafiles
Summary(pl): Biblioteka do generowania plików w formacie Enhanced Metafile
Name: libEMF
Version: 1.0.3
Release: 4%{?dist}
Release: 5%{?dist}
License: LGPLv2+ and GPLv2+
Group: System Environment/Libraries
Source0: http://dl.sourceforge.net/pstoedit/%{name}-%{version}.tar.gz
# Source0-md5: a4e91fd8077ce5f540f569e20e8ef7ff
Patch0: %{name}-amd64.patch
Patch1: %{name}-axp.patch
URL: http://libemf.sourceforge.net/
BuildRequires: libstdc++-devel
BuildRequires: libtool
@ -43,6 +44,7 @@ Pliki nagłówkowe libEMF.
%prep
%setup -q
%patch0 -p1 -b .amd64
%patch1 -p1 -b .axp
chmod 0644 libemf/libemf.h
%build
@ -88,6 +90,9 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/libEMF
%changelog
* Mon Dec 03 2007 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 1.0.3-5
- fixed compilation on Alpha platform (patch by Oliver Falk)
* Sat Aug 25 2007 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 1.0.3-4
- rebuild for BuildID
- update license tag