aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/jaffm
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-05-31 09:09:54 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-05-31 09:09:54 +0800
commitd60310f9d8fea819b96d556f11eeaf8c7f70029f (patch)
treee64f25d8f6d36a213490324f0a7b77acccc5522f /x11-fm/jaffm
parent94aa94a6aca5b8f7cd2beb7c377cc8c87c04ed46 (diff)
downloadfreebsd-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.cpp14
-rw-r--r--x11-fm/jaffm/files/patch-settings.cpp8
-rw-r--r--x11-fm/jaffm/files/patch-timemonitor.h9
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>
+