summaryrefslogtreecommitdiff
path: root/games/asc/asc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/asc/asc.SlackBuild')
-rw-r--r--games/asc/asc.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/asc/asc.SlackBuild b/games/asc/asc.SlackBuild
index 816bf1100f..82415dea1f 100644
--- a/games/asc/asc.SlackBuild
+++ b/games/asc/asc.SlackBuild
@@ -22,9 +22,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20200906 bkw: modified by SlackBuilds.org: added patch to support
+# physfs 3.0.1.
+
PRGNAM=asc
VERSION=${VERSION:-2.6.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +72,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 {} \;
+# 20200906 bkw: Patch borrowed from Debian, with thanks.
+patch -p1 < $CWD/libphysfs-3.0.1.patch
+
# convert asc logo icon .gif to .png format
convert data/icon_asc.gif $PRGNAM.png