From:
[email protected]
Package: qgo
Severity: normal
Tags: patch
When building 'qgo' on amd64 with gcc-3.4 I get the following error:
Making all in qgo
make[3]: Entering directory `/qgo-0.2.1/qgo'
cd .. && /qgo-0.2.1/admin/missing automake-1.4 --gnu --include-deps qgo/Makefile
WARNING: `automake-1.4' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the `README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing `automake-1.4' program. make[3]: *** [Makefile.in] Error 1
make[3]: Leaving directory `/qgo-0.2.1/qgo'
Please add the missing Build-Depends on 'automake1.4' to debian/control.
The second part of the attached patch moves one function before its first
use which is necessary to make the code compile with gcc-3.4.
Regards
Andreas Jochens
diff -urN ../tmp-orig/qgo-0.2.1/debian/control ./debian/control
--- ../tmp-orig/qgo-0.2.1/debian/control 2004-08-11 16:36:50.892007656 +0200
+++ ./debian/control 2004-08-11 16:36:46.298902703 +0200
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Martin A. Godisch <
[email protected]>
Standards-Version: 3.6.1
-Build-Depends: autotools-dev, libqt3-mt-dev, libqt3-compat-headers +Build-Depends: autotools-dev, automake1.4, libqt3-mt-dev, libqt3-compat-headers
Package: qgo
Architecture: any
diff -urN ../tmp-orig/qgo-0.2.1/qgo/src/wavfile.c ./qgo/src/wavfile.c
--- ../tmp-orig/qgo-0.2.1/qgo/src/wavfile.c 2004-05-26 19:44:05.000000000 +0200
+++ ./qgo/src/wavfile.c 2004-08-11 16:21:34.088766107 +0200
@@ -140,6 +140,13 @@
+static void
+_v_erf(const char *format,va_list ap) {
+ vsprintf(emsg,format,ap); /* Capture message into emsg[] */
+}
+
+
+
/*
* Error reporting function for this source module:
*/
@@ -155,13 +162,6 @@
}
-static void
-_v_erf(const char *format,va_list ap) {
- vsprintf(emsg,format,ap); /* Capture message into emsg