aboutsummaryrefslogtreecommitdiff
path: root/system/mpack/mpack.SlackBuild
diff options
context:
space:
mode:
authorWayne Cuddy <wcuddy@gmail.com>2021-03-18 21:20:35 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-03-20 11:00:41 +0700
commit96305397b25b45ebc96bdabc249d5b2b6f818430 (patch)
treed9612eac6ffac09506060f6e58beb1c66ca7c759 /system/mpack/mpack.SlackBuild
parente91c0048a076bda20ae751234167828404546380 (diff)
system/mpack: Updated upstream URL.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/mpack/mpack.SlackBuild')
-rw-r--r--system/mpack/mpack.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/system/mpack/mpack.SlackBuild b/system/mpack/mpack.SlackBuild
index 9bd52bc85f86f..8c6319c70b5d3 100644
--- a/system/mpack/mpack.SlackBuild
+++ b/system/mpack/mpack.SlackBuild
@@ -21,10 +21,16 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# 2021-03-18
+# - Inc'd BUILD value to 2
+# - Added comments about patch usage.
+# - Legacy upstream URL is gone, migrated to gitlab site.
+#
PRGNAM=mpack
VERSION=${VERSION:-1.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,7 +75,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 {} \;
-patch -p1 < $CWD/mpack.diff
+# The following patch corrects a number of warnings and build errors in
+# order to compile on a modern (Slackware 14.2+) Linux system.
+patch -p1 < $CWD/mpack.patch
CFLAGS="$SLKCFLAGS" \
./configure \