mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
Don't pretend we are SysV. We are BSD.
This commit is contained in:
parent
6a9c7630b6
commit
adeb2b50d8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64448
22
games/nethack34/files/patch-ab
Normal file
22
games/nethack34/files/patch-ab
Normal file
@ -0,0 +1,22 @@
|
||||
--- include/system.h.orig Thu Mar 21 08:42:55 2002
|
||||
+++ include/system.h Sun Jun 16 15:49:55 2002
|
||||
@@ -79,7 +79,9 @@
|
||||
# if !defined(__SC__) && !defined(LINUX)
|
||||
E long NDECL(random);
|
||||
# endif
|
||||
-# if !defined(SUNOS4) || defined(RANDOM)
|
||||
+# if defined(__FreeBSD__)
|
||||
+E void FDECL(srandom, (unsigned long));
|
||||
+# elif !defined(SUNOS4) || defined(RANDOM)
|
||||
E void FDECL(srandom, (unsigned int));
|
||||
# else
|
||||
# if !defined(bsdi) && !defined(__FreeBSD__)
|
||||
@@ -521,7 +523,7 @@
|
||||
# endif
|
||||
# endif
|
||||
|
||||
-# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE))
|
||||
+# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE)) || defined(__FreeBSD__)
|
||||
E time_t FDECL(time, (time_t *));
|
||||
# else
|
||||
E long FDECL(time, (time_t *));
|
@ -1,5 +1,21 @@
|
||||
--- include/unixconf.h.orig Mon Jul 17 11:03:51 2000
|
||||
+++ include/unixconf.h Fri Oct 13 10:06:57 2000
|
||||
--- include/unixconf.h.orig Thu Mar 21 08:42:56 2002
|
||||
+++ include/unixconf.h Sun Jun 16 15:05:24 2002
|
||||
@@ -19,13 +19,13 @@
|
||||
*/
|
||||
|
||||
/* define exactly one of the following four choices */
|
||||
-/* #define BSD 1 */ /* define for 4.n BSD */
|
||||
+#define BSD 1 /* define for 4.n BSD */
|
||||
/* also for relatives like SunOS 4.x, DG/UX, and */
|
||||
/* older versions of Linux */
|
||||
/* #define ULTRIX */ /* define for Ultrix v3.0 or higher (but not lower) */
|
||||
/* Use BSD for < v3.0 */
|
||||
/* "ULTRIX" not to be confused with "ultrix" */
|
||||
-#define SYSV /* define for System V, Solaris 2.x, newer versions */
|
||||
+/* #define SYSV */ /* define for System V, Solaris 2.x, newer versions */
|
||||
/* of Linux */
|
||||
/* #define HPUX */ /* Hewlett-Packard's Unix, version 6.5 or higher */
|
||||
/* use SYSV for < v6.5 */
|
||||
@@ -47,7 +47,7 @@
|
||||
* job control (note that AIX is SYSV otherwise)
|
||||
* Also define this for AIX 3.2 */
|
||||
|
Loading…
Reference in New Issue
Block a user