diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-14 19:20:33 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-14 19:20:33 +0000 |
commit | 339b0db6a0fd6e3776ba496d803aa34c5d1fbb59 (patch) | |
tree | 3dfd5f251b9f6f34fa823ce7d88663776a63bfc3 /user/grfcodec/va_copy.patch | |
parent | 323a3ee6e1f09a96d5f88dbf94dcc4c3be126410 (diff) | |
download | packages-339b0db6a0fd6e3776ba496d803aa34c5d1fbb59.tar.gz packages-339b0db6a0fd6e3776ba496d803aa34c5d1fbb59.tar.bz2 packages-339b0db6a0fd6e3776ba496d803aa34c5d1fbb59.tar.xz packages-339b0db6a0fd6e3776ba496d803aa34c5d1fbb59.zip |
user/grfcodec: use va_lists properly
Diffstat (limited to 'user/grfcodec/va_copy.patch')
-rw-r--r-- | user/grfcodec/va_copy.patch | 16 |
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){ |