aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wmi-client/samba-pidl.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-01-23 10:02:43 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-01-23 10:30:00 +0000
commitcbbbaf9ebace0d597f0a0e210344a2a5cabb7417 (patch)
tree967156aabdd72939c094b13922ef40fb9b4d0203 /testing/wmi-client/samba-pidl.patch
parent9ce2e6769410a7e04c13f2a5145f2e343ce3085e (diff)
downloadaports-cbbbaf9ebace0d597f0a0e210344a2a5cabb7417.tar.bz2
aports-cbbbaf9ebace0d597f0a0e210344a2a5cabb7417.tar.xz
testing/wmi-client: new aport
Diffstat (limited to 'testing/wmi-client/samba-pidl.patch')
-rw-r--r--testing/wmi-client/samba-pidl.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/wmi-client/samba-pidl.patch b/testing/wmi-client/samba-pidl.patch
new file mode 100644
index 0000000000..501af52a60
--- /dev/null
+++ b/testing/wmi-client/samba-pidl.patch
@@ -0,0 +1,26 @@
+diff --git a/Samba/source/pidl/idl.yp b/Samba/source/pidl/idl.yp
+index b5c5185..6469068 100644
+--- a/Samba/source/pidl/idl.yp
++++ b/Samba/source/pidl/idl.yp
+@@ -483,7 +483,7 @@
+
+ for ($parser->YYData->{INPUT}) {
+ if (/^\#/) {
+- if (s/^\# (\d+) \"(.*?)\"( \d+|)//) {
++ if (s/^\# (\d+) \"(.*?)\"(( \d+){1,4}|)//) {
+ $parser->YYData->{LINE} = $1-1;
+ $parser->YYData->{INPUT_FILENAME} = $2;
+ goto again;
+diff --git a/Samba/source/pidl/lib/Parse/Pidl/IDL.pm b/Samba/source/pidl/lib/Parse/Pidl/IDL.pm
+index d4820ff..da7e3c8 100644
+--- a/Samba/source/pidl/lib/Parse/Pidl/IDL.pm
++++ b/Samba/source/pidl/lib/Parse/Pidl/IDL.pm
+@@ -3169,7 +3169,7 @@
+
+ for ($parser->YYData->{INPUT}) {
+ if (/^\#/) {
+- if (s/^\# (\d+) \"(.*?)\"( \d+|)//) {
++ if (s/^\# (\d+) \"(.*?)\"(( \d+){1,4}|)//) {
+ $parser->YYData->{LINE} = $1-1;
+ $parser->YYData->{INPUT_FILENAME} = $2;
+ goto again;