delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/29/11:28:04

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <474EE804.7020301@redhat.com>
Date: Thu, 29 Nov 2007 16:25:40 +0000
From: "Richard W.M. Jones" <rjones AT redhat DOT com>
User-Agent: Thunderbird 2.0.0.5 (X11/20070727)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, Sam Robb <sam DOT robb AT timesys DOT com>
Subject: [PATCH] Build DLL for SunRPC package
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------ms030509090707030001040507
Content-Type: multipart/mixed;
 boundary="------------040100070606080607050706"

This is a multi-part message in MIME format.
--------------040100070606080607050706
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

The attached patch builds librpc.dll, and also fixes some minor source 
bugs which seem to stop sunrpc-4.0-3 from building with modern gcc / Cygwin.

I've also built a binary package for this:

http://libvirt.org/sources/win32/

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903

--------------040100070606080607050706
Content-Type: text/x-patch;
 name="sunrpc-4.0-dll.patch"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="sunrpc-4.0-dll.patch"

ZGlmZiAtdXJiIHN1bnJwYy00LjAtMy9ldGMvcG9ydG1hcC5jIH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lsZXIgCiAgKiBDb3B5cmlnaHQgKEMpIDE5ODcsIFN1biBNaWNyb3N5c3Rl
bXMsIEluYy4gCiAgKi8KLWV4dGVybiBjaGFyICptYWxsb2MoKTsKLQogI2Rl
ZmluZSBhbGxvYyhzaXplKQkJbWFsbG9jKCh1bnNpZ25lZCkoc2l6ZSkpCiAj
ZGVmaW5lIEFMTE9DKG9iamVjdCkgICAob2JqZWN0ICopIG1hbGxvYyhzaXpl
b2Yob2JqZWN0KSkKIAo=

--------------040100070606080607050706--

--------------ms030509090707030001040507
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEH
AQAAoIIJAzCCAtwwggJFoAMCAQICEAS4dW+HXx5T2s1p+JnOIgkwDQYJKoZI
hvcNAQEFBQAwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25z
dWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG
cmVlbWFpbCBJc3N1aW5nIENBMB4XDTA3MDIxOTEwMDIxOFoXDTA4MDIxOTEw
MDIxOFowQzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEgMB4G
CSqGSIb3DQEJARYRcmpvbmVzQHJlZGhhdC5jb20wggEiMA0GCSqGSIb3DQEB
AQUAA4IBDwAwggEKAoIBAQDPJ872hlyuT89WhxOjsWO6ZmnJXFozZHACO5WR
aOGKE63VWbYdrWrW2zhV11NDkiZ5nI2IZoN2sga57/bLs1Wcc3W7VCEQ/vP+
YqnzvzBPnt9e1gD/Rte64hiNeP58cGjbzjMxAcBa1ICHzwniYxEP1QAiSu0H
k6ecRiMVVXYxCwa1D46klRkVPtQT89EIXS5Z4EOqQy83UZh/XdgcsadaRxsg
kQNg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BAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGlu
ZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1h
aWwgSXNzdWluZyBDQQIQBLh1b4dfHlPazWn4mc4iCTANBgkqhkiG9w0BAQEF
AASCAQADZTKzAdG5mdc2A6PXRfFAwZcek3dkFU82LDxE5kom8BbDRjvQZD3a
XVdTtbiehdM0W3L9w3El/YVqQhWXkNPn7WXNcCsGEeiia08s25XPJUwR0C8j
gL/id0JjK+dLssMBVAojqtNOQeIuinNJ6/BdQRNHqyEYnQ6fNVnp3wb+eoZ7
3ZnChmTv5KAhVbSTHoHDzRHDe43Q1yTXpUJthEwY1sfqzODMYzHXM/yrU1SO
xTNy6DgLbtp/UKfQTRUvCj8OjT9s4gDI3fyGG4ZqWPvdaajQ7+kUWdYG8tbT
+CFqGPgQAN3GChjhzq9nQda5fgPv9XUpHl0BupHeIcowmGMuAAAAAAAA

--------------ms030509090707030001040507--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019