Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 2010 14:56:18 -0500
From:      "b. f." <bf1783@googlemail.com>
To:        Vinicius Abrahao <vinnix.bsd@gmail.com>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: HEADS UP: <utmp.h> gone. All welcome <utmpx.h>
Message-ID:  <d873d5be1002011156y3d94ed63k4d735c5de77c8912@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--001485f78aeef661b2047e8f6057
Content-Type: text/plain; charset=ISO-8859-1

>I found another port that shows a little error when replace utmp.h by utmpx.h.
>Is security/ipsec-tools

This was discovered shortly after Ed's initial changes -- Ed furnished
a patch, and the maintainer was notified on 15 Jan. 2009, although I
don't think a PR was filed.  I attach the patch for your convenience.

b.

--001485f78aeef661b2047e8f6057
Content-Type: application/octet-stream; name="patch-src__racoon__isakmp_cfg.c"
Content-Disposition: attachment; filename="patch-src__racoon__isakmp_cfg.c"
Content-Transfer-Encoding: base64
X-Attachment-Id: file0

LS0tIHNyYy9yYWNvb24vaXNha21wX2NmZy5jCisrKyBzcmMvcmFjb29uL2lzYWttcF9jZmcuYwpA
QCAtMzgsNyArMzgsNyBAQAogI2luY2x1ZGUgPHN5cy9zb2NrZXQuaD4KICNpbmNsdWRlIDxzeXMv
cXVldWUuaD4KIAotI2luY2x1ZGUgPHV0bXAuaD4KKyNpbmNsdWRlIDx1dG1weC5oPgogI2lmIGRl
ZmluZWQoX19BUFBMRV9fKSAmJiBkZWZpbmVkKF9fTUFDSF9fKQogI2luY2x1ZGUgPHV0aWwuaD4K
ICNlbmRpZgpAQCAtMTY1MSw4ICsxNjUxLDggQEAKIAlpbnQgaW5vdXQ7CiB7CiAJaW50IGVycm9y
ID0gMDsKLQlzdHJ1Y3QgdXRtcCB1dDsKLQljaGFyIHRlcm1bVVRfTElORVNJWkVdOworCXN0cnVj
dCB1dG1weCB1dDsKKwljaGFyIHRlcm1bc2l6ZW9mIHV0LnV0X2xpbmVdOwogCWNoYXIgYWRkcltO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VRJT04sIE5V
TEwsCiAJCQkiQWNjb3VudGluZyA6ICclcycgbG9nZ2luZyBvbiAnJXMnIGZyb20gJXMuXG4iLAot
CQkJdXQudXRfbmFtZSwgdXQudXRfbGluZSwgdXQudXRfaG9zdCk7CisJCQl1dC51dF91c2VyLCB1
dC51dF9saW5lLCB1dC51dF9ob3N0KTsKIAotCQlsb2dpbigmdXQpOworCQlwdXR1dHhsaW5lKCZ1
dCk7CiAKIAkJYnJlYWs7CiAJY2FzZSBJU0FLTVBfQ0ZHX0xPR09VVDoJCisJCXV0LnV0X3R5cGUg
PSBERUFEX1BST0NFU1M7CiAKIAkJcGxvZyhMTFZfSU5GTywgTE9DQVRJT04sIE5VTEwsCiAJCQki
QWNjb3VudGluZyA6ICclcycgdW5sb2dnaW5nIGZyb20gJyVzJy5cbiIsCiAJCQl1c3IsIHRlcm0p
OwogCi0JCWxvZ291dCh0ZXJtKTsKKwkJcHV0dXR4bGluZSgmdXQpOwogCiAJCWJyZWFrOwogCWRl
ZmF1bHQ6Cg==
--001485f78aeef661b2047e8f6057--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d873d5be1002011156y3d94ed63k4d735c5de77c8912>