mg: update to 20150325.

This commit is contained in:
Juan RP 2016-01-10 08:28:44 +01:00
parent b1e3c768b7
commit cc46368363
2 changed files with 29 additions and 2 deletions

View file

@ -0,0 +1,23 @@
--- fileio.c.orig 2016-01-10 08:21:54.904501093 +0100
+++ fileio.c 2016-01-10 08:22:13.488701799 +0100
@@ -27,6 +27,10 @@
#include "kbd.h"
#include "pathnames.h"
+#ifndef DEFFILEMODE
+# define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)/* 0666*/
+#endif
+
static char *bkuplocation(const char *);
static int bkupleavetmp(const char *);
--- fileio.c.orig 2016-01-10 08:23:22.129443103 +0100
+++ fileio.c 2016-01-10 08:23:46.952712519 +0100
@@ -6,6 +6,7 @@
* POSIX fileio.c
*/
+#include <sys/param.h> /* MAXNAMLEN */
#include <sys/queue.h>
#include <sys/resource.h>
#include <sys/stat.h>

View file

@ -1,6 +1,6 @@
# Template file for 'mg'
pkgname=mg
version=20150323
version=20150325
revision=1
makedepends="clens libbsd-devel ncurses-devel"
homepage="http://homepage.boetes.org/software/mg"
@ -8,7 +8,11 @@ short_desc="Micro GNU/emacs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Public Domain"
distfiles="$homepage/mg-$version.tar.gz"
checksum=d71b24d47d3e1426f162e446d92dfa457df96dd47c1289419cba9fd14c2c3afb
checksum=94197ae03333c5da519e1737bfd28c60dcdc4ef0714a8e5948e9893a3aabd4d2
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS="-DREG_STARTEND=0 -DTCSASOFT=0";;
esac
do_configure() {
sed -i "s,\(BSD_CPPFLAGS:=\).*,\1 -isystem ${XBPS_CROSS_BASE}/usr/include/bsd -DLIBBSD_OVERLAY,g" GNUmakefile