diff options
author | ale <ale@FreeBSD.org> | 2006-03-21 17:48:46 +0000 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2006-03-21 17:48:46 +0000 |
commit | 8c9fa8b09c6f2227718e5008ae78c4685985cc49 (patch) | |
tree | d85884475a2dadcfdf52a933759a522a4b7aab33 | |
parent | fea7d91cc5f9d550710c77d0fd665813bb8fec12 (diff) | |
download | FreeBSD-ports-8c9fa8b09c6f2227718e5008ae78c4685985cc49.zip FreeBSD-ports-8c9fa8b09c6f2227718e5008ae78c4685985cc49.tar.gz |
Hopefully unbreak on FreeBSD 4.
-rw-r--r-- | x11/rsibreak-kde4/Makefile | 8 | ||||
-rw-r--r-- | x11/rsibreak-kde4/files/patch-rsibreak_src_rsiwidget.cpp | 19 | ||||
-rw-r--r-- | x11/rsibreak/Makefile | 8 | ||||
-rw-r--r-- | x11/rsibreak/files/patch-rsibreak_src_rsiwidget.cpp | 19 |
4 files changed, 40 insertions, 14 deletions
diff --git a/x11/rsibreak-kde4/Makefile b/x11/rsibreak-kde4/Makefile index 41b84fb..09a9c43 100644 --- a/x11/rsibreak-kde4/Makefile +++ b/x11/rsibreak-kde4/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-kde4/files/patch-rsibreak_src_rsiwidget.cpp b/x11/rsibreak-kde4/files/patch-rsibreak_src_rsiwidget.cpp new file mode 100644 index 0000000..20cd32f2 --- /dev/null +++ b/x11/rsibreak-kde4/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; diff --git a/x11/rsibreak/Makefile b/x11/rsibreak/Makefile index 41b84fb..09a9c43 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 0000000..20cd32f2 --- /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; |