diff options
-rw-r--r-- | x11-wm/enlightenment-devel/Makefile | 2 | ||||
-rw-r--r-- | x11-wm/enlightenment-devel/files/patch-src_modules_battery_e_mod_main.c | 30 |
2 files changed, 31 insertions, 1 deletions
diff --git a/x11-wm/enlightenment-devel/Makefile b/x11-wm/enlightenment-devel/Makefile index 36d6198ca9cc..0b9d94e4162f 100644 --- a/x11-wm/enlightenment-devel/Makefile +++ b/x11-wm/enlightenment-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= enlightenment PORTVERSION= 0.16.999.018 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= http://enlightenment.freedesktop.org/files/ diff --git a/x11-wm/enlightenment-devel/files/patch-src_modules_battery_e_mod_main.c b/x11-wm/enlightenment-devel/files/patch-src_modules_battery_e_mod_main.c new file mode 100644 index 000000000000..3426e350ff95 --- /dev/null +++ b/x11-wm/enlightenment-devel/files/patch-src_modules_battery_e_mod_main.c @@ -0,0 +1,30 @@ +--- src/modules/battery/e_mod_main.c.orig Sat Nov 5 11:39:55 2005 ++++ src/modules/battery/e_mod_main.c Sat Nov 5 12:29:02 2005 +@@ -687,9 +687,11 @@ + case CHECK_ACPI: + ret = _battery_bsd_acpi_check(ef); + break; ++# ifdef __i386__ + case CHECK_APM: + ret = _battery_bsd_apm_check(ef); + break; ++#endif + default: + break; + } +@@ -1433,6 +1435,7 @@ + return stat; + } + ++# ifdef __i386__ + static Status * + _battery_bsd_apm_check(Battery *ef) + { +@@ -1525,6 +1528,7 @@ + + return stat; + } ++#endif + #endif + + #ifdef HAVE_CFBASE_H |