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