diff options
Diffstat (limited to 'net-print/kink/files/kink-0.2.1-compilefix.diff')
-rw-r--r-- | net-print/kink/files/kink-0.2.1-compilefix.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net-print/kink/files/kink-0.2.1-compilefix.diff b/net-print/kink/files/kink-0.2.1-compilefix.diff new file mode 100644 index 000000000000..60b3bb29a0d6 --- /dev/null +++ b/net-print/kink/files/kink-0.2.1-compilefix.diff @@ -0,0 +1,12 @@ +diff -Nur kink-0.2.1/work/kink-0.2.1/kink/kink.cpp /tmp/kink-0.2.1/kink/kink.cpp +--- kink-0.2.1/work/kink-0.2.1/kink/kink.cpp 2003-12-14 11:05:03.000000000 +0100 ++++ /tmp/kink-0.2.1/kink/kink.cpp 2004-07-04 18:48:57.000822400 +0200 +@@ -156,7 +156,7 @@ + listed_devices[listed_count].device_port = port; + ++listed_count; + +- cmbDevices->insertItem(QString::fromAscii((const char *)model,strlen(model)) + " on " + (type==PARPORT ? "/dev/lp" : "/dev/usb/lp") + QString::number(port)); ++ cmbDevices->insertItem(QString::fromAscii((char*)model,strlen((char*)model)) + " on " + (type==PARPORT ? "/dev/lp" : "/dev/usb/lp") + QString::number(port)); + } + + |