summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-08-18 23:14:13 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-08-18 23:14:13 +0800
commitec94f5df8775f4fb8025f1a0725370be3710711a (patch)
tree732cde32e7d0e1fe9ebf3164571b1730dc25e00e /devel
parent8c04ccbb6bc9d6e41ed0866ed7c1d8b274e47574 (diff)
downloadmarcuscom-ports-ec94f5df8775f4fb8025f1a0725370be3710711a.tar
marcuscom-ports-ec94f5df8775f4fb8025f1a0725370be3710711a.tar.gz
marcuscom-ports-ec94f5df8775f4fb8025f1a0725370be3710711a.tar.bz2
marcuscom-ports-ec94f5df8775f4fb8025f1a0725370be3710711a.tar.lz
marcuscom-ports-ec94f5df8775f4fb8025f1a0725370be3710711a.tar.xz
marcuscom-ports-ec94f5df8775f4fb8025f1a0725370be3710711a.tar.zst
marcuscom-ports-ec94f5df8775f4fb8025f1a0725370be3710711a.zip
Ignore __asm volatile
PR: ports/181367 Obtained from: NetBSD git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18652 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-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; }
+