Bug 393881

Summary: libEMF compilation problem on alpha platform - patch included.
Product: [Fedora] Fedora Reporter: Oliver Falk <oliver>
Component: libEMFAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: 1.0.3-5.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-03 01:46:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Oliver Falk 2007-11-21 09:51:33 UTC
The idef in winnt.h is wrong. I would use the following:
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-11-21
10:22:56.000000000 +0100
+++ libEMF-1.0.3/include/libEMF/wine/winnt.h    2007-11-21 10:23:28.000000000 +0100
@@ -671,7 +671,7 @@ typedef struct _CONTEXT CONTEXT;
 #endif
 
 /* Alpha context definitions */
-#ifdef _ALPHA_
+#if defined(__alpha__)
 
 #define CONTEXT_ALPHA   0x00020000

Please be so kind and also report this upstream!

Comment 1 Dominik 'Rathann' Mierzejewski 2007-11-21 18:58:00 UTC
Upstream is dead AFAIK. This package was only needed for chemtool, but since
recent transfig supports EMF output, this is no longer needed, so I want to
retire it. You're welcome to take over as a maintainer if you like.

Comment 2 Oliver Falk 2007-11-22 07:53:16 UTC
Oh well. pstoedit is depending on it, that's why I had to pkg it for
AlphaCore... If you retire it and no other pkg depends on it, I don't need it
either :-)

Comment 3 Oliver Falk 2007-12-03 08:48:47 UTC
Dominik, can you just apply the patch for F-8 and rawhide branch?

Comment 4 Dominik 'Rathann' Mierzejewski 2007-12-03 22:07:10 UTC
Done.

Comment 5 Fedora Update System 2007-12-15 17:51:19 UTC
libEMF-1.0.3-5.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update libEMF'

Comment 6 Fedora Update System 2008-01-03 01:46:56 UTC
libEMF-1.0.3-5.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.