[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpmlint message '%ifarch-applied-patch'



What does this rpmlint message mean? I don't understand why it's harmful to have patches only applying to particular architectures.

-----

ical.src: W: %ifarch-applied-patch Patch3: ical-2.2-ia64.patch
A patch is applied inside an %ifarch block. Patches must be applied
on all architectures and may contain necessary configure and/or code
patch to be effective only on a given arch.

-----

The patch in question is:

--- ical-2.2/calendar/uid.C.ia64	Wed May 29 22:51:03 1996
+++ ical-2.2/calendar/uid.C	Mon Apr 30 00:13:58 2001
@@ -13,7 +13,7 @@
 #ifndef HAVE_GETHOSTNAME_PROTO

 #ifdef linux
-extern "C" int gethostname(char*, unsigned int);
+extern "C" int gethostname(char*, unsigned long);
 #else /* !linux */
 extern "C" int gethostname(char*, int);
 #endif /* linux */

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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]