diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-19 18:11:20 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-19 18:11:20 +0000 |
commit | d08e131455373e0e71b57ace0f3649dd19c65587 (patch) | |
tree | be089a5cf3c340ac8f6b7df9416d7af8cda7e811 /x11-wm/icewm | |
parent | f9e54c645d51708ef01839c7cb8aeee482fa8001 (diff) |
- Fix build on non-i386 architectures
PR: 58244
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=91684
Diffstat (limited to 'x11-wm/icewm')
-rw-r--r-- | x11-wm/icewm/files/patch-src_aapm.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/x11-wm/icewm/files/patch-src_aapm.h b/x11-wm/icewm/files/patch-src_aapm.h index 60c89713d7f9..72f99dce21ff 100644 --- a/x11-wm/icewm/files/patch-src_aapm.h +++ b/x11-wm/icewm/files/patch-src_aapm.h @@ -1,9 +1,18 @@ ---- src/aapm.h.orig Sun Aug 24 23:59:25 2003 -+++ src/aapm.h Wed Sep 10 04:57:40 2003 -@@ -1,5 +1,5 @@ +--- src/aapm.h.orig Sat Sep 27 16:54:45 2003 ++++ src/aapm.h Sun Oct 19 09:17:31 2003 +@@ -1,7 +1,5 @@ -#ifndef linux -+#if !defined(linux) && !defined(__FreeBSD__) && !defined(i386) - #undef CONFIG_APPLET_APM - #elif CONFIG_APPLET_APM +-#undef CONFIG_APPLET_APM +-#elif CONFIG_APPLET_APM ++#if (defined(linux) || defined (__FreeBSD__)) && defined(i386) + #include "ywindow.h" + #include "ytimer.h" +@@ -64,4 +62,6 @@ + char *acpiACName; + + }; ++#else ++#undef CONFIG_APPLET_APM + #endif |