Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 127026 | Differences between
and this patch

Collapse All | Expand All

(-)linden.orig/indra/SConstruct (-1 / +7 lines)
Lines 192-197 Link Here
192
			include_dirs += [ '../libraries/' + system_str + '/include/atk-1.0' ]
192
			include_dirs += [ '../libraries/' + system_str + '/include/atk-1.0' ]
193
			include_dirs += [ '../libraries/' + system_str + '/include/ELFIO' ]
193
			include_dirs += [ '../libraries/' + system_str + '/include/ELFIO' ]
194
			include_dirs += [ '../libraries/' + system_str + '/include/llfreetype2' ]
194
			include_dirs += [ '../libraries/' + system_str + '/include/llfreetype2' ]
195
			pipe = os.popen('pkg-config gtk+-2.0 --cflags')
196
			flags += pipe.read().rstrip('\n') + ' '
197
			pipe.close()
198
			pipe = os.popen('freetype-config --cflags')
199
			flags += pipe.read().rstrip('\n') + ' '
200
			pipe.close()
195
201
196
			# llmozlib stuff
202
			# llmozlib stuff
197
			if enable_mozlib == 'yes':
203
			if enable_mozlib == 'yes':
Lines 207-213 Link Here
207
	### Build type-specific flags ###
213
	### Build type-specific flags ###
208
214
209
	debug_opts = flags + '-fno-inline -O0 -D_DEBUG -DLL_DEBUG=1 '
215
	debug_opts = flags + '-fno-inline -O0 -D_DEBUG -DLL_DEBUG=1 '
210
	release_opts = flags + '-O2 -DNDEBUG -DLL_RELEASE=1 '
216
	release_opts = flags + '-DNDEBUG -DLL_RELEASE=1 '
211
	releasenoopt_opts = flags + '-O0 -DNDEBUG -DLL_RELEASE=1 '
217
	releasenoopt_opts = flags + '-O0 -DNDEBUG -DLL_RELEASE=1 '
212
	releasefordownload_opts = flags + '-O2 -DNDEBUG -DLL_RELEASE=1 -DLL_RELEASE_FOR_DOWNLOAD=1 '
218
	releasefordownload_opts = flags + '-O2 -DNDEBUG -DLL_RELEASE=1 -DLL_RELEASE_FOR_DOWNLOAD=1 '
