rpmlint message '%ifarch-applied-patch'

Richard W.M. Jones rjones at redhat.com
Wed Sep 19 12:04:18 UTC 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070919/11edb7e0/attachment.bin>


More information about the fedora-devel-list mailing list