Date: Fri, 9 Dec 2011 07:10:04 GMT From: Benjamin Kaduk <kaduk@MIT.EDU> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/163133: net/openafs: cannot link OpenAFS kernel module on FreeBSD 8.2 Message-ID: <201112090710.pB97A4rA055514@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/163133; it has been noted by GNATS. From: Benjamin Kaduk <kaduk@MIT.EDU> To: bug-followup@freebsd.org Cc: Subject: Re: ports/163133: net/openafs: cannot link OpenAFS kernel module on FreeBSD 8.2 Date: Fri, 9 Dec 2011 02:09:28 -0500 (EST) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-1518833312-1323414568=:882 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII I believe the correct version to check is actually 900044; the attached patch fixes that conditional and also pulls in a couple more fixes that will be in the 1.6.1 release. -Ben Kaduk ---559023410-1518833312-1323414568=:882 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=openafs_20111209.diff.txt Content-Transfer-Encoding: BASE64 Content-ID: <alpine.GSO.1.10.1112090209280.882@multics.mit.edu> Content-Description: Content-Disposition: attachment; filename=openafs_20111209.diff.txt ZGlmZiAtcnVOIG9wZW5hZnMuc3VibWl0L01ha2VmaWxlIG9wZW5hZnMuc3Vi bWl0Mi9NYWtlZmlsZQ0KLS0tIG9wZW5hZnMuc3VibWl0L01ha2VmaWxlCTIw MTEtMTEtMjYgMjE6NTU6MzAuMDAwMDAwMDAwIC0wNTAwDQorKysgb3BlbmFm cy5zdWJtaXQyL01ha2VmaWxlCTIwMTEtMTItMDkgMDE6NTc6MTkuMDAwMDAw MDAwIC0wNTAwDQpAQCAtOCw3ICs4LDcgQEANCiANCiBQT1JUTkFNRT0Jb3Bl bmFmcw0KIERJU1RWRVJTSU9OPQkke0FGU19ESVNUVkVSU0lPTn0uJHtEQlZF UlNJT046Uy8tLy9nfQ0KLVBPUlRSRVZJU0lPTj0JMg0KK1B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zaW9uID49IDkwMDA0NCkNCiArCWtlcm5fcHNpZ25hbChw LCBTSUdVU1IxKTsNCiArI2Vsc2UNCiAgCXBzaWduYWwocCwgU0lHVVNSMSk7 DQo= ---559023410-1518833312-1323414568=:882--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112090710.pB97A4rA055514>