mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Unbreak gcc 4.2 build.
Approved by: portmgr
This commit is contained in:
parent
de28323865
commit
5a6a4c8b8b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202594
@ -25,10 +25,6 @@ CONFIGURE_ARGS= --prefix=${PREFIX}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 700042
|
||||
BROKEN= Does not compile with GCC 4.2
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
USE_GETTEXT= yes
|
||||
.endif
|
||||
|
11
devel/rhtvision/files/patch-include-compatlayer.h
Normal file
11
devel/rhtvision/files/patch-include-compatlayer.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- include/compatlayer.h.orig 2007-11-05 15:25:07.000000000 +0600
|
||||
+++ include/compatlayer.h 2007-11-05 15:25:43.000000000 +0600
|
||||
@@ -324,7 +324,7 @@
|
||||
library. GCC implemented it in version 3.0. BC++ implemented some
|
||||
stuff in versions like BC++ 5.5. So that's a real mess. */
|
||||
#if __GNUC__>=3
|
||||
- #if __GNUC_MINOR__>=4
|
||||
+ #if __GNUC__ >= 4 || __GNUC_MINOR__>=4
|
||||
// gcc 3.4. It have __gnu_cxx::stdio_filebuf class.
|
||||
#define CLY_filebuf __gnu_cxx::stdio_filebuf<char>
|
||||
#define CLY_int_filebuf CLY_filebuf
|
11
devel/rhtvision/files/patch-include-tv-inputln.h
Normal file
11
devel/rhtvision/files/patch-include-tv-inputln.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- include/tv/inputln.h.orig 2007-11-05 15:06:18.000000000 +0600
|
||||
+++ include/tv/inputln.h 2007-11-05 15:06:41.000000000 +0600
|
||||
@@ -196,7 +196,7 @@
|
||||
{ return name; }
|
||||
|
||||
protected:
|
||||
- TInputLine::TInputLine(StreamableInit) :
|
||||
+ TInputLine(StreamableInit) :
|
||||
TInputLineBaseT<char,TDrawBuffer>(streamableInit) {}
|
||||
|
||||
public:
|
Loading…
Reference in New Issue
Block a user