From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 566661388BF for ; Mon, 11 Jan 2016 02:33:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55541E086F; Mon, 11 Jan 2016 02:33:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E2C8BE0870 for ; Mon, 11 Jan 2016 02:33:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C88B034092E for ; Mon, 11 Jan 2016 02:33:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB0B1D22 for ; Mon, 11 Jan 2016 02:33:39 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1452479443.83a1a327562218be7509e3acb2c1a973f5caa5aa.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-cdr/cdrdao/files/, app-cdr/cdrdao/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-cdr/cdrdao/cdrdao-1.2.3-r2.ebuild app-cdr/cdrdao/files/cdrdao-1.2.3-unsigned-char.patch X-VCS-Directories: app-cdr/cdrdao/ app-cdr/cdrdao/files/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 83a1a327562218be7509e3acb2c1a973f5caa5aa X-VCS-Branch: master Date: Mon, 11 Jan 2016 02:33:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9d9e0413-c0c5-4e6e-b3d6-d6226d2502a4 X-Archives-Hash: ef1cdcd617c5605b4c5abf1135fd7e58 commit: 83a1a327562218be7509e3acb2c1a973f5caa5aa Author: Mike Frysinger gentoo org> AuthorDate: Mon Jan 11 02:30:43 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Mon Jan 11 02:30:43 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a1a327 app-cdr/cdrdao: fix builds w/gcc-5 #569344 app-cdr/cdrdao/cdrdao-1.2.3-r2.ebuild | 1 + .../cdrdao/files/cdrdao-1.2.3-unsigned-char.patch | 42 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/app-cdr/cdrdao/cdrdao-1.2.3-r2.ebuild b/app-cdr/cdrdao/cdrdao-1.2.3-r2.ebuild index 38ed303..16257a6 100644 --- a/app-cdr/cdrdao/cdrdao-1.2.3-r2.ebuild +++ b/app-cdr/cdrdao/cdrdao-1.2.3-r2.ebuild @@ -44,6 +44,7 @@ S=${WORKDIR}/${P/_} src_prepare() { epatch "${FILESDIR}"/${P}-glibc212.patch + epatch "${FILESDIR}"/${P}-unsigned-char.patch #569344 } src_configure() { diff --git a/app-cdr/cdrdao/files/cdrdao-1.2.3-unsigned-char.patch b/app-cdr/cdrdao/files/cdrdao-1.2.3-unsigned-char.patch new file mode 100644 index 0000000..18c6083 --- /dev/null +++ b/app-cdr/cdrdao/files/cdrdao-1.2.3-unsigned-char.patch @@ -0,0 +1,42 @@ +https://bugs.gentoo.org/69344 +https://sourceforge.net/p/cdrdao/patches/26/ + +patch by qbt937@gmail.com + +--- a/dao/CdrDriver.cc ++++ b/dao/CdrDriver.cc +@@ -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 +--- a/dao/CdrDriver.h ++++ b/dao/CdrDriver.h +@@ -440,7 +440,7 @@ + bool fullBurn_; + + static unsigned char syncPattern[12]; +- static char REMOTE_MSG_SYNC_[4]; ++ unsigned static char REMOTE_MSG_SYNC_[4]; + + static int speed2Mult(int); + static int mult2Speed(int); +--- a/xdao/CdDevice.cc ++++ b/xdao/CdDevice.cc +@@ -255,10 +255,10 @@ + + bool CdDevice::updateProgress(Glib::IOCondition cond, int fd) + { +- static char msgSync[4] = { 0xff, 0x00, 0xff, 0x00 }; ++ unsigned static char msgSync[4] = { 0xff, 0x00, 0xff, 0x00 }; + fd_set fds; + int state = 0; +- char buf[10]; ++ unsigned char buf[10]; + struct timeval timeout = { 0, 0 }; + + if (process_ == NULL)