Subject: Patch to make xpaint build on DragonFly
To: None <tech-pkg@netbsd.org>
From: Steve O'Hara-Smith <steve@sohara.org>
List: tech-pkg
Date: 09/07/2005 13:43:04
This is a multi-part message in MIME format.

--Multipart=_Wed__7_Sep_2005_13_43_04_+0100_Te5=yKrG3BgQt6O_
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

	Hi,

	The attached patch makes xpaint build and work on DragonFly. It
probably also makes it build and work on FreeBSD without the FreeBSD ports
installed but I have not tried that.

	The patch is written to be applied in the /usr/pkgsrc (or equivalent)
directory but it only affects the graphics/xpaint package.

-- 
C:>WIN                                      |   Directable Mirror Arrays
The computer obeys and wins.                | A better way to focus the sun
You lose and Bill collects.                 |    licences available see
                                            |    http://www.sohara.org/

--Multipart=_Wed__7_Sep_2005_13_43_04_+0100_Te5=yKrG3BgQt6O_
Content-Type: application/octet-stream;
 name="xpaint.patch"
Content-Disposition: attachment;
 filename="xpaint.patch"
Content-Transfer-Encoding: base64

SW5kZXg6IGdyYXBoaWNzL3hwYWludC9wYXRjaGVzL3BhdGNoLWFhCj09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZp
bGU6IC9jdnNyb290L3BrZ3NyYy9ncmFwaGljcy94cGFpbnQvcGF0Y2hlcy9wYXRjaC1hYSx2CnJl
dHJpZXZpbmcgcmV2aXNpb24gMS41CmRpZmYgLXUgLXIxLjUgcGF0Y2gtYWEKLS0tIGdyYXBoaWNz
L3hwYWludC9wYXRjaGVzL3BhdGNoLWFhCTMxIEphbiAyMDA1IDA5OjI0OjA3IC0wMDAwCTEuNQor
KysgZ3JhcGhpY3MveHBhaW50L3BhdGNoZXMvcGF0Y2gtYWEJMiBTZXAgMjAwNSAxNDoxNTozNiAt
MDAwMApAQCAtNyw3ICs3LDcgQEAKICAjZW5kaWYKICAKIC0jaWYgIWRlZmluZWQoX19WTVMpICYg
IWRlZmluZWQobGludXg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