mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
editors/mp: Update to 5.47
This commit is contained in:
parent
8efbe89c6e
commit
a25ab1fd80
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=568462
3 changed files with 18 additions and 19 deletions
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mp
|
||||
DISTVERSION= 5.46
|
||||
DISTVERSION= 5.47
|
||||
CATEGORIES= editors
|
||||
|
||||
MAINTAINER= jhale@FreeBSD.org
|
||||
|
@ -16,7 +16,7 @@ USES= gmake iconv
|
|||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ttcdt
|
||||
GH_PROJECT= mp-5.x mpdm:mpdm mpsl:mpsl
|
||||
GH_TAGNAME= 2.70:mpdm 2.61:mpsl
|
||||
GH_TAGNAME= 2.72:mpdm 2.62:mpsl
|
||||
GH_SUBDIR= mpdm:mpdm mpsl:mpsl
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
TIMESTAMP = 1612381167
|
||||
SHA256 (ttcdt-mp-5.x-5.46_GH0.tar.gz) = 492cbba7108d00ff41fc88429912fd5489d1afd97a3fdcd4be90968cca0ab1bc
|
||||
SIZE (ttcdt-mp-5.x-5.46_GH0.tar.gz) = 225040
|
||||
SHA256 (ttcdt-mpdm-2.70_GH0.tar.gz) = d3c6269ef2151071d60a736b328ac33040a8afe2a808ccbe56cfa5686198c48a
|
||||
SIZE (ttcdt-mpdm-2.70_GH0.tar.gz) = 142016
|
||||
SHA256 (ttcdt-mpsl-2.61_GH0.tar.gz) = 1d360ca31bdc04dee7338442fc3a0996eab87ceb22d5f76f6843f9469d4be45b
|
||||
SIZE (ttcdt-mpsl-2.61_GH0.tar.gz) = 70207
|
||||
TIMESTAMP = 1615814934
|
||||
SHA256 (ttcdt-mp-5.x-5.47_GH0.tar.gz) = cb2d209141ed30801b273bf49310863a9f5c546ba75a6a4320a98f5bad88b215
|
||||
SIZE (ttcdt-mp-5.x-5.47_GH0.tar.gz) = 235276
|
||||
SHA256 (ttcdt-mpdm-2.72_GH0.tar.gz) = eca91ca7549cab93931a806c7434fff9efa122f29ba787c670ab25fec24ecfbf
|
||||
SIZE (ttcdt-mpdm-2.72_GH0.tar.gz) = 144909
|
||||
SHA256 (ttcdt-mpsl-2.62_GH0.tar.gz) = 3e12bbbb8504bc9ebba31a5753c60e5280a1d7d9f3f0d5199ff0f1f3f241879a
|
||||
SIZE (ttcdt-mpsl-2.62_GH0.tar.gz) = 69393
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
mpdm_f.c:1947:9: error: use of undeclared identifier 'environ'
|
||||
environ = (char **) calloc(sizeof(char *), mpdm_size(v) + 1);
|
||||
mpdm_f.c:2395:24: error: variable has incomplete type 'struct sockaddr_in'
|
||||
struct sockaddr_in host;
|
||||
^
|
||||
mpdm_f.c:2395:12: note: forward declaration of 'struct sockaddr_in'
|
||||
struct sockaddr_in host;
|
||||
^
|
||||
mpdm_f.c:2417:23: warning: implicit declaration of function 'htons' is invalid in C99 [-Wimplicit-function-declaration]
|
||||
host.sin_port = htons(p);
|
||||
^
|
||||
|
||||
--- mpdm/mpdm_f.c.orig 2020-11-22 08:58:48 UTC
|
||||
+++ mpdm/mpdm_f.c
|
||||
|
@ -12,11 +19,3 @@ mpdm_f.c:1947:9: error: use of undeclared identifier 'environ'
|
|||
#include "mpdm.h"
|
||||
|
||||
#ifdef CONFOPT_ICONV
|
||||
@@ -1974,6 +1976,7 @@ static int sysdep_popen(mpdm_t v, char *prg, int rw)
|
||||
|
||||
/* build the environment for the subprocess */
|
||||
v = mpdm_join(mpdm_get_wcs(mpdm_root(), L"ENV"), MPDM_S(L"="));
|
||||
+ extern char **environ;
|
||||
environ = (char **) calloc(sizeof(char *), mpdm_size(v) + 1);
|
||||
|
||||
mpdm_ref(v);
|
||||
|
|
Loading…
Add table
Reference in a new issue