mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
cdrdao: fix gcc6 build
This commit is contained in:
parent
b84e39c607
commit
f3377e4d91
2 changed files with 23 additions and 1 deletions
22
srcpkgs/cdrdao/patches/fix-narrowing.patch
Normal file
22
srcpkgs/cdrdao/patches/fix-narrowing.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
--- dao/CdrDriver.cc 2009-09-12 18:21:25.000000000 +0200
|
||||||
|
+++ dao/CdrDriver.cc 2016-09-13 09:21:23.465964372 +0200
|
||||||
|
@@ -495,7 +495,7 @@
|
||||||
|
0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0
|
||||||
|
};
|
||||||
|
|
||||||
|
-char CdrDriver::REMOTE_MSG_SYNC_[4] = { 0xff, 0x00, 0xff, 0x00 };
|
||||||
|
+unsigned char CdrDriver::REMOTE_MSG_SYNC_[4] = { 0xff, 0x00, 0xff, 0x00 };
|
||||||
|
|
||||||
|
|
||||||
|
/* Maps a string to the corresponding driver option value
|
||||||
|
--- dao/CdrDriver.h 2009-02-21 11:27:31.000000000 +0100
|
||||||
|
+++ dao/CdrDriver.h 2016-09-13 09:21:41.068972901 +0200
|
||||||
|
@@ -440,7 +440,7 @@
|
||||||
|
bool fullBurn_;
|
||||||
|
|
||||||
|
static unsigned char syncPattern[12];
|
||||||
|
- static char REMOTE_MSG_SYNC_[4];
|
||||||
|
+ static unsigned char REMOTE_MSG_SYNC_[4];
|
||||||
|
|
||||||
|
static int speed2Mult(int);
|
||||||
|
static int mult2Speed(int);
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cdrdao'
|
# Template file for 'cdrdao'
|
||||||
pkgname=cdrdao
|
pkgname=cdrdao
|
||||||
version=1.2.3
|
version=1.2.3
|
||||||
revision=1
|
revision=2
|
||||||
nocross=yes # runs pccts/antlr/antlr
|
nocross=yes # runs pccts/antlr/antlr
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
|
Loading…
Add table
Reference in a new issue