Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/www/firefox/patches/Attic/patch-mfbt_Alignment.h,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/www/firefox/patches/Attic/patch-mfbt_Alignment.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.2 retrieving revision 1.3 diff -u -p -r1.2 -r1.3 --- pkgsrc/www/firefox/patches/Attic/patch-mfbt_Alignment.h 2014/07/24 14:57:12 1.2 +++ pkgsrc/www/firefox/patches/Attic/patch-mfbt_Alignment.h 2015/11/03 15:52:57 1.3 @@ -1,18 +1,11 @@ -$NetBSD: patch-mfbt_Alignment.h,v 1.2 2014/07/24 14:57:12 ryoon Exp $ +$NetBSD: patch-mfbt_Alignment.h,v 1.3 2015/11/03 15:52:57 ryoon Exp $ Make MOZ_ALIGNOF() use gcc's builtin __alignof__. From https://bugzilla.mozilla.org/show_bug.cgi?id=1026499 ---- mfbt/Alignment.h.orig 2014-07-17 01:45:32.000000000 +0000 +--- mfbt/Alignment.h.orig 2015-10-22 22:30:35.000000000 +0000 +++ mfbt/Alignment.h -@@ -9,11 +9,20 @@ - #ifndef mozilla_Alignment_h - #define mozilla_Alignment_h - -+#include "mozilla/Attributes.h" -+ - #include - #include +@@ -15,6 +15,13 @@ namespace mozilla { @@ -26,7 +19,7 @@ From https://bugzilla.mozilla.org/show_b /* * This class, and the corresponding macro MOZ_ALIGNOF, figures out how many * bytes of alignment a given type needs. -@@ -32,6 +41,7 @@ class AlignmentFinder +@@ -33,6 +40,7 @@ public: }; #define MOZ_ALIGNOF(T) mozilla::AlignmentFinder::alignment @@ -34,7 +27,7 @@ From https://bugzilla.mozilla.org/show_b /* * Declare the MOZ_ALIGNED_DECL macro for declaring aligned types. -@@ -43,7 +53,10 @@ class AlignmentFinder +@@ -44,7 +52,10 @@ public: * will declare a two-character array |arr| aligned to 8 bytes. */