mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix building under ${OSVERSION} >= 500113
Submitted by: Simon Barner <barner@in.tum.de>
This commit is contained in:
parent
4e3da8e744
commit
968a91ee79
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85532
5 changed files with 49 additions and 7 deletions
|
@ -19,14 +19,9 @@ FETCH_CMD= /usr/bin/fetch
|
|||
USE_GMAKE= yes
|
||||
USE_LIBTOOL= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500113
|
||||
BROKEN= "Does not compile (bad C++ code)"
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|/usr/local/share|$$(datadir)|g'
|
||||
@${RM} ${WRKSRC}/config.cache
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
11
textproc/xmlpp/files/patch-src::xmlcommon.h
Normal file
11
textproc/xmlpp/files/patch-src::xmlcommon.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/xmlcommon.h.orig Wed Jul 23 04:10:04 2003
|
||||
+++ src/xmlcommon.h Wed Jul 23 04:12:03 2003
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
//! dummy define
|
||||
#define XMLPP_API
|
||||
+
|
||||
+using std::string;
|
||||
|
||||
//! handle to a tagname string in a tagname map
|
||||
typedef int xmltagnamehandle;
|
15
textproc/xmlpp/files/patch-src::xmlpp.cpp
Normal file
15
textproc/xmlpp/files/patch-src::xmlpp.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- ./src/xmlpp.cpp.orig Wed Jul 23 04:12:52 2003
|
||||
+++ ./src/xmlpp.cpp Wed Jul 23 04:13:52 2003
|
||||
@@ -21,6 +21,12 @@
|
||||
//debug
|
||||
#include <iostream>
|
||||
|
||||
+using std::cout;
|
||||
+using std::cerr;
|
||||
+using std::endl;
|
||||
+using std::ifstream;
|
||||
+using std::ofstream;
|
||||
+
|
||||
namespace xmlpp {
|
||||
|
||||
// internal use for saving
|
11
textproc/xmlpp/files/patch-src::xmltokenizer.cpp
Normal file
11
textproc/xmlpp/files/patch-src::xmltokenizer.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/xmltokenizer.cpp.orig Wed Jul 23 04:14:53 2003
|
||||
+++ src/xmltokenizer.cpp Wed Jul 23 04:29:18 2003
|
||||
@@ -15,7 +15,7 @@
|
||||
// needed includes
|
||||
#include "xmlpp.h"
|
||||
#include "xmltokenizer.h"
|
||||
-
|
||||
+#include <iostream>
|
||||
|
||||
// namespace declaration
|
||||
namespace xmlpp {
|
10
textproc/xmlpp/files/patch-test::nodetest.cpp
Normal file
10
textproc/xmlpp/files/patch-test::nodetest.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- test/nodetest.cpp.orig Wed Jul 23 04:18:02 2003
|
||||
+++ test/nodetest.cpp Wed Jul 23 04:19:01 2003
|
||||
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <fstream>
|
||||
+#include <iostream>
|
||||
#include "xmlpp.h"
|
||||
|
||||
using namespace xmlpp;
|
Loading…
Add table
Reference in a new issue