aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2007-08-14 16:56:47 +0800
committeraz <az@FreeBSD.org>2007-08-14 16:56:47 +0800
commitb1e054188d3abbfc3a19400ef103f843e1320954 (patch)
tree2d1c4e1df979cdaf249d86db438b21ea3777fd5f /audio
parent96fb2d5557fc49c929b2f9d0e35996ad653f7636 (diff)
downloadfreebsd-ports-gnome-b1e054188d3abbfc3a19400ef103f843e1320954.tar.gz
freebsd-ports-gnome-b1e054188d3abbfc3a19400ef103f843e1320954.tar.zst
freebsd-ports-gnome-b1e054188d3abbfc3a19400ef103f843e1320954.zip
- Fix build on amd64
Pointed by: kris via email
Diffstat (limited to 'audio')
-rw-r--r--audio/orpheus/files/patch-kkconsui-src-texteditor.cc11
-rw-r--r--audio/orpheus/files/patch-kkstrtext-kkstrtext.cc21
2 files changed, 32 insertions, 0 deletions
diff --git a/audio/orpheus/files/patch-kkconsui-src-texteditor.cc b/audio/orpheus/files/patch-kkconsui-src-texteditor.cc
new file mode 100644
index 000000000000..7319afd14c1d
--- /dev/null
+++ b/audio/orpheus/files/patch-kkconsui-src-texteditor.cc
@@ -0,0 +1,11 @@
+--- kkconsui-0.1/src/texteditor.cc 2003-09-09 23:51:33.000000000 +0200
++++ kkconsui-0.1/src/texteditor.cc 2006-08-28 11:56:10.082753610 +0200
+@@ -1940,7 +1940,7 @@
+ }
+
+ int texteditor::findint(void *p1, void *p2) {
+- return *(int *) p1 != (int) p2;
++ return *(long *) p1 != (long) p2;
+ }
+
+ int texteditor::findhighline(void *p1, void *p2) {
diff --git a/audio/orpheus/files/patch-kkstrtext-kkstrtext.cc b/audio/orpheus/files/patch-kkstrtext-kkstrtext.cc
new file mode 100644
index 000000000000..b862bf1fa605
--- /dev/null
+++ b/audio/orpheus/files/patch-kkstrtext-kkstrtext.cc
@@ -0,0 +1,21 @@
+--- kkstrtext-0.1/kkstrtext.cc 2004-01-15 21:25:31.000000000 +0100
++++ kkstrtext-0.1/kkstrtext.cc 2006-08-28 11:48:36.926598598 +0200
+@@ -431,7 +431,7 @@
+ }
+
+ int intcompare(void *s1, void *s2) {
+- return (int) s1 != (int) s2;
++ return (long) s1 != (long) s2;
+ }
+
+ string i2str(int i) {
+@@ -885,7 +885,7 @@
+ #ifdef HAVE_ICONV
+ iconv_t cd = iconv_open(tocs.c_str(), fromcs.c_str());
+
+- if(((int) cd) != -1) {
++ if(((long) cd) != -1) {
+ string r, text(atext);
+ size_t inleft, outleft, soutleft;
+ char *inbuf, *outbuf, *sinbuf, *soutbuf;
+