openbsd-ports/print/cups/patches/patch-scheduler_main_c
ajacoutot c1f3074d18 Update to cups-1.5.2.
While here, create cups's printcap under /etc/cups/ because we are
running unpriviledged so we cannot touch /etc/printcap.
Tweak rc script accordingly.
2012-02-16 22:12:08 +00:00

18 lines
453 B
Plaintext

$OpenBSD: patch-scheduler_main_c,v 1.6 2012/02/16 22:12:08 ajacoutot Exp $
main.c:376: warning: implicit declaration of function '_thread_sys_closefrom'
(XXX rework after rthreads are enabled)
--- scheduler/main.c.orig Mon Feb 6 14:02:24 2012
+++ scheduler/main.c Mon Feb 6 14:03:01 2012
@@ -69,6 +69,9 @@
# include <notify.h>
#endif /* HAVE_NOTIFY_H */
+#ifdef __OpenBSD__
+int _thread_sys_closefrom(int);
+#endif
/*
* Local functions...