summaryrefslogtreecommitdiff
path: root/libre/icecat/cairo.patch
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-01-12 17:00:09 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-01-12 17:06:37 -0500
commitc3f41f14797cb2f0340a60237f5daeb3a1fcdc05 (patch)
tree031cb52fd9fad43119ac37049897bda9a6e0a876 /libre/icecat/cairo.patch
parent867dbcc116fbed767fa4262aedf445546bb11d06 (diff)
downloadabslibre-c3f41f14797cb2f0340a60237f5daeb3a1fcdc05.tar.gz
abslibre-c3f41f14797cb2f0340a60237f5daeb3a1fcdc05.tar.bz2
abslibre-c3f41f14797cb2f0340a60237f5daeb3a1fcdc05.zip
libre/icecat: tidy up, rename files
PKGBUILD-only: * do the build in "mozilla-release", to match firefox PKGBUILD and file changes: * mv {,bug-}xulrunner-copy-stub.patch * rm cairo.patch # was unapplied * mv {icecat,firefox}-install-dir.patch * mv {icecat,firefox}.install * rm gcc47.patch # was unapplied * rm icecat-safe.desktop # no longer offered for firefox * add shared-libs.patch from firefox, this was done by a sed script *
Diffstat (limited to 'libre/icecat/cairo.patch')
-rw-r--r--libre/icecat/cairo.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/libre/icecat/cairo.patch b/libre/icecat/cairo.patch
deleted file mode 100644
index a1fabee90..000000000
--- a/libre/icecat/cairo.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/gfx/thebes/gfxPlatform.cpp
-+++ b/gfx/thebes/gfxPlatform.cpp
-@@ -459,11 +459,9 @@ void SourceBufferDestroy(void *srcBuffer)
- static_cast<SourceSurface*>(srcBuffer)->Release();
- }
-
--void SourceSnapshotDetached(cairo_surface_t *nullSurf)
-+void SourceSnapshotDetached(void *nullSurf)
- {
-- gfxImageSurface* origSurf =
-- static_cast<gfxImageSurface*>(cairo_surface_get_user_data(nullSurf, &kSourceSurface));
--
-+ gfxImageSurface *origSurf = static_cast<gfxImageSurface*>(nullSurf);
- origSurf->SetData(&kSourceSurface, NULL, NULL);
- }
-
-@@ -535,14 +533,8 @@ gfxPlatform::GetSourceSurfaceForSurface(DrawTarget *aTarget, gfxASurface *aSurfa
- imgSurface->Stride(),
- format);
-
-- cairo_surface_t *nullSurf =
-- cairo_null_surface_create(CAIRO_CONTENT_COLOR_ALPHA);
-- cairo_surface_set_user_data(nullSurf,
-- &kSourceSurface,
-- imgSurface,
-- NULL);
-- cairo_surface_attach_snapshot(imgSurface->CairoSurface(), nullSurf, SourceSnapshotDetached);
-- cairo_surface_destroy(nullSurf);
-+ cairo_surface_set_mime_data(imgSurface->CairoSurface(), "mozilla/magic",
-+ (const unsigned char *) "data", 4, SourceSnapshotDetached, imgSurface.get());
- }
-
- srcBuffer->AddRef();