[tritonus] Fix FTBFS.

Jon Ciesla limb at fedoraproject.org
Mon Feb 18 22:06:11 UTC 2013


commit 335100ffdbb96400cb10440944a5ce1c40eaeb67
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Mon Feb 18 16:03:01 2013 -0600

    Fix FTBFS.

 tritonus-0.3.7-nonascii.patch |   13 +++++++++++++
 tritonus.spec                 |    2 ++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/tritonus-0.3.7-nonascii.patch b/tritonus-0.3.7-nonascii.patch
new file mode 100644
index 0000000..aa73e66
--- /dev/null
+++ b/tritonus-0.3.7-nonascii.patch
@@ -0,0 +1,13 @@
+--- test/CreateEmptySequence.java~	2002-01-09 06:37:42.000000000 -0600
++++ test/CreateEmptySequence.java	2013-02-18 15:49:41.569251177 -0600
+@@ -51,8 +51,8 @@
+ 		int	nTempoInMPQ = Integer.parseInt(args[1]);
+ 		int	nResolution = Integer.parseInt(args[2]);
+  		String	strFilename = args[3];
+-		out("Clock distance (µs): " + nTempoInMPQ / 24);
+-		out("Tick distance (µs): " + nTempoInMPQ / nResolution);
++		out("Clock distance (Xs): " + nTempoInMPQ / 24);
++		out("Tick distance (Xs): " + nTempoInMPQ / nResolution);
+ 		Sequence	sequence = null;
+ 		try
+ 		{
diff --git a/tritonus.spec b/tritonus.spec
index 563f073..fe3b281 100644
--- a/tritonus.spec
+++ b/tritonus.spec
@@ -20,6 +20,7 @@ Patch4:         %{name}-removed-code.diff
 # http://sourceforge.net/tracker/?func=detail&aid=2818404&group_id=1390&atid=201390
 Patch5:         %{name}-src-lib-alsa-cast.patch
 Patch6:         %{name}-openjdk-1-7-support.diff
+Patch7:         tritonus-0.3.7-nonascii.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:  alsa-lib-devel
 BuildRequires:  ant
@@ -126,6 +127,7 @@ This package contains the API documentation for %{name}.
 %patch4 -p1 -b .oldapi
 %patch5 -p1 -b .cast
 %patch6 -p1
+%patch7 -p0
 
 # Fix encoding issues
 for file in doc/{compression.txt,TODO-matthias.txt,tritonusfaq.sgml}; do


More information about the scm-commits mailing list