summaryrefslogtreecommitdiff
path: root/system/fsvs
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-17 21:10:10 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-17 23:34:13 -0500
commitb459270758cb17f6834065cf68e12cb6252aec89 (patch)
tree9759c59fa191c4c38eb3e8abdb273fa4981f9a96 /system/fsvs
parent58e0c21a06150ba264cdf2eafbb68c9aa8ac3c2c (diff)
downloadslackbuilds-b459270758cb17f6834065cf68e12cb6252aec89.tar.gz
system/fsvs: Updated for version 1.2.5, fixed underlinking.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/fsvs')
-rw-r--r--system/fsvs/fsvs.SlackBuild7
-rw-r--r--system/fsvs/fsvs.info6
-rw-r--r--system/fsvs/fsvs_gcc452.patch33
3 files changed, 5 insertions, 41 deletions
diff --git a/system/fsvs/fsvs.SlackBuild b/system/fsvs/fsvs.SlackBuild
index aced1d5ed1..c14db9d540 100644
--- a/system/fsvs/fsvs.SlackBuild
+++ b/system/fsvs/fsvs.SlackBuild
@@ -5,7 +5,7 @@
# Written by Joey Trungale <joey@trungale.net>
PRGNAM=fsvs
-VERSION=${VERSION:-1.2.3}
+VERSION=${VERSION:-1.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,10 +51,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Patch to avoid bug in gcc-4.5.2
-# -> this is _ugly_ but it works for now, until the bug in gcc is solved
-patch -p1 < $CWD/fsvs_gcc452.patch
-
+LDFLAGS="-ldl" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/system/fsvs/fsvs.info b/system/fsvs/fsvs.info
index c39ca2e585..7a0ce7422e 100644
--- a/system/fsvs/fsvs.info
+++ b/system/fsvs/fsvs.info
@@ -1,8 +1,8 @@
PRGNAM="fsvs"
-VERSION="1.2.3"
+VERSION="1.2.5"
HOMEPAGE="http://fsvs.tigris.org"
-DOWNLOAD="http://download.fsvs-software.org/fsvs-1.2.3.tar.bz2"
-MD5SUM="1049b33d272a5242fc9b6068477e3913"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/fsvs-1.2.5.tar.bz2"
+MD5SUM="d9c99d27b26e3edd48a6fd77c9f071ef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/fsvs/fsvs_gcc452.patch b/system/fsvs/fsvs_gcc452.patch
deleted file mode 100644
index f708c8afea..0000000000
--- a/system/fsvs/fsvs_gcc452.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- fsvs-1.2.3/src/helper.c 2010-02-16 08:20:50.000000000 -0200
-+++ fsvs-1.2.3_patched/src/helper.c 2011-04-05 10:56:59.000000000 -0300
-@@ -1738,7 +1738,7 @@
- {
- static int last=0;
- /* Sadly GCC doesn't statically solve sizeof(rev)*log(10)/log(2) ... */
-- static char buffers[2][(int)(sizeof(rev)*3.32)+3];
-+ static char buffers[2][(int)(sizeof(rev)*4)+3];
-
- last++;
- if (last>= sizeof(buffers)/sizeof(buffers[0])) last=0;
---- fsvs-1.2.3/src/options.c 2010-02-13 09:49:16.000000000 -0200
-+++ fsvs-1.2.3_patched/src/options.c 2011-04-05 10:58:28.000000000 -0300
-@@ -740,7 +740,7 @@
- * loop via \c getenv() over all options? */
- char *opt__variable_from_option(enum opt__settings_e which)
- {
-- static char buffer[ strlen(ENV_PREFIX) +
-+ static char buffer[ 5 +
- sizeof(opt__list[0].name) + 1] = ENV_PREFIX;
- char * const target=buffer+strlen(ENV_PREFIX);
- int i;
---- fsvs-1.2.3/src/status.c 2010-02-13 15:56:59.000000000 -0200
-+++ fsvs-1.2.3_patched/src/status.c 2011-04-05 10:59:00.000000000 -0300
-@@ -451,7 +451,7 @@
- time_t now;
- int print;
- const int bar_chart_width=20;
-- static const char bar_chart[bar_chart_width+1]="###################>";
-+ static const char bar_chart[20+1]="###################>";
- float pct;
-
-