diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-06-04 17:50:43 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-06-04 17:50:43 +0000 |
commit | 29e6fc16e21400b41549a04a0e0176396072b101 (patch) | |
tree | 802a6c04256024cb1bf4c5992ccaade2d30a3232 /games/warsow/files/patch-ui_as_asbind.h | |
parent | - Switch to USES=libtool, drop .la files (diff) |
- Update to 1.5 [1]
- Reset maintainers [2]
- Remove MAPPACK from default options and mark it BROKEN, it's unfetchable [3]
PR: ports/189477 and ports/189478 [1]
Submitted by: lightside gmx com [1]
Approved by: several maintainer timeouts on those ports [2]
Reported by: pkg-fallout [3]
Notes
Notes:
svn path=/head/; revision=356531
Diffstat (limited to 'games/warsow/files/patch-ui_as_asbind.h')
-rw-r--r-- | games/warsow/files/patch-ui_as_asbind.h | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/games/warsow/files/patch-ui_as_asbind.h b/games/warsow/files/patch-ui_as_asbind.h deleted file mode 100644 index 32f8f58dc04e..000000000000 --- a/games/warsow/files/patch-ui_as_asbind.h +++ /dev/null @@ -1,78 +0,0 @@ ---- ui/as/asbind.h.orig 2012-07-21 13:38:20.000000000 +0400 -+++ ui/as/asbind.h 2014-02-06 06:32:49.000000000 +0400 -@@ -268,7 +268,7 @@ - } - - // throw ? -- template<typename T> const char * typestr() { ctassert<false>(); return "ERROR"; } -+ template<typename T> const char * typestr(); - - template<> inline const char *typestr<signed int>() { return "int"; } - template<> inline const char *typestr<unsigned int>() { return "uint"; } -@@ -436,13 +436,7 @@ - // function string - - template<typename R> --struct FunctionStringProxy { -- std::string operator()( const char *s ) -- { -- ctassert<false>(); -- throw Exception( std::string("FunctionStringProxy base called with " ) + s ); -- } --}; -+struct FunctionStringProxy; - - template<typename R> - struct FunctionStringProxy<R (*)()> { -@@ -539,13 +533,7 @@ - - // method string - --template<typename T> struct MethodStringProxy { -- std::string operator()( const char *s ) -- { -- ctassert<false>(); -- throw Exception( std::string( "MethodStringProxy: base class called in " ) + s ); -- } --}; -+template<typename T> struct MethodStringProxy; - - //== - -@@ -902,17 +890,8 @@ - // functor object to call script-function - - // first define structs to get/set arguments (struct to partial-specialize) --template<typename T> struct SetArg { -- void operator()( asIScriptContext *ctx, int idx, T &t ) { -- ctassert<false>(); -- } --}; --template<typename T> struct GetArg { -- T operator()() { -- ctassert<false>(); -- return T(); -- } --}; -+template<typename T> struct SetArg; -+template<typename T> struct GetArg; - - template<> struct SetArg<signed int> { - void operator()( asIScriptContext *ctx, int idx, signed int &t ) { ctx->SetArgDWord( idx, t ); } -@@ -1042,15 +1021,7 @@ - //================= - - template<typename R> --struct FunctionPtr : FunctionPtrBase { -- FunctionPtr( asIScriptFunction *fptr=NULL ) : FunctionPtrBase( fptr ) {} -- R operator()( void ) -- { -- ctassert<false>(); -- throw std::runtime_error( "FunctionPtr baseclass called!" ); -- return R(); -- } --}; -+struct FunctionPtr; - - //== - |