Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gcc6.git;a=commitdiff;h=719884dec3d7671b3ca321e50ff04926d937d6f2

commit 719884dec3d7671b3ca321e50ff04926d937d6f2
Author: crazy <cr...@frugalware.org>
Date:   Sun Sep 18 23:45:28 2016 +0200

cdrdao-1.2.3-5-x86_64
* fix the build

diff --git a/source/multimedia/cdrdao/FrugalBuild 
b/source/multimedia/cdrdao/FrugalBuild
index 1407f59..21568bf 100644
--- a/source/multimedia/cdrdao/FrugalBuild
+++ b/source/multimedia/cdrdao/FrugalBuild
@@ -13,11 +13,12 @@ _F_sourceforge_ext=".tar.bz2"
Finclude sourceforge
source=($source cdrdao-1.2.3-autoconf-update.patch \
cdrdao-1.2.3-k3b.patch \
-        cdrdao-1.2.3-stat.patch)
+        cdrdao-1.2.3-stat.patch cdrdao-1.2.3-narrowing.patch)
sha1sums=('70d6547795a1342631c7ab56709fd1940c2aff9f' \
'00e9b111c50e381f8cb4fcbc837cc4293dc21648' \
'e4f9fc95df1e1084791146e1dc0c040f6cdf873e' \
-          '2d4f9a5beb3f89b313f204e47d01eb0c2901e058')
+          '2d4f9a5beb3f89b313f204e47d01eb0c2901e058' \
+          'c56724905c2595a5f020b10ca2d08a641b6628e3')

build()
{
diff --git a/source/multimedia/cdrdao/cdrdao-1.2.3-narrowing.patch 
b/source/multimedia/cdrdao/cdrdao-1.2.3-narrowing.patch
new file mode 100644
index 0000000..0637ee4
--- /dev/null
+++ b/source/multimedia/cdrdao/cdrdao-1.2.3-narrowing.patch
@@ -0,0 +1,24 @@
+diff -up wrk/dao/CdrDriver.cc.wrk wrk/dao/CdrDriver.cc
+--- wrk/dao/CdrDriver.cc.wrk   2016-02-16 14:06:23.158392345 +0100
++++ wrk/dao/CdrDriver.cc       2016-02-16 14:07:11.654597254 +0100
+@@ -495,7 +495,7 @@ unsigned char CdrDriver::syncPattern[12]
+   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
+diff -up wrk/dao/CdrDriver.h.wrk wrk/dao/CdrDriver.h
+--- wrk/dao/CdrDriver.h.wrk    2016-02-16 14:21:18.454174199 +0100
++++ wrk/dao/CdrDriver.h        2016-02-16 14:21:42.381275268 +0100
+@@ -440,7 +440,7 @@ protected:
+   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);
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to