Changeset 27585 for packages


Ignore:
Timestamp:
2011-07-11T02:00:11+02:00 (5 years ago)
Author:
jow
Message:

[packages] procps: attribute((constructor)) needs an arg for gcc >= 4.3, fixes procps compilation on backfire

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/procps/patches/020_hz_fix.patch

    r24828 r27585  
    55 } 
    66  
    7 +#if __GNUC__ < 4 
     7+#if __GNUC__ < 4 || __GNUC_MINOR__ < 3 
    88 static void init_libproc(void) __attribute__((constructor)); 
    99+#else 
     
    2020 int linux_version_code; 
    2121  
    22 +#if __GNUC__ < 4 
     22+#if __GNUC__ < 4 || __GNUC_MINOR__ < 3 
    2323 static void init_Linux_version(void) __attribute__((constructor)); 
    2424+#else 
Note: See TracChangeset for help on using the changeset viewer.