HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #380

Ticket #380: premake-4.2.1.patch

File premake-4.2.1.patch, 1.6 KB (added by michaelvoliveira, 5 years ago)

patch to drop _setjmp use

  • build/gmake.unix/Premake4.make

    diff -Naur premake-4.2.1/build/gmake.unix/Premake4.make premake-4.2.1-haiku/build/gmake.unix/Premake4.make
    old new  
    2828  CPPFLAGS  += -MMD -MP $(DEFINES) $(INCLUDES) 
    2929  CFLAGS    += $(CPPFLAGS) $(ARCH) -Wall -Os 
    3030  CXXFLAGS  += $(CFLAGS)  
    31   LDFLAGS   += -s -rdynamic 
    32   LIBS      += -lm -ldl 
     31  LDFLAGS   += -s 
     32  LIBS      += 
    3333  RESFLAGS  += $(DEFINES) $(INCLUDES)  
    3434  LDDEPS    +=  
    3535  LINKCMD    = $(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(ARCH) $(LIBS) 
  • src/host/lua-5.1.4/src/luaconf.h

    diff -Naur premake-4.2.1/src/host/lua-5.1.4/src/luaconf.h premake-4.2.1-haiku/src/host/lua-5.1.4/src/luaconf.h
    old new  
    5555#define LUA_USE_MKSTEMP 
    5656#define LUA_USE_ISATTY 
    5757#define LUA_USE_POPEN 
    58 #define LUA_USE_ULONGJMP 
    5958#endif 
    6059 
    6160 
  • src/host/premake.h

    diff -Naur premake-4.2.1/src/host/premake.h premake-4.2.1-haiku/src/host/premake.h
    old new  
    1212 
    1313/* Identify the current platform I'm not sure how to reliably detect 
    1414 * Windows but since it is the most common I use it as the default */ 
    15 #if defined(__linux__) 
     15#if defined(__linux__)  || defined(__HAIKU__) 
    1616#define PLATFORM_LINUX    (1) 
    1717#define PLATFORM_STRING   "linux" 
    1818#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/