[kde-freebsd] ports/149427: building x11/kdebase3 fails in 8.1-PRERELEASE

Oliver Pinter oliver.pntr at gmail.com
Tue May 1 23:50:15 UTC 2012


The following reply was made to PR ports/149427; it has been noted by GNATS.

From: Oliver Pinter <oliver.pntr at gmail.com>
To: bug-followup at freebsd.org
Cc: freebsd-x11 at freebsd.org, "linimon at freebsd.org" <linimon at freebsd.org>
Subject: ports/149427: building x11/kdebase3 fails in 8.1-PRERELEASE
Date: Wed, 2 May 2012 01:49:00 +0200

 --20cf300fb0b9fe24f404bf02361a
 Content-Type: text/plain; charset=ISO-8859-1
 
 Hi!
 
 The attached patch don't break kdelib3 build and run with
 openssl-0.98, and maybe fix the issue with openssh 1.0=<.
 
 The attached patch exists in macports and in openbsd ports.
 
 --20cf300fb0b9fe24f404bf02361a
 Content-Type: text/x-diff; charset=US-ASCII; name="kdelibs3-openssl.diff"
 Content-Disposition: attachment; filename="kdelibs3-openssl.diff"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: file0
 
 ZGlmZiAtTmF1ciBrZGVsaWJzLTMuNS4xMC1vbGQva2lvL2tzc2wva29wZW5zc2wuY2Mga2RlbGli
 cy0zLjUuMTAtbmV3L2tpby9rc3NsL2tvcGVuc3NsLmNjCi0tLSBrZGVsaWJzLTMuNS4xMC1vbGQv
 a2lvL2tzc2wva29wZW5zc2wuY2MgICAgIDIwMDYtMDctMjIgMDE6MTY6MzkuMDAwMDAwMDAwIC0w
 NzAwCisrKyBrZGVsaWJzLTMuNS4xMC1uZXcva2lvL2tzc2wva29wZW5zc2wuY2MgICAgIDIwMTAt
 MDMtMzEgMDk6MzQ6MzguMDAwMDAwMDAwIC0wNzAwCkBAIC05Niw5ICs5NiwxNCBAQAogc3RhdGlj
 IGludCAoKktfUEVNX0FTTjFfd3JpdGVfYmlvKSAoaW50ICgqKSgpLGNvbnN0IGNoYXIgKixCSU8g
 KixjaGFyICosCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IEVWUF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NBUEVfQ0VSVF9IRFIpOworICAgYWgu
 aGVhZGVyID0gJm9zOworICAgYWguZGF0YSA9IChjaGFyICopZ2V0Q2VydCgpOworICAgYWgubWV0
 aCA9IGQtPmtvc3NsLT5YNTA5X2FzbjFfbWV0aCgpOwogCi0gICAgICAgZC0+a29zc2wtPkFTTjFf
 aTJkX2ZwKGt0Zi5mc3RyZWFtKCksKHVuc2lnbmVkIGNoYXIgKikmYWgpOworICAgZC0+a29zc2wt
 PkFTTjFfaTJkX2ZwKGt0Zi5mc3RyZWFtKCksKHVuc2lnbmVkIGNoYXIgKikmYWgpOworI2VuZGlm
 CiAKICAgICAgICBrdGYuY2xvc2UoKTsKIAo=
 --20cf300fb0b9fe24f404bf02361a--


More information about the kde-freebsd mailing list