Subject: 64-bit nit for sysutils/915resolution
To: None <pkgsrc-users@netbsd.org>
From: Blair Sadewitz <blair.sadewitz@gmail.com>
List: pkgsrc-users
Date: 01/22/2007 02:15:49
------=_Part_192990_26562039.1169450149755
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
'cardinal' is defined as unsigned int, which is improper on a 64-bit
platform. My new patch-aa defines it to size_t.
--Blair
--
Support WFMU-FM: free-form radio for the masses!
<http://www.wfmu.org/>
91.1 FM Jersey City, NJ
90.1 FM Mt. Hope, NY
"The Reggae Schoolroom":
<http://www.wfmu.org/playlists/RS/>
------=_Part_192990_26562039.1169450149755
Content-Type: application/octet-stream; name="patch-aa"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="patch-aa"
JE5ldEJTRDogcGF0Y2gtYWEsdiAxLjIgMjAwNi8xMS8xMyAwNDoxNTowMiBvYmFjaGUgRXhwICQK
Ci0tLSA5MTVyZXNvbHV0aW9uLmMub3JpZwkyMDA2LTAyLTAyIDA5OjI4OjM0LjAwMDAwMDAwMCAt
MDUwMAorKysgOTE1cmVzb2x1dGlvbi5jCkBAIC0yMiw3ICsyMiwyMiBAQAogI2luY2x1ZGUgPHN0
cmluZy5oPgogI2luY2x1ZGUgPHN5cy9tbWFuLmg+CiAjaW5jbHVkZSA8ZmNudGwuaD4KKyNpZmRl
ZiBfX2xpbnV4X18KICNpbmNsdWRlIDxzeXMvaW8uaD4KKyNkZWZpbmUgT1VUTChhLCBiKSAgICAg
b3V0bChhLCBiKQorI2RlZmluZSBPVVRCKGEsIGIpICAgICBvdXRiKGEsIGIpCisjZW5kaWYKKyNp
ZmRlZiBfX05ldEJTRF9fCisjaW5jbHVkZSA8bWFjaGluZS9waW8uaD4KKyNpbmNsdWRlIDxtYWNo
aW5lL3N5c2FyY2guaD4KKyMgaWYgZGVmaW5lZChfX2kzODZfXykKKyNkZWZpbmUgaW9wbChhKSBp
Mzg2X2lvcGwoYSkKKyMgZ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ci0gICAgICAgICAgICBvdXRsKDB4ODAwMDAwNWEsIDB4Y2Y4KTsK
KyAgICAgICAgICAgIE9VVEwoMHg4MDAwMDA1YSwgMHhjZjgpOwogICAgICAgICAgICAgbWFwLT5i
MSA9IGluYigweGNmZSk7CiAgICAgICAgICAgICAKLSAgICAgICAgICAgIG91dGwoMHg4MDAwMDA1
YSwgMHhjZjgpOwotICAgICAgICAgICAgb3V0YigweDMzLCAweGNmZSk7CisgICAgICAgICAgICBP
VVRMKDB4ODAwMDAwNWEsIDB4Y2Y4KTsKKyAgICAgICAgICAgIE9VVEIoMHgzMywgMHhjZmUpOwog
ICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgIGNhc2UgQ1RfODQ1RzoKICAgICAgICAgY2FzZSBD
VF84NjVHOgpAQCAtNDg4LDEzICs1MDMsMTMgQEAgdm9pZCB1bmxvY2tfdmJpb3ModmJpb3NfbWFw
ICogbWFwKSB7CiAgICAgICAgIGNhc2UgQ1RfOTE1R006CiAgICAgICAgIGNhc2UgQ1RfOTQ1RzoK
ICAgICAgICAgY2FzZSBDVF85NDVHTToKLSAgICAgICAgICAgIG91dGwoMHg4MDAwMDA5MCwgMHhj
ZjgpOworICAgICAgICAgICAgT1VUTCgweDgwMDAwMDkwLCAweGNmOCk7CiAgICAgICAgICAgICBt
YXAtPmIxID0gaW5iKDB4Y2ZkKTsKICAgICAgICAgICAgIG1hcC0+YjIgPSBpbmIoMHhjZmUpOwog
ICAgICAgICAgICAgCi0gICAgICAgICAgICBvdXRsKDB4ODAwMDAwOTAsIDB4Y2Y4KTsKLSAgICAg
ICAgICAgIG91dGIoMHgzMywgMHhjZmQpOwotICAgICAgICAgICAgb3V0YigweDMzLCAweGNmZSk7
CisgICAgICAgICAgICBPVVRMKDB4ODAwMDAwOTAsIDB4Y2Y4KTsKKyAgICAgICAgICAgIE9VVEIo
MHgzMywgMHhjZmQpOworICAgICAgICAgICAgT1VUQigweDMzLCAweGNmZSk7CiAgICAgICAgICAg
ICBicmVhazsKICAgICAgICAgfQogICAgIH0KQEAgLTUyNiw4ICs1NDEsOCBAQCB2b2lkIHJlbG9j
a192Ymlvcyh2Ymlvc19tYXAgKiBtYXApIHsKICAgICAgICAgY2FzZSBDVF9VTktXTjoKICAgICAg
ICAgICAgIGJyZWFrOwogICAgICAgICBjYXNlIENUXzg1NUdNOgotICAgICAgICAgICAgb3V0bCgw
eDgwMDAwMDVhLCAweGNmOCk7Ci0gICAgICAgICAgICBvdXRiKG1hcC0+YjEsIDB4Y2ZlKTsKKyAg
ICAgICAgICAgIE9VVEwoMHg4MDAwMDA1YSwgMHhjZjgpOworICAgICAgICAgICAgT1VUQihtYXAt
PmIxLCAweGNmZSk7CiAgICAgICAgICAgICBicmVhazsKICAgICAgICAgY2FzZSBDVF84NDVHOgog
ICAgICAgICBjYXNlIENUXzg2NUc6CkBAIC01MzUsOSArNTUwLDkgQEAgdm9pZCByZWxvY2tfdmJp
b3ModmJpb3NfbWFwICogbWFwKSB7CiAgICAgICAgIGNhc2UgQ1RfOTE1R006CiAgICAgICAgIGNh
c2UgQ1RfOTQ1RzoKICAgICAgICAgY2FzZSBDVF85NDVHTToKLSAgICAgICAgICAgIG91dGwoMHg4
MDAwMDA5MCwgMHhjZjgpOwotICAgICAgICAgICAgb3V0YihtYXAtPmIxLCAweGNmZCk7Ci0gICAg
ICAgICAgICBvdXRiKG1hcC0+YjIsIDB4Y2ZlKTsKKyAgICAgICAgICAgIE9VVEwoMHg4MDAwMDA5
MCwgMHhjZjgpOworICAgICAgICAgICAgT1VUQihtYXAtPmIxLCAweGNmZCk7CisgICAgICAgICAg
ICBPVVRCKG1hcC0+YjIsIDB4Y2ZlKTsKICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICB9CiAg
ICAgfQo=
------=_Part_192990_26562039.1169450149755--