summaryrefslogtreecommitdiff
path: root/audio/terminatorx/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-07-02 16:09:11 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-07-02 16:09:11 +0000
commite3bf75519fa326e0ce5ba3ac160be16d7fba7d72 (patch)
tree26b87cfe6256c5f64be461851702bea5b193cf00 /audio/terminatorx/files
parent- Update to 3.7.26 (diff)
- Update to 3.83
PR: 158484 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=276902
Diffstat (limited to 'audio/terminatorx/files')
-rw-r--r--audio/terminatorx/files/patch-src__tX_mastergui.cc20
-rw-r--r--audio/terminatorx/files/patch-src__tX_mouse.cc12
-rw-r--r--audio/terminatorx/files/patch-src__tX_mouse.h11
3 files changed, 43 insertions, 0 deletions
diff --git a/audio/terminatorx/files/patch-src__tX_mastergui.cc b/audio/terminatorx/files/patch-src__tX_mastergui.cc
new file mode 100644
index 000000000000..eb889529c199
--- /dev/null
+++ b/audio/terminatorx/files/patch-src__tX_mastergui.cc
@@ -0,0 +1,20 @@
+--- src/tX_mastergui.cc.orig 2011-01-31 06:01:32.000000000 +0900
++++ src/tX_mastergui.cc 2011-03-24 11:38:00.000000000 +0900
+@@ -273,7 +273,7 @@
+ GtkSignalFunc new_tables() {
+ GtkWidget *dialog=gtk_message_dialog_new(GTK_WINDOW(main_window),
+ GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO,
+- "Are you sure you want to loose all turntables and events?");
++ "Are you sure you want to lose all turntables and events?");
+
+ int res=gtk_dialog_run(GTK_DIALOG(dialog));
+ gtk_widget_destroy(dialog);
+@@ -894,7 +894,7 @@
+ if (globals.quit_confirm) {
+ GtkWidget *dialog=gtk_message_dialog_new(GTK_WINDOW(main_window),
+ GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO,
+- "Exit terminatorX and loose all unsaved data?");
++ "Exit terminatorX and lose all unsaved data?");
+
+ int res=gtk_dialog_run(GTK_DIALOG(dialog));
+ gtk_widget_destroy(dialog);
diff --git a/audio/terminatorx/files/patch-src__tX_mouse.cc b/audio/terminatorx/files/patch-src__tX_mouse.cc
new file mode 100644
index 000000000000..a2fec9e93450
--- /dev/null
+++ b/audio/terminatorx/files/patch-src__tX_mouse.cc
@@ -0,0 +1,12 @@
+--- src/tX_mouse.cc.orig 2011-01-31 06:01:32.000000000 +0900
++++ src/tX_mouse.cc 2011-04-02 11:56:20.000000000 +0900
+@@ -47,7 +47,8 @@
+ #include "tX_global.h"
+ #include "tX_engine.h"
+ #include "tX_vtt.h"
+-#include <stdlib.h>
++#include <cstdlib>
++#include <cmath>
+
+ #define TX_MOUSE_SPEED_NORMAL 0.05
+ #define TX_MOUSE_SPEED_WARP 250000
diff --git a/audio/terminatorx/files/patch-src__tX_mouse.h b/audio/terminatorx/files/patch-src__tX_mouse.h
new file mode 100644
index 000000000000..d86d25ccd1cd
--- /dev/null
+++ b/audio/terminatorx/files/patch-src__tX_mouse.h
@@ -0,0 +1,11 @@
+--- src/tX_mouse.h.orig 2011-01-31 06:01:32.000000000 +0900
++++ src/tX_mouse.h 2011-03-18 02:55:38.000000000 +0900
+@@ -34,7 +34,7 @@
+ #include <X11/extensions/XInput.h>
+ #include <X11/keysym.h>
+ #include <glib.h>
+-#include <gdk/gdk.h>
++#include <gtk/gtk.h>
+ #include <gdk/gdkkeysyms.h>
+
+ /* Use old gdk keys if the new ones are not yet defined */