Projects
Essentials
lightspark
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 80
View file
build.patch
Changed
@@ -79,8 +79,21 @@ int frameOk=0; int ret=avcodec_decode_audio4(codecContext, frameIn, &frameOk, pkt); if(frameOk==0) +diff --git a/src/backends/security.cpp b/src/backends/security.cpp +index 7cd8236..6eeffd7 100644 +--- a/src/backends/security.cpp ++++ b/src/backends/security.cpp +@@ -1298,7 +1298,7 @@ bool SocketPolicyFile::retrievePolicyFile(vector<unsigned char>& outData) + const char *socket_policy_cmd = "<policy-file-request/>\0"; + unsigned int socket_policy_cmd_len = strlen(socket_policy_cmd)+1; + ssize_t nbytes = sock.sendAll(socket_policy_cmd, socket_policy_cmd_len); +- if (nbytes != socket_policy_cmd_len) ++ if (nbytes != (int)socket_policy_cmd_len) + { + return false; + } diff --git a/src/scripting/abc.cpp b/src/scripting/abc.cpp -index f159a73..7ed7126 100644 +index f159a73..6ce3235 100644 --- a/src/scripting/abc.cpp +++ b/src/scripting/abc.cpp @@ -1641,7 +1641,7 @@ void ABCVm::Run(ABCVm* th) @@ -92,3 +105,373 @@ #ifdef LLVM_31 Opts.JITEmitDebugInfo = true; #else +@@ -1665,7 +1665,9 @@ void ABCVm::Run(ABCVm* th) + + #ifdef LLVM_36 + th->FPM=new llvm::legacy::FunctionPassManager(th->module); ++#ifndef LLVM_37 + th->FPM->add(new llvm::DataLayoutPass()); ++#endif + #else + th->FPM=new llvm::FunctionPassManager(th->module); + #ifdef LLVM_35 +diff --git a/src/scripting/avmplus/avmplus.cpp b/src/scripting/avmplus/avmplus.cpp +index 199d679..f525405 100644 +--- a/src/scripting/avmplus/avmplus.cpp ++++ b/src/scripting/avmplus/avmplus.cpp +@@ -56,7 +56,7 @@ ASFUNCTIONBODY(avmplusFile,write) + } + ASFUNCTIONBODY(avmplusFile,readByteArray) + { +- avmplusFile* th=static_cast<avmplusFile*>(obj); ++ //avmplusFile* th=static_cast<avmplusFile*>(obj); + tiny_string filename; + ARG_UNPACK(filename); + +diff --git a/src/scripting/flash/display/BitmapData.cpp b/src/scripting/flash/display/BitmapData.cpp +index b3d3a7e..0292aea 100644 +--- a/src/scripting/flash/display/BitmapData.cpp ++++ b/src/scripting/flash/display/BitmapData.cpp +@@ -141,7 +141,7 @@ ASFUNCTIONBODY(BitmapData,_constructor) + uint8_t *alpha=reinterpret_cast<uint8_t *>(&c); + *alpha=0xFF; + } +- for(uint32_t i=0; i<width*height; i++) ++ for(uint32_t i=0; i<(uint32_t)(width*height); i++) + pixelArray[i]=c; + th->pixels->fromRGB(reinterpret_cast<uint8_t *>(pixelArray), width, height, BitmapContainer::ARGB32); + th->transparent=transparent; +@@ -842,8 +842,6 @@ ASFUNCTIONBODY(BitmapData,compare) + + ASFUNCTIONBODY(BitmapData,applyFilter) + { +- BitmapData* th = obj->as<BitmapData>(); +- + _NR<BitmapData> sourceBitmapData; + _NR<Rectangle> sourceRect; + _NR<Point> destPoint; +@@ -852,9 +850,9 @@ ASFUNCTIONBODY(BitmapData,applyFilter) + LOG(LOG_NOT_IMPLEMENTED,"BitmapData.applyFilter not implemented"); + return NULL; + } ++ + ASFUNCTIONBODY(BitmapData,noise) + { +- BitmapData* th = obj->as<BitmapData>(); + int randomSeed; + uint low; + uint high; +diff --git a/src/scripting/flash/events/flashevents.cpp b/src/scripting/flash/events/flashevents.cpp +index 20623c6..e6864b1 100644 +--- a/src/scripting/flash/events/flashevents.cpp ++++ b/src/scripting/flash/events/flashevents.cpp +@@ -189,13 +189,13 @@ ASFUNCTIONBODY(Event,clone) + + ASFUNCTIONBODY(Event,stopPropagation) + { +- Event* th=static_cast<Event*>(obj); ++ //Event* th=static_cast<Event*>(obj); + LOG(LOG_NOT_IMPLEMENTED,"Event.stopPropagation not implemented"); + return NULL; + } + ASFUNCTIONBODY(Event,stopImmediatePropagation) + { +- Event* th=static_cast<Event*>(obj); ++ //Event* th=static_cast<Event*>(obj); + LOG(LOG_NOT_IMPLEMENTED,"Event.stopImmediatePropagation not implemented"); + return NULL; + } +@@ -1417,8 +1417,8 @@ void UncaughtErrorEvents::sinit(Class_base* c) + + ASFUNCTIONBODY(UncaughtErrorEvents, _constructor) + { +- EventDispatcher::_constructor(obj, NULL, 0); +- UncaughtErrorEvents* th=Class<UncaughtErrorEvents>::cast(obj); ++ //EventDispatcher::_constructor(obj, NULL, 0); ++ //UncaughtErrorEvents* th=Class<UncaughtErrorEvents>::cast(obj); + LOG(LOG_NOT_IMPLEMENTED,"UncaughtErrorEvents is not implemented"); + return NULL; + } +diff --git a/src/scripting/flash/filesystem/flashfilesystem.cpp b/src/scripting/flash/filesystem/flashfilesystem.cpp +index 1106815..fb56486 100644 +--- a/src/scripting/flash/filesystem/flashfilesystem.cpp ++++ b/src/scripting/flash/filesystem/flashfilesystem.cpp +@@ -36,7 +36,7 @@ void FileStream::sinit(Class_base* c) + ASFUNCTIONBODY(FileStream, _constructor) + { + EventDispatcher::_constructor(obj, NULL, 0); +- FileStream* th=Class<FileStream>::cast(obj); ++ //FileStream* th=Class<FileStream>::cast(obj); + LOG(LOG_NOT_IMPLEMENTED,"FileStream is not implemented"); + return NULL; + } +diff --git a/src/scripting/flash/filters/flashfilters.cpp b/src/scripting/flash/filters/flashfilters.cpp +index d230db4..4797809 100644 +--- a/src/scripting/flash/filters/flashfilters.cpp ++++ b/src/scripting/flash/filters/flashfilters.cpp +@@ -178,15 +178,14 @@ void GradientGlowFilter::sinit(Class_base* c) + + ASFUNCTIONBODY(GradientGlowFilter, _constructor) + { +- GradientGlowFilter *th = obj->as<GradientGlowFilter>(); ++ //GradientGlowFilter *th = obj->as<GradientGlowFilter>(); + LOG(LOG_NOT_IMPLEMENTED,"GradientGlowFilter is not implemented"); + return NULL; + } + + BitmapFilter* GradientGlowFilter::cloneImpl() const + { +- GradientGlowFilter *cloned = Class<GradientGlowFilter>::getInstanceS(); +- return cloned; ++ return Class<GradientGlowFilter>::getInstanceS(); + } + + BevelFilter::BevelFilter(Class_base* c): +@@ -201,15 +200,14 @@ void BevelFilter::sinit(Class_base* c) + + ASFUNCTIONBODY(BevelFilter, _constructor) + { +- BevelFilter *th = obj->as<BevelFilter>(); ++ //BevelFilter *th = obj->as<BevelFilter>(); + LOG(LOG_NOT_IMPLEMENTED,"GradientGlowFilter is not implemented"); + return NULL; + } + + BitmapFilter* BevelFilter::cloneImpl() const + { +- BevelFilter *cloned = Class<BevelFilter>::getInstanceS(); +- return cloned; ++ return Class<BevelFilter>::getInstanceS(); + } + ColorMatrixFilter::ColorMatrixFilter(Class_base* c): + BitmapFilter(c),matrix(NULL) +@@ -253,15 +251,14 @@ void BlurFilter::sinit(Class_base* c) + + ASFUNCTIONBODY(BlurFilter, _constructor) + { +- BlurFilter *th = obj->as<BlurFilter>(); ++ //BlurFilter *th = obj->as<BlurFilter>(); + LOG(LOG_NOT_IMPLEMENTED,"BlurFilter is not implemented"); + return NULL; + } + + BitmapFilter* BlurFilter::cloneImpl() const + { +- BlurFilter *cloned = Class<BlurFilter>::getInstanceS(); +- return cloned; ++ return Class<BlurFilter>::getInstanceS(); + } + + ConvolutionFilter::ConvolutionFilter(Class_base* c): +@@ -276,15 +273,14 @@ void ConvolutionFilter::sinit(Class_base* c) + + ASFUNCTIONBODY(ConvolutionFilter, _constructor) + { +- ConvolutionFilter *th = obj->as<ConvolutionFilter>(); ++ //ConvolutionFilter *th = obj->as<ConvolutionFilter>(); + LOG(LOG_NOT_IMPLEMENTED,"ConvolutionFilter is not implemented"); + return NULL; + } + + BitmapFilter* ConvolutionFilter::cloneImpl() const + { +- ConvolutionFilter *cloned = Class<ConvolutionFilter>::getInstanceS(); +- return cloned; ++ return Class<ConvolutionFilter>::getInstanceS();
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.