#47764: Ghostscript 9.16 does not build on PPC Tiger (Mac OS X 10.4.11) because of prototype -----------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ghostscript -----------------------------+-------------------------------- {{{ /opt/local/bin/gcc-apple-4.2 -DHAVE_MKSTEMP -DHAVE_FSEEKO -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_BSWAP32 -DHAVE_STRERROR -DHAVE_PREAD_PWRITE=1 -DGS_RECURSIVE_MUTEXATTR=PTHREAD_MUTEX_RECURSIVE -O2 -isystem/opt/local/include -Wall -Wstrict-prototypes -Wundef -Wmissing- declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Werror=declaration-after-statement -fno-builtin -fno-common -Werror =return-type -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long long" -D__USE_UNIX98=1 -D"strnlen(a,b)=strlen(a)" -pipe -Os -arch ppc -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/opt/local/include -I./soobj -I./base -I./devices -DWHICH_CMS="lcms2" -I./trio -o ./soobj/gssprintf_0.o -c ./base/gssprintf.c In file included from ./trio/trio.h:35, from ./base/gssprintf.c:19: ./trio/triop.h:407: error: type qualifiers ignored on function return type make[2]: *** [soobj/gssprintf_0.o] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.16' }}} The error happens with a patched version of Portfile which does not allow the use of Clang/llvm 3.3; Clang/llvm 3.4 are installed. -- Ticket URL: <https://trac.macports.org/ticket/47764> MacPorts <https://www.macports.org/> Ports system for OS X