aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrdao
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2017-04-30 21:32:50 +0000
committerMarius Strobl <marius@FreeBSD.org>2017-04-30 21:32:50 +0000
commit89faac92f52337b79ccd1f62c18cd85da7ccdf7e (patch)
treec9f8108790f52e941896062907e52baaa4d85b1b /sysutils/cdrdao
parent59c51e0ce01820a3e22519029c9967ab29d96ab5 (diff)
downloadports-89faac92f52337b79ccd1f62c18cd85da7ccdf7e.tar.gz
ports-89faac92f52337b79ccd1f62c18cd85da7ccdf7e.zip
Fix another piece of code to build with -std=c++11.
Notes
Notes: svn path=/head/; revision=439848
Diffstat (limited to 'sysutils/cdrdao')
-rw-r--r--sysutils/cdrdao/files/patch-xdao_CdDevice.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/cdrdao/files/patch-xdao_CdDevice.cc b/sysutils/cdrdao/files/patch-xdao_CdDevice.cc
new file mode 100644
index 000000000000..20118e2f304e
--- /dev/null
+++ b/sysutils/cdrdao/files/patch-xdao_CdDevice.cc
@@ -0,0 +1,11 @@
+--- xdao/CdDevice.cc.orig 2009-02-21 13:49:17 UTC
++++ xdao/CdDevice.cc
+@@ -255,7 +255,7 @@ int CdDevice::updateStatus()
+
+ bool CdDevice::updateProgress(Glib::IOCondition cond, int fd)
+ {
+- static char msgSync[4] = { 0xff, 0x00, 0xff, 0x00 };
++ static unsigned char msgSync[4] = { 0xff, 0x00, 0xff, 0x00 };
+ fd_set fds;
+ int state = 0;
+ char buf[10];