mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
Allow build with upcoming version of graphics/osg 3.4.0; bump PORTREVISION
PR: 209235 Submitted by: woodsb02@gmail.com
This commit is contained in:
parent
cf1789e98c
commit
40f1fda31e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414714
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= palomino
|
||||
PORTVERSION= 20131231
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF/palomino-sim
|
||||
DISTFILES= ${PORTNAME}_src_${PORTVERSION}.txz \
|
||||
@ -83,6 +83,15 @@ post-patch:
|
||||
${WRKSRC}/src/lua_bind/defs.hh
|
||||
@${REINPLACE_CMD} -e 's|doc/html/|${DOCSDIR}/|' ${WRKSRC}/src/gui/gui.cc
|
||||
|
||||
@${REINPLACE_CMD} -e 's/computeBound/computeBoundingBox/g' \
|
||||
${WRKSRC}/src/object/object.cc \
|
||||
${WRKSRC}/src/fx/partsys_medium.cc
|
||||
|
||||
@${REINPLACE_CMD} -e 's/CameraNode/Camera/g' \
|
||||
${WRKSRC}/src/hud/hud.cc \
|
||||
${WRKSRC}/src/hud/hud.hh \
|
||||
${WRKSRC}/src/hud/hud_text.cc
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data scripts" ${STAGEDIR}${DATADIR})
|
||||
|
@ -0,0 +1,15 @@
|
||||
--- src/input/device_keyboard_osg.cc.orig 2012-10-26 01:35:57 UTC
|
||||
+++ src/input/device_keyboard_osg.cc
|
||||
@@ -105,12 +105,6 @@ KeyboardDeviceOSG::HandlerOSG::handle( c
|
||||
}
|
||||
}
|
||||
|
||||
-void
|
||||
-KeyboardDeviceOSG::HandlerOSG::accept( osgGA::GUIEventHandlerVisitor& v )
|
||||
-{
|
||||
- v.visit( *this );
|
||||
-}
|
||||
-
|
||||
} // namespace input
|
||||
|
||||
#endif // COMPILE_OSG
|
@ -0,0 +1,10 @@
|
||||
--- src/input/device_keyboard_osg.hh.orig 2009-11-22 23:05:48 UTC
|
||||
+++ src/input/device_keyboard_osg.hh
|
||||
@@ -57,7 +57,6 @@ private:
|
||||
HandlerOSG( void ) { }
|
||||
virtual ~HandlerOSG() { }
|
||||
virtual bool handle( const osgGA::GUIEventAdapter& event, osgGA::GUIActionAdapter& action );
|
||||
- virtual void accept( osgGA::GUIEventHandlerVisitor& visitor );
|
||||
};
|
||||
};
|
||||
|
15
games/palomino/files/patch-src_input_device__mouse__osg.cc
Normal file
15
games/palomino/files/patch-src_input_device__mouse__osg.cc
Normal file
@ -0,0 +1,15 @@
|
||||
--- src/input/device_mouse_osg.cc.orig 2012-10-26 01:35:57 UTC
|
||||
+++ src/input/device_mouse_osg.cc
|
||||
@@ -145,12 +145,6 @@ MouseDeviceOSG::HandlerOSG::handle( cons
|
||||
}
|
||||
}
|
||||
|
||||
-void
|
||||
-MouseDeviceOSG::HandlerOSG::accept( osgGA::GUIEventHandlerVisitor& v )
|
||||
-{
|
||||
- v.visit( *this );
|
||||
-}
|
||||
-
|
||||
} // namespace input
|
||||
|
||||
#endif // COMPILE_OSG
|
10
games/palomino/files/patch-src_input_device__mouse__osg.hh
Normal file
10
games/palomino/files/patch-src_input_device__mouse__osg.hh
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/input/device_mouse_osg.hh.orig 2011-12-14 01:56:48 UTC
|
||||
+++ src/input/device_mouse_osg.hh
|
||||
@@ -41,7 +41,6 @@ private:
|
||||
HandlerOSG( void ) { }
|
||||
virtual ~HandlerOSG() { }
|
||||
virtual bool handle( const osgGA::GUIEventAdapter& event, osgGA::GUIActionAdapter& action );
|
||||
- virtual void accept( osgGA::GUIEventHandlerVisitor& visitor );
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user