openbsd-ports/comms/minicom/patches/patch-port-h
form c5c73de58e Upgrade to 1.83.0.
Use INSTALL/DEINSTALL.
Fake.
2000-05-18 04:41:30 +00:00

18 lines
455 B
Plaintext

# $OpenBSD: patch-port-h,v 1.1 2000/05/18 04:41:32 form Exp $
--- port.h.orig Sun Oct 24 23:28:33 1999
+++ port.h Wed May 17 13:40:24 2000
@@ -103,7 +103,11 @@
/* Availability of setreuid(uid_t, uid_t) */
#if defined(__linux__) || defined(_BSD43) || (defined(BSD) && (BSD >= 199103))
-# define HAS_REUID
+# ifdef __OpenBSD__
+# define HAS_EUID
+# else
+# define HAS_REUID
+# endif
#endif
/* Availability of fchown(int, uid_t, gid_t) */