diff options
Diffstat (limited to 'devel/gobject-introspection/patches/patch-giscanner_scannerlexer.l')
-rw-r--r-- | devel/gobject-introspection/patches/patch-giscanner_scannerlexer.l | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/gobject-introspection/patches/patch-giscanner_scannerlexer.l b/devel/gobject-introspection/patches/patch-giscanner_scannerlexer.l new file mode 100644 index 00000000000..aa469764006 --- /dev/null +++ b/devel/gobject-introspection/patches/patch-giscanner_scannerlexer.l @@ -0,0 +1,13 @@ +$NetBSD: patch-giscanner_scannerlexer.l,v 1.1 2012/02/15 16:42:36 martin Exp $ + +--- giscanner/scannerlexer.l.orig 2011-06-10 17:36:50.000000000 +0200 ++++ giscanner/scannerlexer.l 2012-02-15 16:10:33.000000000 +0100 +@@ -134,6 +134,8 @@ + "," { return ','; } + "->" { return ARROW; } + ++"__asm"[\t\f\v\r ]+"volatile" { if (!parse_ignored_macro()) REJECT; } ++"__asm__"[\t\f\v\r ]+"volatile" { if (!parse_ignored_macro()) REJECT; } + "__asm" { if (!parse_ignored_macro()) REJECT; } + "__asm__" { if (!parse_ignored_macro()) REJECT; } + "__attribute__" { if (!parse_ignored_macro()) REJECT; } |