You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
On OpenBSD, the build fails with:
raster.c:154: error: 'intptr_t' undeclared (first use in this function)
Including stdint.h fixed it. In the attached patch I did not ifdef the include as I don't think it matters on other OS, but if an ifdef is prefered that is fine.
Activity
michaelrsweet commentedon Oct 1, 2012
CUPS.org User: mike
Fixed in Subversion repository.
I added a configure check since stdint.h isn't universally available... :/
michaelrsweet commentedon Oct 1, 2012
"patch-filter_raster_c":
--- filter/raster.c.orig Fri Oct 7 22:21:45 2011
+++ filter/raster.c Sat Feb 4 10:36:51 2012
@@ -45,6 +45,7 @@
*/
+#include <stdint.h>
#include <cups/raster-private.h>
michaelrsweet commentedon Oct 1, 2012
"str4195.patch":
Index: config-scripts/cups-common.m4
--- config-scripts/cups-common.m4 (revision 10619)
+++ config-scripts/cups-common.m4 (working copy)
@@ -130,6 +130,7 @@
AC_CHECK_HEADER(langinfo.h,AC_DEFINE(HAVE_LANGINFO_H))
AC_CHECK_HEADER(malloc.h,AC_DEFINE(HAVE_MALLOC_H))
AC_CHECK_HEADER(shadow.h,AC_DEFINE(HAVE_SHADOW_H))
+AC_CHECK_HEADER(stdint.h,AC_DEFINE(HAVE_STDINT_H))
AC_CHECK_HEADER(string.h,AC_DEFINE(HAVE_STRING_H))
AC_CHECK_HEADER(strings.h,AC_DEFINE(HAVE_STRINGS_H))
AC_CHECK_HEADER(bstring.h,AC_DEFINE(HAVE_BSTRING_H))
Index: filter/raster.c
--- filter/raster.c (revision 10619)
+++ filter/raster.c (working copy)
@@ -46,6 +46,9 @@
*/
#include <cups/raster-private.h>
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif /* HAVE_STDINT_H */
/*
Index: config.h.in
--- config.h.in (revision 10619)
+++ config.h.in (working copy)
@@ -175,6 +175,13 @@
/*
+
+#undef HAVE_STDINT_H
+
+
+/
*/