aboutsummaryrefslogtreecommitdiffstats
path: root/audio/hydrogen
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-02-08 06:08:48 +0800
committermiwi <miwi@FreeBSD.org>2008-02-08 06:08:48 +0800
commitb5cf6f8fe11fde82ff3efc8068c84a64df161e8b (patch)
tree111f40ce78ab5f1a7aae2841d16347bf7caaf89d /audio/hydrogen
parent4ba4fca159daba7d5d242a78af1667514cace9c0 (diff)
downloadfreebsd-ports-gnome-b5cf6f8fe11fde82ff3efc8068c84a64df161e8b.tar.gz
freebsd-ports-gnome-b5cf6f8fe11fde82ff3efc8068c84a64df161e8b.tar.zst
freebsd-ports-gnome-b5cf6f8fe11fde82ff3efc8068c84a64df161e8b.zip
- Fix build with gcc 4.2
PR: 118274 Submitted by: Pietro Cerutti" <gahr@gahr.ch> Approved by: maintainer timeout
Diffstat (limited to 'audio/hydrogen')
-rw-r--r--audio/hydrogen/Makefile8
-rw-r--r--audio/hydrogen/files/patch-src-lib-xml_tinyxml.h11
2 files changed, 12 insertions, 7 deletions
diff --git a/audio/hydrogen/Makefile b/audio/hydrogen/Makefile
index 599f1cd18cc4..c19bc1707623 100644
--- a/audio/hydrogen/Makefile
+++ b/audio/hydrogen/Makefile
@@ -44,12 +44,6 @@ OPTIONS= JACK "JACK support" off \
LRDF "LRDF support" off \
FLAC "FLAC support" on
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN= Does not compile with GCC 4.2
-.endif
-
.if defined(WITH_JACK)
LIB_DEPENDS+= jack:${PORTSDIR}/audio/jack
CPPFLAGS+= ${PTHREAD_CFLAGS}
@@ -118,4 +112,4 @@ do-install:
${MKDIR} ${MAN1PREFIX}/man/ru.KOI8-R/man1
${INSTALL_MAN} ${WRKSRC}/man/ru/hydrogen.1 ${MAN1PREFIX}/man/ru.KOI8-R/man1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/hydrogen/files/patch-src-lib-xml_tinyxml.h b/audio/hydrogen/files/patch-src-lib-xml_tinyxml.h
new file mode 100644
index 000000000000..fd7d14a8bde1
--- /dev/null
+++ b/audio/hydrogen/files/patch-src-lib-xml_tinyxml.h
@@ -0,0 +1,11 @@
+--- src/lib/xml/tinyxml.h.orig 2007-11-27 00:59:06.000000000 +0100
++++ src/lib/xml/tinyxml.h 2007-11-27 01:05:34.000000000 +0100
+@@ -823,7 +823,7 @@
+ #endif
+
+ /// Construct.
+- TiXmlDeclaration::TiXmlDeclaration( const char * _version,
++ TiXmlDeclaration( const char * _version,
+ const char * _encoding,
+ const char * _standalone );
+