summaryrefslogtreecommitdiff
path: root/user/grfcodec/va_copy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/grfcodec/va_copy.patch')
-rw-r--r--user/grfcodec/va_copy.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/user/grfcodec/va_copy.patch b/user/grfcodec/va_copy.patch
new file mode 100644
index 000000000..04a549d60
--- /dev/null
+++ b/user/grfcodec/va_copy.patch
@@ -0,0 +1,16 @@
+--- grfcodec-6.0.6/src/sanity_defines.h.old 2015-05-09 10:59:46.000000000 +0000
++++ grfcodec-6.0.6/src/sanity_defines.h 2019-01-14 19:17:36.690000000 +0000
+@@ -77,10 +77,10 @@
+ ~apWrapper(){va_end(_ap);}
+ operator va_list&(){return _ap;}
+ operator const va_list&()const{return _ap;}
+-#ifdef __va_copy
++#ifdef va_copy
+ va_list&operator=(va_list&ap){
+- __va_copy(_ap,ap);
+- return _ap;
++ va_copy(_ap,ap);
++ return _ap;
+ }
+ #else
+ va_list const&operator=(va_list const&ap){