diff options
author | Oleg Sidorkin <osidorkin@gmail.com> | 2023-08-01 06:11:53 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2023-08-15 08:09:22 +0000 |
commit | f97941e2c029cda0f1eec659d8d5cf5c2f3a252c (patch) | |
tree | 4680cda198c2d463feeeddd903d9aca0c73373d8 /print | |
parent | beb08aa425fc8a58d7f32fbe81f93d965c05d55e (diff) | |
download | ports-f97941e2c029cda0f1eec659d8d5cf5c2f3a252c.tar.gz ports-f97941e2c029cda0f1eec659d8d5cf5c2f3a252c.zip |
print/hplip: fix fax/filters/cdmfax/jetlib.cpp with llvm16
Diffstat (limited to 'print')
-rw-r--r-- | print/hplip/files/patch-fax_filters_cdmfax_jetlib.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/print/hplip/files/patch-fax_filters_cdmfax_jetlib.cpp b/print/hplip/files/patch-fax_filters_cdmfax_jetlib.cpp new file mode 100644 index 000000000000..f484f41a41c3 --- /dev/null +++ b/print/hplip/files/patch-fax_filters_cdmfax_jetlib.cpp @@ -0,0 +1,35 @@ +--- fax/filters/cdmfax/jetlib.cpp.orig 2023-06-02 08:02:35 UTC ++++ fax/filters/cdmfax/jetlib.cpp +@@ -49,8 +49,8 @@ Copyright (c) 1995 Hewlett-Packard Company. All right + */ + + +-static char *LibRev = "PCL XL Stream Creator Library. Revision p$Revision: 4.0 $"; +-static char *LibCopyright = "(c) Copyright Hewlett-Packard Company, 1995, 1996, 1997. All rights are reserved."; ++static const char *LibRev = "PCL XL Stream Creator Library. Revision p$Revision: 4.0 $"; ++static const char *LibCopyright = "(c) Copyright Hewlett-Packard Company, 1995, 1996, 1997. All rights are reserved."; + + /* + * file: jetlib.c +@@ -7568,8 +7568,8 @@ HP_StdFuncPrefix HP_M2TIFF_CalcCompression( + HP_pCharHuge lpfirst; + HP_pCharHuge lpchar; + HP_BOOL in_run, FourByteWordPad; +- register HP_UByte count; +- register HP_SInt16 state; ++ HP_UByte count; ++ HP_SInt16 state; + HP_UByte padCount; + HP_pUByte lpEnd; + +@@ -7704,8 +7704,8 @@ HP_StdFuncPrefix HP_M2TIFF_Compress( + HP_pCharHuge lpfirst; + HP_pCharHuge lpchar; + HP_BOOL in_run,FourByteWordPad; +- register HP_UByte count; +- register HP_SInt16 state; ++ HP_UByte count; ++ HP_SInt16 state; + HP_pCharHuge lpEnd; + HP_UByte padCount; + |