aboutsummaryrefslogtreecommitdiffstats
path: root/irc/kvirc
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-02-28 03:53:16 +0800
committerkrion <krion@FreeBSD.org>2004-02-28 03:53:16 +0800
commitaa8894a4c3ac44c0c9fed9401f37da51b7fc4a5d (patch)
tree5f55bb8b1d5aa12d3d4cc4d7106064a69ec8e7e9 /irc/kvirc
parent0a1a67f43be9bbf55f784df8535d5556bd99e420 (diff)
downloadfreebsd-ports-gnome-aa8894a4c3ac44c0c9fed9401f37da51b7fc4a5d.tar.gz
freebsd-ports-gnome-aa8894a4c3ac44c0c9fed9401f37da51b7fc4a5d.tar.zst
freebsd-ports-gnome-aa8894a4c3ac44c0c9fed9401f37da51b7fc4a5d.zip
- Fix build on 5.x
PR: ports/63461 Submitted by: maintainer
Diffstat (limited to 'irc/kvirc')
-rw-r--r--irc/kvirc/Makefile2
-rw-r--r--irc/kvirc/files/patch-src-kvilib-file-kvi_file.h21
2 files changed, 22 insertions, 1 deletions
diff --git a/irc/kvirc/Makefile b/irc/kvirc/Makefile
index 704a751514eb..96b8701d5df1 100644
--- a/irc/kvirc/Makefile
+++ b/irc/kvirc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= kvirc
PORTVERSION= 3.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= irc kde
MASTER_SITES= ftp://ftp.kvirc.net/pub/%SUBDIR%/ \
ftp://ftp.de.kvirc.net/%SUBDIR%/ \
diff --git a/irc/kvirc/files/patch-src-kvilib-file-kvi_file.h b/irc/kvirc/files/patch-src-kvilib-file-kvi_file.h
new file mode 100644
index 000000000000..f091bf246399
--- /dev/null
+++ b/irc/kvirc/files/patch-src-kvilib-file-kvi_file.h
@@ -0,0 +1,21 @@
+*** src/kvilib/file/kvi_file.h.orig Fri Feb 27 17:56:33 2004
+--- src/kvilib/file/kvi_file.h Fri Feb 27 17:10:05 2004
+***************
+*** 59,66 ****
+ bool save(kvi_u8_t t){ return save((kvi_i8_t)t); };
+ bool load(kvi_u8_t &t){ return load((kvi_i8_t)t); };;
+
+! bool save(time_t t){ return save((kvi_i32_t)t); };
+! bool load(time_t &t){ return load((kvi_i32_t)t); };
+
+ bool save(const KviStr &szData);
+ bool load(KviStr &szData);
+--- 59,66 ----
+ bool save(kvi_u8_t t){ return save((kvi_i8_t)t); };
+ bool load(kvi_u8_t &t){ return load((kvi_i8_t)t); };;
+
+! //bool save(time_t t){ return save((kvi_i32_t)t); };
+! //bool load(time_t &t){ return load((kvi_i32_t)t); };
+
+ bool save(const KviStr &szData);
+ bool load(KviStr &szData);