diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2006-05-31 09:09:54 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2006-05-31 09:09:54 +0800 |
commit | d60310f9d8fea819b96d556f11eeaf8c7f70029f (patch) | |
tree | e64f25d8f6d36a213490324f0a7b77acccc5522f /x11-fm/jaffm | |
parent | 94aa94a6aca5b8f7cd2beb7c377cc8c87c04ed46 (diff) | |
download | freebsd-ports-gnome-d60310f9d8fea819b96d556f11eeaf8c7f70029f.tar.gz freebsd-ports-gnome-d60310f9d8fea819b96d556f11eeaf8c7f70029f.tar.zst freebsd-ports-gnome-d60310f9d8fea819b96d556f11eeaf8c7f70029f.zip |
Fix build on 4.x
PR: 97572
Submitted by: Shaun Amott <shaun@inerd.com> (maintainer)
Diffstat (limited to 'x11-fm/jaffm')
-rw-r--r-- | x11-fm/jaffm/files/patch-filehandler.cpp | 14 | ||||
-rw-r--r-- | x11-fm/jaffm/files/patch-settings.cpp | 8 | ||||
-rw-r--r-- | x11-fm/jaffm/files/patch-timemonitor.h | 9 |
3 files changed, 31 insertions, 0 deletions
diff --git a/x11-fm/jaffm/files/patch-filehandler.cpp b/x11-fm/jaffm/files/patch-filehandler.cpp new file mode 100644 index 000000000000..fdb581e5f0ae --- /dev/null +++ b/x11-fm/jaffm/files/patch-filehandler.cpp @@ -0,0 +1,14 @@ +--- filehandler.cpp.orig Sat Sep 17 17:28:48 2005 ++++ filehandler.cpp Sun May 21 20:00:02 2006 +@@ -1,5 +1,11 @@ + #include "filehandler.h" ++#include <stdio.h> ++#include <unistd.h> + #include <sys/stat.h> ++ ++#ifndef X_OK ++#define X_OK 0x01 ++#endif + + bool UFileHandler::move(const std::string &sOriginal, const std::string &sDestination) + { diff --git a/x11-fm/jaffm/files/patch-settings.cpp b/x11-fm/jaffm/files/patch-settings.cpp new file mode 100644 index 000000000000..d1a12caad720 --- /dev/null +++ b/x11-fm/jaffm/files/patch-settings.cpp @@ -0,0 +1,8 @@ +--- settings.cpp.orig Sun Mar 27 14:36:58 2005 ++++ settings.cpp Sun May 21 19:56:07 2006 +@@ -1,3 +1,5 @@ ++#include <stdio.h> ++ + #include "settings.h" + #include "filehandler.h" + diff --git a/x11-fm/jaffm/files/patch-timemonitor.h b/x11-fm/jaffm/files/patch-timemonitor.h new file mode 100644 index 000000000000..6c9e2f03ba52 --- /dev/null +++ b/x11-fm/jaffm/files/patch-timemonitor.h @@ -0,0 +1,9 @@ +--- timemonitor.h.orig Mon Sep 22 14:54:23 2003 ++++ timemonitor.h Sun May 21 19:57:14 2006 +@@ -1,5 +1,6 @@ + #ifndef TIMEMONITOR_H + #define TIMEMONITOR_H ++#include <time.h> + #include <string> + #include <vector> + |