From c388ec84066d0dbb3530a1bdda3967fbd5afd36d Mon Sep 17 00:00:00 2001 From: glewis Date: Sun, 27 Dec 2015 23:05:52 +0000 Subject: . Consistent patch naming. --- games/nethack33/files/patch-include-system.h | 24 ++++++++++++++++++++++++ games/nethack33/files/patch-system.h | 24 ------------------------ 2 files changed, 24 insertions(+), 24 deletions(-) create mode 100644 games/nethack33/files/patch-include-system.h delete mode 100644 games/nethack33/files/patch-system.h (limited to 'games') diff --git a/games/nethack33/files/patch-include-system.h b/games/nethack33/files/patch-include-system.h new file mode 100644 index 000000000000..762eb346a5ba --- /dev/null +++ b/games/nethack33/files/patch-include-system.h @@ -0,0 +1,24 @@ +--- include/system.h.orig Mon Apr 19 23:27:53 2004 ++++ include/system.h Mon Apr 19 23:31:54 2004 +@@ -86,7 +86,7 @@ + # endif + #else + E long lrand48(); +-E void srand48(); ++E void FDECL(srand48, (long)); + #endif /* BSD || ULTRIX || RANDOM */ + + #if !defined(BSD) || defined(ultrix) +@@ -340,10 +340,10 @@ + #if defined(BSD) && defined(ultrix) /* i.e., old versions of Ultrix */ + E void sleep(); + #endif +-#if defined(ULTRIX) || defined(SYSV) ++#if !defined(__FreeBSD__) && (defined(ULTRIX) || defined(SYSV)) + E unsigned sleep(); + #endif +-#if defined(HPUX) ++#if defined(HPUX) || defined(__FreeBSD__) + E unsigned int FDECL(sleep, (unsigned int)); + #endif + #ifdef VMS diff --git a/games/nethack33/files/patch-system.h b/games/nethack33/files/patch-system.h deleted file mode 100644 index 762eb346a5ba..000000000000 --- a/games/nethack33/files/patch-system.h +++ /dev/null @@ -1,24 +0,0 @@ ---- include/system.h.orig Mon Apr 19 23:27:53 2004 -+++ include/system.h Mon Apr 19 23:31:54 2004 -@@ -86,7 +86,7 @@ - # endif - #else - E long lrand48(); --E void srand48(); -+E void FDECL(srand48, (long)); - #endif /* BSD || ULTRIX || RANDOM */ - - #if !defined(BSD) || defined(ultrix) -@@ -340,10 +340,10 @@ - #if defined(BSD) && defined(ultrix) /* i.e., old versions of Ultrix */ - E void sleep(); - #endif --#if defined(ULTRIX) || defined(SYSV) -+#if !defined(__FreeBSD__) && (defined(ULTRIX) || defined(SYSV)) - E unsigned sleep(); - #endif --#if defined(HPUX) -+#if defined(HPUX) || defined(__FreeBSD__) - E unsigned int FDECL(sleep, (unsigned int)); - #endif - #ifdef VMS -- cgit