summaryrefslogtreecommitdiff
path: root/mail/gnubiff/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail/gnubiff/files')
-rw-r--r--mail/gnubiff/files/patch-configure20
-rw-r--r--mail/gnubiff/files/patch-src::Applet.cc13
-rw-r--r--mail/gnubiff/files/patch-src::Setup.cc13
3 files changed, 46 insertions, 0 deletions
diff --git a/mail/gnubiff/files/patch-configure b/mail/gnubiff/files/patch-configure
new file mode 100644
index 000000000000..4385a11a52ca
--- /dev/null
+++ b/mail/gnubiff/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.bak Mon May 3 19:00:27 2004
++++ configure Mon May 3 19:01:08 2004
+@@ -3868,7 +3868,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lssl $LIBS"
++LIBS="-lssl -lcrypto $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -3931,7 +3931,7 @@
+ #define HAVE_LIBSSL 1
+ _ACEOF
+
+- LIBS="-lssl $LIBS"
++ LIBS="-lssl -lcrypto $LIBS"
+
+ fi
+
diff --git a/mail/gnubiff/files/patch-src::Applet.cc b/mail/gnubiff/files/patch-src::Applet.cc
new file mode 100644
index 000000000000..d304607f25e0
--- /dev/null
+++ b/mail/gnubiff/files/patch-src::Applet.cc
@@ -0,0 +1,13 @@
+--- src/Applet.cc.bak Mon May 3 22:05:00 2004
++++ src/Applet.cc Mon May 3 22:05:19 2004
+@@ -108,9 +108,7 @@
+ else if (_owner->_sound_type == SOUND_FILE) {
+ std::stringstream s;
+ s << _owner->_sound_volume/100.0;
+- std::string command = "play \"" + _owner->_sound_file + std::string ("\" -v ");
+- command += s.str();
+- command += " &";
++ std::string command = "esdplay \"" + _owner->_sound_file + std::string ("\" &");
+ system (command.c_str());
+ }
+ }
diff --git a/mail/gnubiff/files/patch-src::Setup.cc b/mail/gnubiff/files/patch-src::Setup.cc
new file mode 100644
index 000000000000..c1c055692edc
--- /dev/null
+++ b/mail/gnubiff/files/patch-src::Setup.cc
@@ -0,0 +1,13 @@
+--- src/Setup.cc.bak Mon May 3 22:05:03 2004
++++ src/Setup.cc Mon May 3 22:05:14 2004
+@@ -765,9 +765,7 @@
+ gchar *data = (gchar *) g_object_get_data (G_OBJECT(get("soundfile")), "_file_");
+ std::stringstream s;
+ s << gfloat(gtk_range_get_value (GTK_RANGE (get ("volume"))))/100.0;
+- std::string command = "play \"" + std::string (data) + std::string ("\" -v ");
+- command += s.str();
+- command += " &";
++ std::string command = "esdplay \"" + std::string (data) + std::string ("\" &");
+ system (command.c_str());
+ }
+ }