summaryrefslogtreecommitdiff
path: root/development/poedit
diff options
context:
space:
mode:
Diffstat (limited to 'development/poedit')
-rw-r--r--development/poedit/poedit.SlackBuild3
-rw-r--r--development/poedit/poedit.info6
-rw-r--r--development/poedit/setvalue.diff11
3 files changed, 16 insertions, 4 deletions
diff --git a/development/poedit/poedit.SlackBuild b/development/poedit/poedit.SlackBuild
index 7b1a0c0c5d..66c469847a 100644
--- a/development/poedit/poedit.SlackBuild
+++ b/development/poedit/poedit.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=poedit
-VERSION=1.4.6.1
+VERSION=1.5.7
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,6 +65,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+rw,go+r-w .
+patch --verbose -p1 < $CWD/setvalue.diff
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/development/poedit/poedit.info b/development/poedit/poedit.info
index 9e52f39657..21d3f230f5 100644
--- a/development/poedit/poedit.info
+++ b/development/poedit/poedit.info
@@ -1,8 +1,8 @@
PRGNAM="poedit"
-VERSION="1.4.6.1"
+VERSION="1.5.7"
HOMEPAGE="http://www.poedit.net"
-DOWNLOAD="http://downloads.sourceforge.net/poedit/poedit-1.4.6.1.tar.gz"
-MD5SUM="c63ffd991b1a6085ef356a6922356e0a"
+DOWNLOAD="http://downloads.sourceforge.net/poedit/1.5/poedit-1.5.7.tar.gz"
+MD5SUM="f5b53ec66a606f088b0aa388595ea5f9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxPython"
diff --git a/development/poedit/setvalue.diff b/development/poedit/setvalue.diff
new file mode 100644
index 0000000000..1c66943cea
--- /dev/null
+++ b/development/poedit/setvalue.diff
@@ -0,0 +1,11 @@
+--- a/src/fileviewer.cpp 2013-11-10 17:38:50.161359501 +0400
++++ b/src/fileviewer.cpp 2013-11-10 17:37:59.958987117 +0400
+@@ -286,7 +286,7 @@
+ linenum = 0;
+
+ m_text->SetReadOnly(false);
+- m_text->SetValue(data);
++ m_text->SetText(data);
+ m_text->SetReadOnly(true);
+
+ m_text->MarkerDeleteAll(1);