summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation/secondlife/files/secondlife-1.18.3.2-gentoo.patch')
-rw-r--r--games-simulation/secondlife/files/secondlife-1.18.3.2-gentoo.patch113
1 files changed, 113 insertions, 0 deletions
diff --git a/games-simulation/secondlife/files/secondlife-1.18.3.2-gentoo.patch b/games-simulation/secondlife/files/secondlife-1.18.3.2-gentoo.patch
new file mode 100644
index 0000000..42fe3b4
--- /dev/null
+++ b/games-simulation/secondlife/files/secondlife-1.18.3.2-gentoo.patch
@@ -0,0 +1,113 @@
+diff -Naur linden.orig/indra/SConstruct linden/indra/SConstruct
+--- linden.orig/indra/SConstruct 2007-08-30 06:10:39.000000000 +0900
++++ linden/indra/SConstruct 2007-08-31 23:37:53.000000000 +0900
+@@ -154,6 +154,9 @@
+ 'libssl',
+ ]
+
++if enable_gstreamer:
++ standalone_pkgs += [ 'gstreamer-0.10' ]
++
+ def pkgconfig(opt, pkgs=None):
+ if pkgs is None:
+ pkgs = standalone_pkgs + standalone_net_pkgs
+@@ -610,7 +613,7 @@
+ net_external_libs = [ 'curl', 'ssl', 'crypto', 'aprutil-1', 'apr-1' ]
+ net_external_libs += [ 'cares', 'expat' ]
+
+- common_external_libs = net_external_libs + [ 'xmlrpc-epi', 'z' ]
++ common_external_libs = net_external_libs + [ 'xmlrpc', 'z' ]
+
+ if build_target == 'client':
+ if platform == 'linux':
+@@ -754,7 +757,7 @@
+ internal_libs + external_libs)
+
+ # Rpcserver
+- external_libs = common_external_libs + ['xmlrpc-epi', 'mysqlclient']
++ external_libs = common_external_libs + ['xmlrpc', 'mysqlclient']
+ internal_libs = ['llscene', 'llmessage', 'lldatabase', 'llvfs',
+ 'llmath', 'llcommon']
+ create_executable('rpcserver/rpcserver' + file_suffix, 'rpcserver',
+diff -Naur linden.orig/indra/llimagej2coj/llimagej2coj.cpp linden/indra/llimagej2coj/llimagej2coj.cpp
+--- linden.orig/indra/llimagej2coj/llimagej2coj.cpp 2007-08-30 06:10:39.000000000 +0900
++++ linden/indra/llimagej2coj/llimagej2coj.cpp 2007-08-31 00:33:42.000000000 +0900
+@@ -31,7 +31,7 @@
+
+ // this is defined so that we get static linking.
+ #define OPJ_STATIC
+-#include "openjpeg/openjpeg.h"
++#include "openjpeg.h"
+
+ #include "lltimer.h"
+ #include "llmemory.h"
+diff -Naur linden.orig/indra/llmessage/llfiltersd2xmlrpc.cpp linden/indra/llmessage/llfiltersd2xmlrpc.cpp
+--- linden.orig/indra/llmessage/llfiltersd2xmlrpc.cpp 2007-08-30 06:10:39.000000000 +0900
++++ linden/indra/llmessage/llfiltersd2xmlrpc.cpp 2007-08-31 00:33:42.000000000 +0900
+@@ -77,7 +77,7 @@
+
+ #include <sstream>
+ #include <iterator>
+-#include <xmlrpc-epi/xmlrpc.h>
++#include <xmlrpc.h>
+ #include "apr-1/apr_base64.h"
+
+ #include "llbuffer.h"
+diff -Naur linden.orig/indra/newview/llsrv.cpp linden/indra/newview/llsrv.cpp
+--- linden.orig/indra/newview/llsrv.cpp 2007-08-30 06:10:43.000000000 +0900
++++ linden/indra/newview/llsrv.cpp 2007-08-31 00:33:42.000000000 +0900
+@@ -73,6 +73,7 @@
+
+ #include <netdb.h>
+
++#define HOMEGROWN_RESPONSE_PARSER
+ #ifdef HOMEGROWN_RESPONSE_PARSER
+
+ // We ought to be using libresolv's ns_initparse and ns_parserr to
+diff -Naur linden.orig/indra/newview/lluserauth.cpp linden/indra/newview/lluserauth.cpp
+--- linden.orig/indra/newview/lluserauth.cpp 2007-08-30 06:10:43.000000000 +0900
++++ linden/indra/newview/lluserauth.cpp 2007-08-31 00:33:42.000000000 +0900
+@@ -42,7 +42,7 @@
+
+ // NOTE: MUST include these after otherincludes since queue gets redefined!?!!
+ #include <curl/curl.h>
+-#include <xmlrpc-epi/xmlrpc.h>
++#include <xmlrpc.h>
+
+
+
+diff -Naur linden.orig/indra/newview/llvoiceclient.cpp linden/indra/newview/llvoiceclient.cpp
+--- linden.orig/indra/newview/llvoiceclient.cpp 2007-08-30 06:10:43.000000000 +0900
++++ linden/indra/newview/llvoiceclient.cpp 2007-08-31 00:33:42.000000000 +0900
+@@ -36,7 +36,7 @@
+ #include "llvoavatar.h"
+ #include "llbufferstream.h"
+ #include "llfile.h"
+-#include "expat/expat.h"
++#include "expat.h"
+ #include "llcallbacklist.h"
+ #include "llviewerregion.h"
+ #include "llviewernetwork.h" // for gUserServerChoice
+diff -Naur linden.orig/indra/newview/llwebbrowserctrl.h linden/indra/newview/llwebbrowserctrl.h
+--- linden.orig/indra/newview/llwebbrowserctrl.h 2007-08-30 06:10:43.000000000 +0900
++++ linden/indra/newview/llwebbrowserctrl.h 2007-08-31 00:33:42.000000000 +0900
+@@ -92,6 +92,7 @@
+ #include "lldynamictexture.h"
+ #include "llmozlib.h"
+
++class LLUICtrlFactory;
+ class LLViewBorder;
+ class LLWebBrowserTexture;
+
+diff -Naur linden.orig/indra/newview/llxmlrpctransaction.cpp linden/indra/newview/llxmlrpctransaction.cpp
+--- linden.orig/indra/newview/llxmlrpctransaction.cpp 2007-08-30 06:10:43.000000000 +0900
++++ linden/indra/newview/llxmlrpctransaction.cpp 2007-08-31 00:33:42.000000000 +0900
+@@ -34,7 +34,7 @@
+
+ // Have to include these last to avoid queue redefinition!
+ #include <curl/curl.h>
+-#include <xmlrpc-epi/xmlrpc.h>
++#include <xmlrpc.h>
+
+ #include "viewer.h"
+