From: Greg T. <gd...@le...> - 2024-07-10 00:34:54
|
in src/cups/gutenprint.c, *before the first include*, I added: #if LITTLE_ENDIAN == BIG_ENDIAN #error LITTLEBIG #endif and then gmake[3]: Entering directory '/tmp/work/print/gutenprint-lib/work/gutenprint-5.3.5-pre1/src/cups' ""gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/pkg/include -DBASE_VERSION=\"5.3.5\" -DSBINDIR=\"/usr/pkg/sbin/\" -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=131072 -Wformat -Werror=format-security -D_POSIX_C_SOURCE=200809L -std=c99 -DPACKAGE_LOCALE_DIR=\"/usr/pkg/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/pkg/share/gutenprint\" -DPACKAGE_LIB_DIR=\"/usr/pkg/lib/gutenprint\" -DPACKAGE_BIN_DIR=\"/usr/pkg/bin\" -DPKGMODULEDIR=\"/usr/pkg/lib/gutenprint/5.3/modules\" -DPKGXMLDATADIR=\"/usr/pkg/share/gutenprint/5.3/xml\" -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -I/usr/include/krb5 -DALL_LINGUAS='"ca cs da de el en_GB es fi fr gl hr hu it ja nb nl pl pt ru sk sl sv tr uk vi zh_CN zh_TW"' -Disfinite=finite -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -I/usr/include/krb5 -O3 -MT gutenprint_5.3-gutenprint.o -MD -MP -MF .deps/gutenprint_5.3-gutenprint.Tpo -c -o gutenprint_5.3-gutenprint.o `test -f 'gutenprint.c' || echo './'`gutenprint.c gutenprint.c:41:2: error: #error LITTLEBIG 41 | #error LITTLEBIG | ^~~~~ but I can't see it as -D on the build line, and the if/error is literally right after the comments before the include of genppd.h. So I can't see where it is coming from, unless gnu11 does something? |