pkgsrc/www/firefox68/patches/patch-dom_base_nsAttrName.h
ryoon ebc9069030 www/firefox68: import firefox68-68.1.0
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 provides Firefox 68 ESR.
2019-09-21 07:31:43 +00:00

18 lines
561 B
C++

$NetBSD: patch-dom_base_nsAttrName.h,v 1.1 2019/09/21 07:31:44 ryoon Exp $
cbindgen gets confused by NetBSD's types being macros too
https://mail-index.netbsd.org/tech-pkg/2018/10/25/msg020395.html
--- dom/base/nsAttrName.h.orig 2019-01-18 00:20:23.000000000 +0000
+++ dom/base/nsAttrName.h
@@ -16,6 +16,10 @@
#include "mozilla/dom/NodeInfo.h"
#include "nsAtom.h"
#include "nsDOMString.h"
+#ifdef __NetBSD__
+/* This is also a macro which causes problems with cbindgen */
+#undef uintptr_t
+#endif
#define NS_ATTRNAME_NODEINFO_BIT 1
class nsAttrName {