mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
1. fix compile on GCC 3.2
2. add missing files in plist 3. drop maintainership Submitted by: Craig Rodrigues <rodrigc@attbi.com> (1) (2)
This commit is contained in:
parent
5295effe7d
commit
9a3cda351d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65757
@ -8,11 +8,12 @@
|
||||
|
||||
PORTNAME= clint
|
||||
PORTVERSION= 0.1.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= ijliao@FreeBSD.org
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
USE_PYTHON= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
33
devel/clint/files/patch-input.cc
Normal file
33
devel/clint/files/patch-input.cc
Normal file
@ -0,0 +1,33 @@
|
||||
--- src/input.cc.orig Fri Sep 6 22:17:58 2002
|
||||
+++ src/input.cc Fri Sep 6 22:21:11 2002
|
||||
@@ -70,17 +70,17 @@
|
||||
std::string Input::parse_cpp(std::string line) {
|
||||
if (line[0] == '#') {
|
||||
#ifdef HAVE_SSTREAM
|
||||
- istringstream in(line);
|
||||
+ std::istringstream in(line);
|
||||
#else
|
||||
istrstream in(line.c_str());
|
||||
#endif // HAVE_SSTREAM
|
||||
in.get(); // remove '#'
|
||||
- string command;
|
||||
+ std::string command;
|
||||
while (isalnum(in.peek()) && not in.eof()){
|
||||
command+=in.get();
|
||||
}
|
||||
- cerr << "line = \"" << line << "\" command = \"" << command << "\" ";
|
||||
- if (command == string("include") ) {
|
||||
+ std::cerr << "line = \"" << line << "\" command = \"" << command << "\" ";
|
||||
+ if (command == std::string("include") ) {
|
||||
} else if ( command == "define" ) {
|
||||
} else if ( command == "undef" ) {
|
||||
} else if ( command == "if" ) {
|
||||
@@ -101,7 +101,7 @@
|
||||
// Apparently this is valid
|
||||
// Ignore this
|
||||
} else {
|
||||
- cerr << "Unknown preprocessor macro" << endl;
|
||||
+ std::cerr << "Unknown preprocessor macro" << std::endl;
|
||||
}
|
||||
}
|
||||
return line;
|
24
devel/clint/files/patch-python.h
Normal file
24
devel/clint/files/patch-python.h
Normal file
@ -0,0 +1,24 @@
|
||||
--- lib/python/python.h.orig Fri Sep 6 21:53:18 2002
|
||||
+++ lib/python/python.h Fri Sep 6 21:56:38 2002
|
||||
@@ -12,13 +12,17 @@
|
||||
#include "debug.h"
|
||||
|
||||
// I hate #define macros, seee if I can remove this
|
||||
-#define STANDARD_LIBRARY_HAS_ITERATOR_TRAITS 1
|
||||
+#define STANDARD_LIBRARY_HAS_RANDOM_ACCESS_ITERATOR 1
|
||||
#ifdef MS_WIN32
|
||||
-# undef STANDARD_LIBRARY_HAS_ITERATOR_TRAITS
|
||||
-# define STANDARD_LIBRARY_HAS_ITERATOR_TRAITS 0
|
||||
+# undef STANDARD_LIBRARY_HAS_RANDOM_ACCESS_ITERATOR
|
||||
+# define STANDARD_LIBRARY_HAS_RANDOM_ACCESS_ITERATOR 0
|
||||
#endif
|
||||
|
||||
-#if STANDARD_LIBRARY_HAS_ITERATOR_TRAITS
|
||||
+#if defined (__GNUG__) && (__GNUG__ >= 3)
|
||||
+# undef STANDARD_LIBRARY_HAS_RANDOM_ACCESS_ITERATOR
|
||||
+#endif
|
||||
+
|
||||
+#if STANDARD_LIBRARY_HAS_RANDOM_ACCESS_ITERATOR
|
||||
# define random_access_iterator_parent(itemtype) std::random_access_iterator<itemtype, int>
|
||||
#else
|
||||
# define random_access_iterator_parent(itemtype) std::iterator<std::random_access_iterator_tag,itemtype,int>
|
@ -7,6 +7,8 @@ info/clint.info
|
||||
@exec install-info %D/info/clint.info %D/info/dir
|
||||
lib/clint/python.a
|
||||
lib/clint/python.la
|
||||
lib/clint/python.so
|
||||
lib/clint/python.so.0
|
||||
lib/libpython++.a
|
||||
lib/libpython++.la
|
||||
lib/libpython++.so
|
||||
|
Loading…
Reference in New Issue
Block a user