source: trunk/dports/sysutils/sysdig/files/patch-force_luajit_headers.diff @ 147845

Last change on this file since 147845 was 147845, checked in by g5pw@…, 3 years ago

sysutils/sysdig: update to 0.9.0

Update patches to avoid using lua headers if any are installed.

File size: 1.7 KB
  • userspace/libsinsp/chisel.cpp

     
    4444#ifdef HAS_LUA_CHISELS
    4545
    4646extern "C" {
    47 #include "lua.h"
    48 #include "lualib.h"
    49 #include "lauxlib.h"
     47#include <luajit-2.0/lua.h>
     48#include <luajit-2.0/lualib.h>
     49#include <luajit-2.0/lauxlib.h>
    5050}
    5151#endif
    5252
  • userspace/libsinsp/chisel_api.cpp

     
    4646
    4747#ifdef HAS_LUA_CHISELS
    4848extern "C" {
    49 #include "lua.h"
    50 #include "lualib.h"
    51 #include "lauxlib.h"
     49#include <luajit-2.0/lua.h>
     50#include <luajit-2.0/lualib.h>
     51#include <luajit-2.0/lauxlib.h>
    5252}
    5353#endif
    5454
  • userspace/libsinsp/lua_parser.cpp

     
    88
    99
    1010extern "C" {
    11 #include "lua.h"
    12 #include "lualib.h"
    13 #include "lauxlib.h"
     11#include <luajit-2.0/lua.h>
     12#include <luajit-2.0/lualib.h>
     13#include <luajit-2.0/lauxlib.h>
    1414}
    1515
    1616const static struct luaL_reg ll_filter [] =
  • userspace/libsinsp/lua_parser_api.cpp

     
    33#include "lua_parser.h"
    44
    55extern "C" {
    6 #include "lua.h"
    7 #include "lualib.h"
    8 #include "lauxlib.h"
     6#include <luajit-2.0/lua.h>
     7#include <luajit-2.0/lualib.h>
     8#include <luajit-2.0/lauxlib.h>
    99}
    1010
    1111extern sinsp_filter_check_list g_filterlist;
  • userspace/libsinsp/lua_parser_api.h

     
    1919#pragma once
    2020
    2121extern "C" {
    22 #include "lua.h"
    23 #include "lualib.h"
    24 #include "lauxlib.h"
     22#include <luajit-2.0/lua.h>
     23#include <luajit-2.0/lualib.h>
     24#include <luajit-2.0/lauxlib.h>
    2525}
    2626
    2727class lua_parser_cbacks
Note: See TracBrowser for help on using the repository browser.