freebsd-ports/comms/conserver/files/patch-ab
1998-04-20 03:52:46 +00:00

52 lines
2.1 KiB
Plaintext

--- conserver/cons.h.orig Sun Apr 19 05:10:22 1998
+++ conserver/cons.h Mon Apr 20 11:52:25 1998
@@ -54,5 +54,5 @@
#endif
#if !defined(HAVE_UWAIT)
-#define HAVE_UWAIT !(defined(IBMR2)||defined(SUN5)||defined(HPUX8)||defined(HPUX9)||defined(PTX)||defined(IRIX5))
+#define HAVE_UWAIT !(defined(IBMR2)||defined(SUN5)||defined(HPUX8)||defined(HPUX9)||defined(PTX)||defined(IRIX5)||defined(FREEBSD))
#endif
@@ -86,5 +86,5 @@
*/
#if !defined(CONFIG)
-#define CONFIG "/usr/local/lib/conserver.cf"
+#define CONFIG "/usr/local/etc/conserver.cf"
#endif
@@ -171,5 +171,5 @@
#if !defined(HAVE_SETSID)
-#define HAVE_SETSID (defined(IBMR2)||defined(SUN5)||defined(HPUX7)||defined(HPUX8)||defined(HPUX9)||defined(PTX)||defined(IRIX5))
+#define HAVE_SETSID (defined(IBMR2)||defined(SUN5)||defined(HPUX7)||defined(HPUX8)||defined(HPUX9)||defined(PTX)||defined(IRIX5)||defined(FREEBSD))
#endif
@@ -193,5 +193,5 @@
#endif
#if !defined(USE_TERMIOS)
-#define USE_TERMIOS (defined(HPUX7)||defined(HPUX8)||defined(HPUX9)||defined(SUN5)||defined(PTX)||defined(IRIX5))
+#define USE_TERMIOS (defined(HPUX7)||defined(HPUX8)||defined(HPUX9)||defined(SUN5)||defined(PTX)||defined(IRIX5)||defined(FREEBSD))
#endif
#if !defined(USE_TCBREAK)
@@ -258,5 +258,5 @@
/* which type signal handlers return on this machine
*/
-#if defined(sun) || defined(NEXT2) || defined(SUN5) || defined(PTX) || defined(IRIX5)
+#if defined(sun) || defined(NEXT2) || defined(SUN5) || defined(PTX) || defined(IRIX5) || defined(FREEBSD)
#define SIGRETS void
#else
@@ -267,5 +267,5 @@
*/
#if !defined(HAVE_SETSOCKOPT)
-#define HAVE_SETSOCKOPT (defined(sun)||defined(PTX))
+#define HAVE_SETSOCKOPT (defined(sun)||defined(PTX)||defined(FREEBSD))
#endif
@@ -273,5 +273,5 @@
*/
#if !defined(HAVE_STRERROR)
-#define HAVE_STRERROR (defined(IBMR2)||defined(ETA10)||defined(V386)||defined(SUN5)||defined(NEXT2)||defined(HPUX8)||defined(HPUX9)||defined(PTX)||defined(IRIX5))
+#define HAVE_STRERROR (defined(IBMR2)||defined(ETA10)||defined(V386)||defined(SUN5)||defined(NEXT2)||defined(HPUX8)||defined(HPUX9)||defined(PTX)||defined(IRIX5)||defined(FREEBSD))
#endif
#if ! HAVE_STRERROR