Package: speedtouch
Severity: wishlist
Tags: patch

Please add support for the ppc64 architecture.

With the attached patch 'speedtouch' compiles on ppc64 with gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/speedtouch-1.3.1/debian/control ./debian/control
--- ../tmp-orig/speedtouch-1.3.1/debian/control 2005-03-23 23:07:42.048989114 
+0100
+++ ./debian/control    2005-03-23 23:07:35.768090336 +0100
@@ -7,7 +7,7 @@
 Standards-Version: 3.6.1.1
 
 Package: speedtouch
-Architecture: alpha amd64 arm hppa i386 ia64 powerpc mips mipsel
+Architecture: alpha amd64 arm hppa i386 ia64 powerpc ppc64 mips mipsel
 Depends: ${shlibs:Depends}, ppp
 Description: userspace driver for the Alcatel Speedtouch USB ADSL Adapter
  This package contains userspace utilities for the Alcatel Speedtouch USB
diff -urN ../tmp-orig/speedtouch-1.3.1/debian/patches/01_gcc4_fix 
./debian/patches/01_gcc4_fix
--- ../tmp-orig/speedtouch-1.3.1/debian/patches/01_gcc4_fix     1970-01-01 
01:00:00.000000000 +0100
+++ ./debian/patches/01_gcc4_fix        2005-03-23 23:07:22.485611140 +0100
@@ -0,0 +1,30 @@
+diff -urN tmp/src/modem_run.c speedtouch-1.3.1/src/modem_run.c
+--- tmp/src/modem_run.c        2004-09-29 22:56:31.000000000 +0200
++++ speedtouch-1.3.1/src/modem_run.c   2005-03-04 09:52:25.888179101 +0100
+@@ -91,7 +91,7 @@
+ * Global variables
+ 
******************************************************************************/
+ 
+-static int verbose = 0;
++static int verbose_mode = 0;
+ FILE *flog = NULL;
+ 
+ /*****************************************************************************
+@@ -203,7 +203,7 @@
+                } else if (strcmp(argv[i], "-t") == 0 && i+1<argc) {
+                        timeout = atoi(argv[++i]);
+                } else if (strcmp(argv[i], "-v") == 0 && i+1<argc) {
+-                       verbose = atoi(argv[++i]);
++                       verbose_mode = atoi(argv[++i]);
+                } else if (strcmp(argv[i],"--help") == 0) {
+                        usage();
+                } else if (strcmp(argv[i],"-m") == 0) {
+@@ -1159,7 +1159,7 @@
+       char *buffer = NULL;
+ 
+ 
+-      if( verbose >= minlevel ) {
++      if( verbose_mode >= minlevel ) {
+               /* if log is null, try to open the log file */
+               if(flog == NULL) {
+ 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to