summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-03 07:20:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-03 07:59:53 +0700
commit86ac1fb613695c128bdf99ee14e8b3a69db5cbf8 (patch)
tree64bbe52e28bf26aae31e9606b50154c5da023597
parent5dacb1f359829a6bd4c938ddccf5beb9629fdf20 (diff)
downloadslackbuilds-86ac1fb613695c128bdf99ee14e8b3a69db5cbf8.tar.gz
libraries/libfilezilla: Updated for version 0.9.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libfilezilla/libfilezilla.SlackBuild5
-rw-r--r--libraries/libfilezilla/libfilezilla.info6
-rw-r--r--libraries/libfilezilla/r8432.patch12
3 files changed, 19 insertions, 4 deletions
diff --git a/libraries/libfilezilla/libfilezilla.SlackBuild b/libraries/libfilezilla/libfilezilla.SlackBuild
index dce5071478..eac8e681e6 100644
--- a/libraries/libfilezilla/libfilezilla.SlackBuild
+++ b/libraries/libfilezilla/libfilezilla.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libfilezilla
-VERSION=${VERSION:-0.9.1}
+VERSION=${VERSION:-0.9.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix missing FZ_PUBLIC_SYMBOL declaration
+patch -p2 < $CWD/r8432.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/libraries/libfilezilla/libfilezilla.info b/libraries/libfilezilla/libfilezilla.info
index 2e768ec007..92067b53a3 100644
--- a/libraries/libfilezilla/libfilezilla.info
+++ b/libraries/libfilezilla/libfilezilla.info
@@ -1,8 +1,8 @@
PRGNAM="libfilezilla"
-VERSION="0.9.1"
+VERSION="0.9.2"
HOMEPAGE="https://lib.filezilla-project.org/"
-DOWNLOAD="http://download.filezilla-project.org/libfilezilla/libfilezilla-0.9.1.tar.bz2"
-MD5SUM="4676304b048869ab6ac6ae09a1ab29f9"
+DOWNLOAD="http://download.filezilla-project.org/libfilezilla/libfilezilla-0.9.2.tar.bz2"
+MD5SUM="d52a0e7229efb3c9fafc8a2b649d665d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libfilezilla/r8432.patch b/libraries/libfilezilla/r8432.patch
new file mode 100644
index 0000000000..ac9cd9a672
--- /dev/null
+++ b/libraries/libfilezilla/r8432.patch
@@ -0,0 +1,12 @@
+--- libfilezilla/trunk/lib/libfilezilla/util.hpp 2017/06/01 19:28:46 8431
++++ libfilezilla/trunk/lib/libfilezilla/util.hpp 2017/06/02 15:08:22 8432
+@@ -28,7 +28,7 @@
+
+ /** \brief Get random uniformly distributed bytes
+ */
+-std::vector<uint8_t> random_bytes(size_t size);
++std::vector<uint8_t> FZ_PUBLIC_SYMBOL random_bytes(size_t size);
+
+ }
+
+