From e507cdb48294fea5ca7c2afc6d2e814facdacfe8 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Thu, 10 May 2007 20:18:53 +0000 Subject: opie-irdaapplet: added patch to take operator precedence into account. --- packages/opie-irdaapplet/files/.mtn2git_empty | 0 packages/opie-irdaapplet/files/learning-cpp.patch | 13 +++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 packages/opie-irdaapplet/files/.mtn2git_empty create mode 100644 packages/opie-irdaapplet/files/learning-cpp.patch (limited to 'packages/opie-irdaapplet/files') diff --git a/packages/opie-irdaapplet/files/.mtn2git_empty b/packages/opie-irdaapplet/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/opie-irdaapplet/files/learning-cpp.patch b/packages/opie-irdaapplet/files/learning-cpp.patch new file mode 100644 index 0000000000..60e46fd133 --- /dev/null +++ b/packages/opie-irdaapplet/files/learning-cpp.patch @@ -0,0 +1,13 @@ +diff --git a/irda.cpp b/irda.cpp +index d57104b..848ddb4 100644 +--- a/irda.cpp ++++ b/irda.cpp +@@ -54,7 +54,7 @@ IrdaApplet::IrdaApplet ( QWidget *parent, const char *name ) : + setFixedHeight( AppLnk::smallIconSize() ); + setFixedWidth( AppLnk::smallIconSize() ); + +- if (m_sockfd = ::socket ( PF_INET, SOCK_DGRAM, IPPROTO_IP ) == -1) ++ if ( ( m_sockfd = ::socket ( PF_INET, SOCK_DGRAM, IPPROTO_IP ) ) == -1) + perror ( "failed grabbing IrDA socket" ); + + m_irdaOnPixmap = -- cgit v1.2.3