pkgsrc/devel/xulrunner17/patches/patch-gfx_skia_src_sfnt_SkSFNTHeader.h
ryoon 27af90c8a6 Import xulrunner17-17.0.2 as devel/xulrunner17.
XULRunner is a runtime environment for applications using the
XML User Interface Language, XUL. It is the successor of the "Gecko"
runtime environment.

This package tracks 17.0.x extended support release.
2013-01-10 16:17:09 +00:00

24 lines
623 B
C

$NetBSD: patch-gfx_skia_src_sfnt_SkSFNTHeader.h,v 1.1 2013/01/10 16:17:10 ryoon Exp $
* Fix build wth NetBSD 5's gcc
--- gfx/skia/src/sfnt/SkSFNTHeader.h.orig 2012-11-29 04:44:13.000000000 +0000
+++ gfx/skia/src/sfnt/SkSFNTHeader.h
@@ -15,7 +15,7 @@
typedef uint16_t SK_SFNT_USHORT;
typedef uint32_t SK_SFNT_ULONG;
-#pragma pack(push, 1)
+#pragma pack(1)
struct SkSFNTHeader {
SK_SFNT_ULONG fontType;
@@ -37,7 +37,7 @@ struct SkSFNTTableDirectoryEntry {
SK_SFNT_ULONG logicalLength;
};
-#pragma pack(pop)
+#pragma pack()
SK_COMPILE_ASSERT(sizeof(SkSFNTHeader) == 12, sizeof_SkSFNTHeader_not_12);