1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/dns/powerdns/files/patch-modules__luabackend__luabackend.hh
Kurt Jaeger ac9fd9da61 dns/powerdns: fix for check-plist with non-standard options
The pkg-plist was broken with non-default backends enabled.

PR:		194505
Submitted by:	Ralf van der Enden <tremere@cainites.net> (maintainer)
2014-10-22 11:59:49 +00:00

13 lines
675 B
C++

--- modules/luabackend/luabackend.hh.orig 2014-09-23 06:27:34 UTC
+++ modules/luabackend/luabackend.hh
@@ -155,7 +155,9 @@
// FUNCTIONS TO THIS BACKEND
bool getValueFromTable(lua_State *lua, const std::string& key, string& value);
bool getValueFromTable(lua_State *lua, uint32_t key, string& value);
+#ifndef __i386__
bool getValueFromTable(lua_State *lua, const std::string& key, time_t& value);
+#endif
bool getValueFromTable(lua_State *lua, const std::string& key, uint32_t& value);
bool getValueFromTable(lua_State *lua, const std::string& key, uint16_t& value);
bool getValueFromTable(lua_State *lua, const std::string& key, int& value);