aboutsummaryrefslogtreecommitdiff
path: root/audio/terminatorx/files
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-04-26 22:30:59 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-04-26 22:30:59 +0000
commitced4d925040947e68f27eacb0e189d7f05bfb2d6 (patch)
tree491c42cbe4cc881c4c83c4bd20b910e0c0799805 /audio/terminatorx/files
parent041e3325dcf82e6b7a507dbbeb246a48feeaae71 (diff)
downloadports-ced4d925040947e68f27eacb0e189d7f05bfb2d6.tar.gz
ports-ced4d925040947e68f27eacb0e189d7f05bfb2d6.zip
Notes
Diffstat (limited to 'audio/terminatorx/files')
-rw-r--r--audio/terminatorx/files/patch-src::tX_global.c34
-rw-r--r--audio/terminatorx/files/patch-src::tX_widget.c15
-rw-r--r--audio/terminatorx/files/patch-tX_mastergui.cc11
3 files changed, 49 insertions, 11 deletions
diff --git a/audio/terminatorx/files/patch-src::tX_global.c b/audio/terminatorx/files/patch-src::tX_global.c
new file mode 100644
index 000000000000..747d74226e4f
--- /dev/null
+++ b/audio/terminatorx/files/patch-src::tX_global.c
@@ -0,0 +1,34 @@
+--- src/tX_global.c.orig Thu Apr 17 04:45:56 2003
++++ src/tX_global.c Thu Apr 24 21:21:59 2003
+@@ -230,7 +230,7 @@
+ char indent[]="\t";
+ FILE *rc=NULL;
+ gzFile rz=NULL;
+- _store_compress_xml=0;
++ int _store_compress_xml=0;
+ char tmp_xml_buffer[4096];
+
+ get_rc_name(rc_name);
+@@ -314,7 +314,7 @@
+ }
+
+ char *encode_xml(char *dest, const char *src) {
+- int i, t, max;
++ int i, t, max, inlen, outlen, res;
+ char tmp[4096];
+
+ tmp[0]=0;
+@@ -333,10 +333,10 @@
+ }
+ tmp[t]=0;
+
+- int outlen=4096;
+- int inlen=t;
++ outlen=4096;
++ inlen=t;
+
+- int res=isolat1ToUTF8((unsigned char *) dest, &outlen, (unsigned char *) tmp, &inlen);
++ res=isolat1ToUTF8((unsigned char *) dest, &outlen, (unsigned char *) tmp, &inlen);
+ dest[outlen]=0;
+ if (res<0) {
+ tX_error("failed to encode string (%s) to UTF-8.", src);
diff --git a/audio/terminatorx/files/patch-src::tX_widget.c b/audio/terminatorx/files/patch-src::tX_widget.c
new file mode 100644
index 000000000000..55fe97663a89
--- /dev/null
+++ b/audio/terminatorx/files/patch-src::tX_widget.c
@@ -0,0 +1,15 @@
+--- src/tX_widget.c.orig Sat Apr 19 13:56:36 2003
++++ src/tX_widget.c Sat Apr 19 14:13:50 2003
+@@ -154,10 +154,10 @@
+ }
+
+ static void gtk_tx_destroy(GtkObject * object) {
++ GtkTx *tx=GTK_TX(object);
++
+ g_return_if_fail(object != NULL);
+ g_return_if_fail(GTK_IS_TX(object));
+-
+- GtkTx *tx=GTK_TX(object);
+
+ if (tx->disp_data) { free(tx->disp_data); tx->disp_data=NULL; }
+
diff --git a/audio/terminatorx/files/patch-tX_mastergui.cc b/audio/terminatorx/files/patch-tX_mastergui.cc
deleted file mode 100644
index c00157074574..000000000000
--- a/audio/terminatorx/files/patch-tX_mastergui.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/tX_mastergui.cc.orig Sat Feb 1 22:20:23 2003
-+++ src/tX_mastergui.cc Sat Feb 1 22:20:49 2003
-@@ -1125,7 +1125,7 @@
- gtk_widget_destroy(GTK_WIDGET(mbox));
- }
-
--void tx_note(const char *message, bool isError=false)
-+void tx_note(const char *message, bool isError)
- {
- char buffer[4096]="terminatorX ";
- if (isError) {