desktop/wmpinboard: Updated for version 1.0.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-02-08 10:12:57 +07:00
parent 0310cfeca0
commit 4be1f7cdc3
3 changed files with 6 additions and 21 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wmpinboard
VERSION=${VERSION:-1.0.orig}
VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvzf $CWD/$PRGNAM"_"$VERSION.tar.gz # Attention to "_" and not '-' between "$PRGNAM" and "$VERSION"
tar xvzf $CWD/$PRGNAM"_"$VERSION.orig.tar.gz # Attention to "_" and not '-' between "$PRGNAM" and "$VERSION"
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -69,16 +69,12 @@ 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 {} \;
# Patch to fix it!
cp $CWD/wmpinboard.patch ./
patch -p0 < wmpinboard.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man
make
make install

View file

@ -1,8 +1,8 @@
PRGNAM="wmpinboard"
VERSION="1.0"
VERSION="1.0.1"
HOMEPAGE="http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/other.html#wmpinboard"
DOWNLOAD="ftp://ftp.acc.umu.se/debian/pool/main/w/wmpinboard/wmpinboard_1.0.orig.tar.gz"
MD5SUM="b5940439704ea7ae368b382d7f9ff3ed"
DOWNLOAD="ftp://ftp.acc.umu.se/debian/pool/main/w/wmpinboard/wmpinboard_1.0.1.orig.tar.gz"
MD5SUM="b0f528a4e4b7debb9d3372a00c7eb7ed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -1,11 +0,0 @@
--- src/wmpinboard.c 2000-12-08 17:42:23.000000000 -0200
+++ src/wmpinboard.c.new 2014-06-24 00:21:56.000000000 -0300
@@ -165,7 +165,7 @@
char t[STRING_BUF_SIZE];
FILE *file;
int pid = (int) getpid();
- static int sizes[6];
+ static int sizes[7];
sizes[0] = size_0;
sizes[1] = size_1;
sizes[2] = size_2;