Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 2006 21:30:56 +0100
From:      Shaun Amott <shaun@inerd.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97572: [MAINTAINER UPDATE] x11-fm/jaffm: fix build on 4.x
Message-ID:  <1148243456.2240@charon.picobyte.net>
Resent-Message-ID: <200605212040.k4LKeG0v074093@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97572
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] x11-fm/jaffm: fix build on 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 21 20:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Shaun Amott
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:

>Description:

- Fix build on 4.x

Reported by: pointyhat via kris

>How-To-Repeat:

>Fix:

--- jaffm.diff begins here ---
Index: files/patch-filehandler.cpp
===================================================================
RCS file: files/patch-filehandler.cpp
diff -N files/patch-filehandler.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-filehandler.cpp	21 May 2006 20:27:15 -0000
@@ -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)
+ {
Index: files/patch-settings.cpp
===================================================================
RCS file: files/patch-settings.cpp
diff -N files/patch-settings.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-settings.cpp	21 May 2006 20:27:15 -0000
@@ -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"
+ 
Index: files/patch-timemonitor.h
===================================================================
RCS file: files/patch-timemonitor.h
diff -N files/patch-timemonitor.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-timemonitor.h	21 May 2006 20:27:15 -0000
@@ -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>
+ 
--- jaffm.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1148243456.2240>