texlive/source-decNumber.dif
Dr. Werner Fink df867d8099 - Added -Wno-error=incompatible-pointer-types to optflags to work
around boo#1228342 and enable build with GCC 14 on 32bit
  architectures.

I plan to not to close the bug and keep an eye on the package and
remove the flag when it hopefully becomes unnecessary in the future.

If the request is OK, please forward it to Factory too so that we can
switch the default compiler.  Thanks!

OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=478
2024-08-15 13:10:04 +00:00

35 lines
1.4 KiB
Plaintext

---
libs/icu/icu-src/source/i18n/decNumber.h | 2 ++
texk/web2c/mplibdir/decNumber.h | 2 ++
2 files changed, 4 insertions(+)
--- libs/icu/icu-src/source/i18n/decNumber.h
+++ libs/icu/icu-src/source/i18n/decNumber.h 2023-03-28 09:46:06.783388026 +0000
@@ -53,11 +53,13 @@
/* constant. This must not be changed without recompiling the */
/* decNumber library modules. */
+ #ifndef DECDPUN
/* For ICU, use one digit per byte, to make it easier to emulate the
* old DigitList interface on top of a decNumber
*/
#define DECDPUN 1 /* DECimal Digits Per UNit [must be >0 */
/* and <10; 3 or powers of 2 are best]. */
+ #endif
/* DECNUMDIGITS is the default number of digits that can be held in */
/* the structure. If undefined, 1 is assumed and it is assumed */
--- texk/web2c/mplibdir/decNumber.h
+++ texk/web2c/mplibdir/decNumber.h 2024-03-14 13:37:48.247593063 +0000
@@ -40,8 +40,10 @@
/* constant. This must not be changed without recompiling the */
/* decNumber library modules. */
+ #ifndef DECDPUN
#define DECDPUN 3 /* DECimal Digits Per UNit [must be >0 */
/* and <10; 3 or powers of 2 are best]. */
+ #endif
/* DECNUMDIGITS is the default number of digits that can be held in */
/* the structure. If undefined, 1 is assumed and it is assumed */