Hehe... I'm never going to get any rep for just editing the same post over and over
Contents of updated evox-sd2linux.patch
skinlayersCode:diff -rupN a/configure.ac b/configure.ac --- a/configure.ac 2010-02-17 18:49:07.000000000 -0800 +++ b/configure.ac 2010-02-17 18:49:50.000000000 -0800 @@ -297,7 +297,11 @@ AC_CONFIG_FILES([ src/mangosd/Makefile src/mangosd/mangosd.conf.dist src/bindings/Makefile - src/bindings/universal/Makefile + src/bindings/scriptdev2/Makefile + src/bindings/scriptdev2/scriptdev2.conf.dist + src/bindings/scriptdev2/config.h + src/bindings/scriptdev2/sql/Makefile + src/bindings/scriptdev2/sql/Updates/Makefile ]) ## Configure ACE, if needed diff -rupN a/src/bindings/.gitignore b/src/bindings/.gitignore --- a/src/bindings/.gitignore 2010-02-17 18:49:08.000000000 -0800 +++ b/src/bindings/.gitignore 2010-02-17 18:49:50.000000000 -0800 @@ -11,4 +11,4 @@ # # Scripting projects # -#universal +scriptdev2 diff -rupN a/src/bindings/Makefile.am b/src/bindings/Makefile.am --- a/src/bindings/Makefile.am 2010-02-17 18:49:08.000000000 -0800 +++ b/src/bindings/Makefile.am 2010-02-17 18:49:50.000000000 -0800 @@ -14,4 +14,4 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -SUBDIRS = universal +SUBDIRS = scriptdev2 diff -rupN a/src/bindings/scriptdev2/config.h.in b/src/bindings/scriptdev2/config.h.in --- a/src/bindings/scriptdev2/config.h.in 1969-12-31 16:00:00.000000000 -0800 +++ b/src/bindings/scriptdev2/config.h.in 2009-08-03 05:59:25.000000000 -0700 @@ -0,0 +1,58 @@ +/* + * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef SC_CONFIG_H +#define SC_CONFIG_H + +#include "Platform/CompilerDefs.h" +#include "revision.h" + +// Format is YYYYMMDDRR where RR is the change in the conf file +// for that day. +#define SD2_CONF_VERSION 2009040501 + +#ifdef WIN32 + #define MANGOS_DLL_EXPORT extern "C" __declspec(dllexport) +#elif defined( __GNUC__ ) + #define MANGOS_DLL_EXPORT extern "C" +#else + #define MANGOS_DLL_EXPORT extern "C" export +#endif + +#ifndef _VERSION + #define _VERSION "Revision [" REVISION_ID "] " REVISION_DATE " " REVISION_TIME +#endif + +// The path to config files +#ifndef SYSCONFDIR + #define SYSCONFDIR "" +#endif + +#if PLATFORM == PLATFORM_WINDOWS + #ifdef _WIN64 + #define _FULLVERSION _VERSION " (Win64)" + #else + #define _FULLVERSION _VERSION " (Win32)" + #endif + #define _SCRIPTDEV2_CONFIG "scriptdev2.conf" +#else + #define _FULLVERSION _VERSION " (Unix)" + #define _SCRIPTDEV2_CONFIG SYSCONFDIR"scriptdev2.conf" +#endif + +#endif diff -rupN a/src/mangosd/Makefile.am b/src/mangosd/Makefile.am --- a/src/mangosd/Makefile.am 2010-02-17 18:49:08.000000000 -0800 +++ b/src/mangosd/Makefile.am 2010-02-17 18:49:50.000000000 -0800 @@ -34,7 +34,7 @@ mangos_worldd_SOURCES = \ ## Link world daemon against the shared library mangos_worldd_LDADD = \ - ../bindings/universal/libmangosscript.la \ + ../bindings/scriptdev2/libmangosscript.la \ ../game/libmangosgame.a \ ../shared/Database/libmangosdatabase.a \ ../shared/Config/libmangosconfig.a \ @@ -45,7 +45,7 @@ mangos_worldd_LDADD = \ ../../dep/src/sockets/libmangossockets.a \ ../../dep/src/g3dlite/libg3dlite.a -mangos_worldd_LDFLAGS = -L../../dep/src/sockets -L../../dep/src/g3dlite -L../bindings/universal/ -L$(libdir) $(MANGOS_LIBS) -export-dynamic +mangos_worldd_LDFLAGS = -L../../dep/src/sockets -L../../dep/src/g3dlite -L../bindings/scriptdev2/ -L$(libdir) $(MANGOS_LIBS) -export-dynamic ## Additional files to include when running 'make dist' # Include world daemon configuration


Likes: 





Reply With Quote
Bookmarks