pkgsrc/www/firefox24/patches/patch-gfx_skia_src_sfnt_SkOTTable__name.h
ryoon a66ef51f47 Import firefox24-24.1.0 as www/firefox24.
Mozilla Firefox is a free, open-source and cross-platform web browser
for Windows, Linux, MacOS X and many other operating systems.

It is fast and easy to use, and offers many advantages over other web
browsers, such as tabbed browsing and the ability to block pop-up
windows.

Firefox also offers excellent bookmark and history management, and it
can be extended by developers using industry standards such as XML,
CSS, JavaScript, C++, etc. Many extensions are available.

This package tracks 24 extended support release branch.
2013-11-03 04:51:59 +00:00

24 lines
650 B
C

$NetBSD: patch-gfx_skia_src_sfnt_SkOTTable__name.h,v 1.1 2013/11/03 04:51:59 ryoon Exp $
* Fix build with NetBSD 5's gcc
--- gfx/skia/src/sfnt/SkOTTable_name.h.orig 2013-01-04 23:44:33.000000000 +0000
+++ gfx/skia/src/sfnt/SkOTTable_name.h
@@ -12,7 +12,7 @@
#include "SkOTTableTypes.h"
#include "SkTypedEnum.h"
-#pragma pack(push, 1)
+#pragma pack(1)
struct SkOTTableName {
static const SK_OT_CHAR TAG0 = 'n';
@@ -499,7 +499,7 @@ struct SkOTTableNameRecord {
SK_OT_USHORT offset; //From start of storage area.
};
-#pragma pack(pop)
+#pragma pack()
SK_COMPILE_ASSERT(sizeof(SkOTTableName) == 6, sizeof_SkOTTableName_not_6);