pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

patch: libnbcompat: add check for c99 support

this patch is primarily intended as a fix for bootstrapping pkgsrc on irix using the mipspro compiler.

unlike most modern compilers, mipspro defaults to the c89 standard rather than the most recent / permissive standard it knows. this causes build failures if c99 features are used without passing appropraite flags.

the following patch updates the file for libnbcompat to check for c99 support and add appropriate cflags if they are necessary.

--- pkgsrc.old/pkgtools/libnbcompat/files/  2019-07-08 18:00:49.000000000 -0700
+++ pkgsrc/pkgtools/libnbcompat/files/      2020-05-23 22:09:29.716762537 -0700
@@ -14,7 +14,7 @@ AC_SUBST(INCLUDES)
 # Checks for programs.

Home | Main Index | Thread Index | Old Index