From: tjk@ams.org (Tom Kacvinsky)
Date: Mon, 11 Aug 2003 11:14:50 -0400 (EDT)
Subject: [Tiff] A couple more patches
Message-ID: <Pine.GSO.4.53.0308111109290.12178@sun06.ams.org>
Content-Type: multipart/mixed;
        boundary="-559023410-684387517-1060614890=:12178"

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---559023410-684387517-1060614890=:12178
Content-Type: TEXT/PLAIN; charset=US-ASCII

On the Solaris boxes I compile on, I always get a warning about an
unprototyped function (strcpy) when tiff2ps is being compiled.  That
is because strcpy is defined in strings.h and strings.h is not used
in tiff2ps.c .  This is what I did to get around the issue (at least
for tiff2ps):

Add a check for stings.h (see patch for configure).

Make tiff2ps.c use port.h (see patch for tiff2ps).

As we are a Solaris shop, I have not been able to test this on other
types of Unices, so I am not sure if this is portable or not.

Let me know what you think...

Regards,

Tom
---559023410-684387517-1060614890=:12178
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="tiff2ps.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.4.53.0308111114500.12178@sun06.ams.org>
Content-Description: tiff2ps.patch
Content-Disposition: attachment; filename="tiff2ps.patch"

SW5kZXg6IHRpZmYycHMuYw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KUkNT
IGZpbGU6IC9jdnNyb290L29zcnMvbGlidGlmZi90b29scy90aWZmMnBzLmMs
dg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjE3DQpkaWZmIC11IC1yMS4xNyB0
aWZmMnBzLmMNCi0tLSB0aWZmMnBzLmMJNyBNYXkgMjAwMyAwODoxMjozMCAt
MDAwMAkxLjE3DQorKysgdGlmZjJwcy5jCTExIEF1ZyAyMDAzIDE0OjU5OjIx
IC0wMDAwDQpAQCAtMjQsMTEgKzI0LDcgQEANCiAgKiBPRiBUSElTIFNPRlRX
QVJFLg0KICAqLw0KIA0KLSNpbmNsdWRlIDxzdGRpby5oPg0KLSNpbmNsdWRl
IDxzdGRsaWIuaD4JCQkvKiBmb3IgYXRvZiAqLw0KLSNpbmNsdWRlIDxtYXRo
Lmg+DQotI2luY2x1ZGUgPHRpbWUuaD4NCi0NCisjaW5jbHVkZSAicG9ydC5o
Ig0KICNpbmNsdWRlICJ0aWZmaW8uaCINCiANCg==

---559023410-684387517-1060614890=:12178
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="configure.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.4.53.0308111114501.12178@sun06.ams.org>
Content-Description: configure.patch
Content-Disposition: attachment; filename="configure.patch"

SW5kZXg6IGNvbmZpZ3VyZQ0KPT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KUkNT
IGZpbGU6IC9jdnNyb290L29zcnMvbGlidGlmZi9jb25maWd1cmUsdg0KcmV0
cmlldmluZyByZXZpc2lvbiAxLjMwDQpkaWZmIC11IC1yMS4zMCBjb25maWd1
cmUNCi0tLSBjb25maWd1cmUJMjAgTWF5IDIwMDMgMTU6NDI6MTAgLTAwMDAJ
MS4zMA0KKysrIGNvbmZpZ3VyZQkxMSBBdWcgMjAwMyAxNDo1ODo1OCAtMDAw
MA0KQEAgLTEwMjQsNiArMTAyNCw3IEBADQogICAgIENoZWNrRm9ySW5jbHVk
ZUZpbGUgc3RkaW8uaAkJJiYgZWNobyAnI2luY2x1ZGUgPHN0ZGlvLmg+Jw0K
ICAgICBDaGVja0ZvckluY2x1ZGVGaWxlIHVuaXN0ZC5oCSYmIGVjaG8gJyNp
bmNsdWRlIDx1bmlzdGQuaD4nDQogICAgIENoZWNrRm9ySW5jbHVkZUZpbGUg
c3RyaW5nLmgJJiYgZWNobyAnI2luY2x1ZGUgPHN0cmluZy5oPicNCisgICAg
Q2hlY2tGb3JJbmNsdWRlRmlsZSBzdHJpbmdzLmgJJiYgZWNobyAnI2luY2x1
ZGUgPHN0cmluZ3MuaD4nDQogICAgIENoZWNrRm9ySW5jbHVkZUZpbGUgc3Rk
bGliLmgJJiYgZWNobyAnI2luY2x1ZGUgPHN0ZGxpYi5oPicNCiAgICAgaWYg
Q2hlY2tGb3JEZWZpbmUgT19SRE9OTFkgZmNudGwuaDsgdGhlbg0KIAllY2hv
ICcjaW5jbHVkZSA8ZmNudGwuaD4nDQo=

---559023410-684387517-1060614890=:12178--

