games/qtsixa: copyright year + cleanup
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d6408a1a2a
commit
4f40a4c789
|
@ -4,7 +4,8 @@ config() {
|
|||
# If there's no config file by that name, mv it over:
|
||||
if [ ! -r $OLD ]; then
|
||||
mv $NEW $OLD
|
||||
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
|
||||
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
|
||||
# toss the redundant copy
|
||||
rm $NEW
|
||||
fi
|
||||
# Otherwise, we leave the .new copy for the admin to consider...
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SlackBuild script for "qtsixa".
|
||||
# Slackware build script for "qtsixa".
|
||||
|
||||
# Copyright 2013 Marcel Saegebarth <marc@mos6581.de>
|
||||
# Copyright 2013-2015 Marcel Saegebarth <marc@mos6581.de>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -25,7 +25,7 @@
|
|||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=qtsixa
|
||||
VERSION=1.5.1
|
||||
VERSION=${VERSION:-1.5.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -78,7 +78,7 @@ find -L . \
|
|||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
--- sixad/shared.h.orig 2011-10-12 02:37:38.000000000 +0200
|
||||
+++ sixad/shared.h 2012-04-10 13:36:49.119637000 +0200
|
||||
@@ -18,6 +18,8 @@
|
||||
#ifndef SHARED_H
|
||||
#define SHARED_H
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
struct dev_led {
|
||||
bool enabled;
|
||||
--- sixad/shared.h.orig 2011-10-12 02:37:38.000000000 +0200
|
||||
+++ sixad/shared.h 2012-04-10 13:36:49.119637000 +0200
|
||||
@@ -18,6 +18,8 @@
|
||||
#ifndef SHARED_H
|
||||
#define SHARED_H
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
struct dev_led {
|
||||
bool enabled;
|
||||
bool anim;
|
Loading…
Reference in New Issue