mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Fix build on i386, amd64 and ia64
Reported by: Harti Brandt <brandt@fokus.fraunhofer.de> and kris via bento
This commit is contained in:
parent
db4e7c3aca
commit
dc46905063
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105706
@ -17,10 +17,6 @@ GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "ia64" || ${ARCH} == "amd64"
|
||||
BROKEN= "Does not compile on ia64 or amd64"
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
|
@ -1,5 +1,28 @@
|
||||
--- libemf/libemf.h.orig Wed Mar 17 20:00:10 2004
|
||||
+++ libemf/libemf.h Wed Mar 17 20:00:10 2004
|
||||
@@ -21,16 +21,22 @@
|
||||
#ifndef _LIBEMF_H
|
||||
#define _LIBEMF_H 1
|
||||
|
||||
+#include <iostream>
|
||||
#include <cmath>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <functional>
|
||||
+#if __GNUC__ > 2
|
||||
+#include <backward/function.h>
|
||||
+#endif
|
||||
#include <algorithm>
|
||||
|
||||
#include <config.h>
|
||||
#include <emf.h>
|
||||
|
||||
#include <wine/w16.h>
|
||||
+
|
||||
+using namespace std;
|
||||
|
||||
namespace EMF {
|
||||
/*!
|
||||
@@ -338,7 +338,7 @@
|
||||
fread( &dword, sizeof(DWORD), 1, fp_ );
|
||||
return *this;
|
||||
|
Loading…
Reference in New Issue
Block a user