diff options
author | krion <krion@FreeBSD.org> | 2003-10-20 02:11:20 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-10-20 02:11:20 +0800 |
commit | 45764fe4d1b5c04defd32961d899e54151c0bdfa (patch) | |
tree | ea40f136315222b5eef0594dd5eab31f35b62f5d /x11-wm | |
parent | aa839980966a48e5832a7e2bfe1f13a8413f3d4f (diff) | |
download | freebsd-ports-gnome-45764fe4d1b5c04defd32961d899e54151c0bdfa.tar.gz freebsd-ports-gnome-45764fe4d1b5c04defd32961d899e54151c0bdfa.tar.zst freebsd-ports-gnome-45764fe4d1b5c04defd32961d899e54151c0bdfa.zip |
- Fix build on non-i386 architectures
PR: 58244
Submitted by: Ports Fury
Diffstat (limited to 'x11-wm')
-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 |