213
219
(-)linden.orig/indra/llcommon/llsdserialize_xml.cpp (-1 / +1 lines)
Lines 35-41 Link Here
35
35
36
extern "C"
36
extern "C"
37
{
37
{
38
#include "expat/expat.h"
38
#include "expat.h"
39
}
39
}
40
40
41
/**
41
/**
(-)linden.orig/indra/llcommon/llsys.cpp (-1 / +1 lines)
Lines 30-36 Link Here
30
#include "llsys.h"
30
#include "llsys.h"
31
31
32
#include <iostream>
32
#include <iostream>
33
#include <zlib/zlib.h>
33
#include <zlib.h>
34
#include "processor.h"
34
#include "processor.h"
35
35
36
#if LL_WINDOWS
36
#if LL_WINDOWS
(-)linden.orig/indra/llimage/llimagejpeg.h (-3 / +2 lines)
Lines 33-41 Link Here
33
#include "llimage.h"
33
#include "llimage.h"
34
34
35
extern "C" {
35
extern "C" {
36
#include "jpeglib/jinclude.h"
36
#include "jpeglib.h"
37
#include "jpeglib/jpeglib.h"
37
#include "jerror.h"
38
#include "jpeglib/jerror.h"
39
}
38
}
40
39
41
class LLImageJPEG : public LLImageFormatted
40
class LLImageJPEG : public LLImageFormatted
(-)linden.orig/indra/llimagej2coj/llimagej2coj.cpp (-1 / +1 lines)
Lines 30-36 Link Here
30
30
31
// this is defined so that we get static linking.
31
// this is defined so that we get static linking.
32
#define OPJ_STATIC
32
#define OPJ_STATIC
33
#include "openjpeg/openjpeg.h"
33
#include "openjpeg.h"
34
34
35
#include "lltimer.h"
35
#include "lltimer.h"
36
#include "llmemory.h"
36
#include "llmemory.h"
(-)linden.orig/indra/llmessage/llfiltersd2xmlrpc.cpp (-1 / +1 lines)
Lines 76-82 Link Here
76
76
77
#include <sstream>
77
#include <sstream>
78
#include <iterator>
78
#include <iterator>
79
#include <xmlrpc-epi/xmlrpc.h>
79
#include <xmlrpc.h>
80
#include "apr-1/apr_base64.h"
80
#include "apr-1/apr_base64.h"
81
81
82
#include "llbuffer.h"
82
#include "llbuffer.h"
(-)linden.orig/indra/llmessage/llhttpassetstorage.cpp (-1 / +1 lines)
Lines 36-42 Link Here
36
#include "llvfile.h"
36
#include "llvfile.h"
37
#include "llvfs.h"
37
#include "llvfs.h"
38
38
39
#include "zlib/zlib.h"
39
#include "zlib.h"
40
40
41
const U32 MAX_RUNNING_REQUESTS = 4;
41
const U32 MAX_RUNNING_REQUESTS = 4;
42
const F32 MAX_PROCESSING_TIME = 0.005f;
42
const F32 MAX_PROCESSING_TIME = 0.005f;
(-)linden.orig/indra/llrender/llfont.cpp (-4 / +4 lines)
Lines 30-40 Link Here
30
#include "llfont.h"
30
#include "llfont.h"
31
31
32
// Freetype stuff
32
// Freetype stuff
33
#if LL_LINUX   // I had to do some work to avoid the system-installed FreeType headers... --ryan.
33
// #if LL_LINUX   // I had to do some work to avoid the system-installed FreeType headers... --ryan.
34
#include "llfreetype2/freetype/ft2build.h"
34
// #include "llfreetype2/freetype/ft2build.h"
35
#else
35
// #else
36
#include <ft2build.h>
36
#include <ft2build.h>
37
#endif
37
// #endif
38
38
39
// For some reason, this won't work if it's not wrapped in the ifdef
39
// For some reason, this won't work if it's not wrapped in the ifdef
40
#ifdef FT_FREETYPE_H
40
#ifdef FT_FREETYPE_H
(-)linden.orig/indra/llxml/llxmlnode.h (-1 / +1 lines)
Lines 29-35 Link Here
29
#define LL_LLXMLNODE_H
29
#define LL_LLXMLNODE_H
30
30
31
#define XML_STATIC
31
#define XML_STATIC
32
#include "expat/expat.h"
32
#include "expat.h"
33
#include <map>
33
#include <map>
34
34
35
#include "indra_constants.h"
35
#include "indra_constants.h"
(-)linden.orig/indra/llxml/llxmlparser.h (-1 / +1 lines)
Lines 29-35 Link Here
29
#define LL_LLXMLPARSER_H
29
#define LL_LLXMLPARSER_H
30
30
31
#define XML_STATIC
31
#define XML_STATIC
32
#include "expat/expat.h"
32
#include "expat.h"
33
33
34
class LLXmlParser
34
class LLXmlParser
35
{
35
{
(-)linden.orig/indra/newview/llfloaterpostcard.cpp (-1 / +1 lines)
Lines 237-243 Link Here
237
	{	
237
	{	
238
	}
238
	}
239
	// *TODO define custom uploadFailed here so it's not such a generic message
239
	// *TODO define custom uploadFailed here so it's not such a generic message
240
	void LLSendPostcardResponder::uploadComplete(const LLSD& content)
240
	void uploadComplete(const LLSD& content)
241
	{
241
	{
242
		// we don't care about what the server returns from this post, just clean up the UI
242
		// we don't care about what the server returns from this post, just clean up the UI
243
		LLUploadDialog::modalUploadFinished();
243
		LLUploadDialog::modalUploadFinished();
(-)linden.orig/indra/newview/lluserauth.cpp (-1 / +1 lines)
Lines 40-46 Link Here
40
40
41
// NOTE: MUST include these after otherincludes since queue gets redefined!?!!
41
// NOTE: MUST include these after otherincludes since queue gets redefined!?!!
42
#include <curl/curl.h>
42
#include <curl/curl.h>
43
#include <xmlrpc-epi/xmlrpc.h>
43
#include <xmlrpc.h>
44
44
45
45
46
46
(-)linden.orig/indra/newview/llviewerobjectlist.cpp (-1 / +1 lines)
Lines 60-66 Link Here
60
#include "u64.h"
60
#include "u64.h"
61
#include "llviewerimagelist.h"
61
#include "llviewerimagelist.h"
62
#include "lldatapacker.h"
62
#include "lldatapacker.h"
63
#include <zlib/zlib.h>
63
#include <zlib.h>
64
#include "object_flags.h"
64
#include "object_flags.h"
65
65
66
extern BOOL gVelocityInterpolate;
66
extern BOOL gVelocityInterpolate;
(-)linden.orig/indra/newview/llxmlrpctransaction.cpp (-1 / +1 lines)
Lines 33-39 Link Here
33
33
34
// Have to include these last to avoid queue redefinition!
34
// Have to include these last to avoid queue redefinition!
35
#include <curl/curl.h>
35
#include <curl/curl.h>
36
#include <xmlrpc-epi/xmlrpc.h>
36
#include <xmlrpc.h>
37
37
38
#include "viewer.h"
38
#include "viewer.h"
39
39

Return to bug 127026