diff options
Diffstat (limited to 'app-text/djvu/files/djvu-3.5.28-drop-register-keyword-clang16.patch')
-rw-r--r-- | app-text/djvu/files/djvu-3.5.28-drop-register-keyword-clang16.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-text/djvu/files/djvu-3.5.28-drop-register-keyword-clang16.patch b/app-text/djvu/files/djvu-3.5.28-drop-register-keyword-clang16.patch new file mode 100644 index 000000000000..dd86bb8bf130 --- /dev/null +++ b/app-text/djvu/files/djvu-3.5.28-drop-register-keyword-clang16.patch @@ -0,0 +1,21 @@ +Bug: https://bugs.gentoo.org/894644 +--- a/libdjvu/GBitmap.h ++++ b/libdjvu/GBitmap.h +@@ -620,7 +620,7 @@ GBitmap::euclidian_ratio(int a, int b, int &q, int &r) + inline int + GBitmap::read_run(unsigned char *&data) + { +- register int z=*data++; ++ int z=*data++; + return (z>=RUNOVERFLOWVALUE)? + ((z&~RUNOVERFLOWVALUE)<<8)|(*data++):z; + } +@@ -628,7 +628,7 @@ GBitmap::read_run(unsigned char *&data) + inline int + GBitmap::read_run(const unsigned char *&data) + { +- register int z=*data++; ++ int z=*data++; + return (z>=RUNOVERFLOWVALUE)? + ((z&~RUNOVERFLOWVALUE)<<8)|(*data++):z; + } |