projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
599105e
)
[packages] procps: __attribute__((constructor)) needs an arg for gcc >= 4.3, fixes...
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 11 Jul 2011 00:00:11 +0000
(
00:00
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 11 Jul 2011 00:00:11 +0000
(
00:00
+0000)
SVN-Revision: 27585
utils/procps/patches/020_hz_fix.patch
patch
|
blob
|
history
diff --git
a/utils/procps/patches/020_hz_fix.patch
b/utils/procps/patches/020_hz_fix.patch
index 1a4e48264005c9fb605e00f6f3bfaa08968872ef..1954453a4915d0213b6dc7e3a1c1afce6c0065fa 100644
(file)
--- a/
utils/procps/patches/020_hz_fix.patch
+++ b/
utils/procps/patches/020_hz_fix.patch
@@
-4,7
+4,7
@@
return !!rc;
}
-+#if __GNUC__ < 4
++#if __GNUC__ < 4
|| __GNUC_MINOR__ < 3
static void init_libproc(void) __attribute__((constructor));
+#else
+static void init_libproc(void) __attribute__((constructor(200)));
@@
-19,7
+19,7
@@
int linux_version_code;
-+#if __GNUC__ < 4
++#if __GNUC__ < 4
|| __GNUC_MINOR__ < 3
static void init_Linux_version(void) __attribute__((constructor));
+#else
+static void init_Linux_version(void) __attribute__((constructor(100)));