diff options
Diffstat (limited to 'biology/protomol')
-rw-r--r-- | biology/protomol/Makefile | 6 | ||||
-rw-r--r-- | biology/protomol/files/patch-framework-frontend_OutputDihedrals.cpp | 17 |
2 files changed, 18 insertions, 5 deletions
diff --git a/biology/protomol/Makefile b/biology/protomol/Makefile index 9edae0d80a78..45c82c0d0492 100644 --- a/biology/protomol/Makefile +++ b/biology/protomol/Makefile @@ -37,13 +37,9 @@ OPTIONS= GLUT "Use glut" on .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile with GCC 4.2 -.endif - .if defined(WITH_GLUT) CONFIGURE_ARGS+= --with-glut=yes -LIB_DEPENDS+= glut.4:${PORTSDIR}/graphics/libglut +USE_GL= glut .else CONFIGURE_ARGS+= --with-glut=no .endif diff --git a/biology/protomol/files/patch-framework-frontend_OutputDihedrals.cpp b/biology/protomol/files/patch-framework-frontend_OutputDihedrals.cpp new file mode 100644 index 000000000000..8eb868a5bc2b --- /dev/null +++ b/biology/protomol/files/patch-framework-frontend_OutputDihedrals.cpp @@ -0,0 +1,17 @@ +--- framework/frontend/OutputDihedrals.cpp.orig 2008-03-25 22:53:27.000000000 +0100 ++++ framework/frontend/OutputDihedrals.cpp 2008-03-25 22:52:21.000000000 +0100 +@@ -387,10 +387,10 @@ + string atom3name = ""; + string atom4name = ""; + +- std::set< int >::iterator myAtomSet_itr1 = NULL; +- std::set< int >::iterator myAtomSet_itr2 = NULL; +- std::set< int >::iterator myAtomSet_itr3 = NULL; +- std::set< int >::iterator myAtomSet_itr4 = NULL; ++ std::set< int >::iterator myAtomSet_itr1; ++ std::set< int >::iterator myAtomSet_itr2; ++ std::set< int >::iterator myAtomSet_itr3; ++ std::set< int >::iterator myAtomSet_itr4; + + for(unsigned int i=0; i < myTopology->dihedrals.size();i++){ + |