diff -u moserial-3.0.1/debian/changelog moserial-3.0.1/debian/changelog --- moserial-3.0.1/debian/changelog +++ moserial-3.0.1/debian/changelog @@ -1,3 +1,10 @@ +moserial (3.0.1-0ubuntu2) precise; urgency=low + + * d/p/compilation_vala_0.14.patch: Fix compilation against vala 0.14 + (LP: #934983) + + -- Andreas Moog Fri, 02 Mar 2012 19:58:00 +0100 + moserial (3.0.1-0ubuntu1) oneiric; urgency=low * debian/watch: Look for bz2 tarballs. only in patch2: unchanged: --- moserial-3.0.1.orig/debian/patches/series +++ moserial-3.0.1/debian/patches/series @@ -0,0 +1 @@ +compile-with-vala-0.14.patch only in patch2: unchanged: --- moserial-3.0.1.orig/debian/patches/compile-with-vala-0.14.patch +++ moserial-3.0.1/debian/patches/compile-with-vala-0.14.patch @@ -0,0 +1,30 @@ +Description: Fix compilation with vala 0.14 +Author: Andreas Moog +Bug: https://bugzilla.gnome.org/show_bug.cgi?id=671223 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/934983 +Forwarded: yes, http://bugzilla-attachments.gnome.org/attachment.cgi?id=208868 + +Index: moserial/src/SerialConnection.vala +=================================================================== +--- moserial.orig/src/SerialConnection.vala 2012-03-02 19:57:33.237167833 +0100 ++++ moserial/src/SerialConnection.vala 2012-03-02 19:57:42.805167827 +0100 +@@ -69,7 +69,7 @@ + Posix.tcflush(m_fd, Posix.TCIOFLUSH); + // int n = Posix.File.fcntl(m_fd, Posix.File.FDFlag.GETFL); + // Posix.File.fcntl_with_arg(m_fd, Posix.File.FDFlag.SETFL, n & ~Posix.File.FileStatus.NDELAY); +- tcgetattr(m_fd, restoretio); ++ tcgetattr(m_fd, out restoretio); + applySettings(settings); + tcsetattr(m_fd, Posix.TCSANOW, newtio); + +@@ -196,8 +196,8 @@ + break; + } + +- Posix.cfsetospeed(newtio, baudRate); +- Posix.cfsetispeed(newtio, baudRate); ++ Posix.cfsetospeed(ref newtio, baudRate); ++ Posix.cfsetispeed(ref newtio, baudRate); + + //DataBits + int dataBits;