1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Unbreak for -CURRENT.

This commit is contained in:
Jimmy Olgeni 2003-08-27 18:59:49 +00:00
parent de153dca59
commit 6cf17ef041
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87809
3 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,27 @@
$FreeBSD$
--- src/System/Link/pipe_link.cpp.orig Thu Jul 31 15:26:38 2003
+++ src/System/Link/pipe_link.cpp Wed Aug 27 20:35:15 2003
@@ -10,6 +10,8 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
******************************************************************************/
+#include <osreldate.h>
+
#include "pipe_link.hpp"
#include "sys_utils.hpp"
#include "hashset.hpp"
@@ -20,8 +22,12 @@
#include <unistd.h>
#include <signal.h>
#include <sys/wait.h>
+#if __FreeBSD_version < 500000
#ifndef __APPLE__
#include <malloc.h>
+#endif
+#else
+#include <stdlib.h>
#endif
hashset<pointer> pipe_link_set;

View File

@ -0,0 +1,23 @@
$FreeBSD$
--- src/Window/display.hpp.orig Fri Jun 27 17:46:00 2003
+++ src/Window/display.hpp Wed Aug 27 10:47:48 2003
@@ -12,12 +12,17 @@
#ifndef DISPLAY_H
#define DISPLAY_H
+
+#include <osreldate.h>
+
#include "tree.hpp"
#include "bitmap_font.hpp"
+#if __FreeBSD_version < 500000
#ifndef _TIME_T
#define _TIME_T
typedef long time_t;
+#endif
#endif
class font;

View File

@ -0,0 +1,23 @@
$FreeBSD$
--- src/Window/event.hpp.orig Fri Jun 27 17:45:59 2003
+++ src/Window/event.hpp Wed Aug 27 20:35:35 2003
@@ -12,12 +12,17 @@
#ifndef EVENT_H
#define EVENT_H
+
+#include <osreldate.h>
+
#include "tree.hpp"
#include "command.hpp"
+#if __FreeBSD_version < 500000
#ifndef _TIME_T
#define _TIME_T
typedef long time_t;
+#endif
#endif
class window_rep;