diff options
author | ale <ale@FreeBSD.org> | 2006-03-22 01:48:46 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2006-03-22 01:48:46 +0800 |
commit | 8c9fa8b09c6f2227718e5008ae78c4685985cc49 (patch) | |
tree | d85884475a2dadcfdf52a933759a522a4b7aab33 /x11/rsibreak | |
parent | fea7d91cc5f9d550710c77d0fd665813bb8fec12 (diff) | |
download | freebsd-ports-graphics-8c9fa8b09c6f2227718e5008ae78c4685985cc49.tar.gz freebsd-ports-graphics-8c9fa8b09c6f2227718e5008ae78c4685985cc49.tar.zst freebsd-ports-graphics-8c9fa8b09c6f2227718e5008ae78c4685985cc49.zip |
Hopefully unbreak on FreeBSD 4.
Diffstat (limited to 'x11/rsibreak')
-rw-r--r-- | x11/rsibreak/Makefile | 8 | ||||
-rw-r--r-- | x11/rsibreak/files/patch-rsibreak_src_rsiwidget.cpp | 19 |
2 files changed, 20 insertions, 7 deletions
diff --git a/x11/rsibreak/Makefile b/x11/rsibreak/Makefile index 41b84fb773d..09a9c435cdd 100644 --- a/x11/rsibreak/Makefile +++ b/x11/rsibreak/Makefile @@ -19,14 +19,8 @@ USE_KDELIBS_VER=3 USE_AUTOTOOLS= libtool:15 USE_GETTEXT= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -BROKEN= Doesn't compile on FreeBSD 4.X -.endif - post-patch: @${REINPLACE_CMD} 's/install-data-local: install-apidox/install-data-local:/' \ ${WRKSRC}/rsibreak/Makefile.in ${WRKSRC}/rsibreak/src/Makefile.in -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11/rsibreak/files/patch-rsibreak_src_rsiwidget.cpp b/x11/rsibreak/files/patch-rsibreak_src_rsiwidget.cpp new file mode 100644 index 00000000000..20cd32f25ca --- /dev/null +++ b/x11/rsibreak/files/patch-rsibreak_src_rsiwidget.cpp @@ -0,0 +1,19 @@ +--- rsibreak/src/rsiwidget.cpp.orig Tue Mar 21 18:38:48 2006 ++++ rsibreak/src/rsiwidget.cpp Tue Mar 21 18:39:14 2006 +@@ -41,6 +41,7 @@ + + #include <stdlib.h> + #include <math.h> ++#include <time.h> + + #include "rsiwidget.h" + #include "rsitimer.h" +@@ -235,7 +236,7 @@ + + QDir dir( folder); + +- if ( !dir.exists() or !dir.isReadable() ) ++ if ( !dir.exists() || !dir.isReadable() ) + { + kdWarning() << "Folder does not exist or is not readable: " + << folder << endl; |