summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/gobject-introspection/Makefile2
-rw-r--r--devel/gobject-introspection/files/patch-giscanner_scannerlexer.112
2 files changed, 13 insertions, 1 deletions
diff --git a/devel/gobject-introspection/Makefile b/devel/gobject-introspection/Makefile
index 415d8fc3d..b8c36764e 100644
--- a/devel/gobject-introspection/Makefile
+++ b/devel/gobject-introspection/Makefile
@@ -4,7 +4,7 @@
PORTNAME= gobject-introspection
PORTVERSION= 1.36.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
diff --git a/devel/gobject-introspection/files/patch-giscanner_scannerlexer.1 b/devel/gobject-introspection/files/patch-giscanner_scannerlexer.1
new file mode 100644
index 000000000..c156795a9
--- /dev/null
+++ b/devel/gobject-introspection/files/patch-giscanner_scannerlexer.1
@@ -0,0 +1,12 @@
+--- giscanner/scannerlexer.l.orig 2013-08-18 07:37:16.000000000 +0900
++++ giscanner/scannerlexer.l 2013-08-18 07:40:32.000000000 +0900
+@@ -134,7 +134,7 @@
+ "," { return ','; }
+ "->" { return ARROW; }
+
+-"__asm" { if (!parse_ignored_macro()) REJECT; }
++"__asm"[\t\f\v\r ]+"volatile" { if (!parse_ignored_macro()) REJECT; }
+ "__asm__" { if (!parse_ignored_macro()) REJECT; }
+ "__attribute__" { if (!parse_ignored_macro()) REJECT; }
+ "__attribute" { if (!parse_ignored_macro()) REJECT; }
+