diff options
author | vanilla <vanilla@FreeBSD.org> | 2005-11-05 14:39:33 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2005-11-05 14:39:33 +0800 |
commit | 861d8019fc3d33f90487e94bc1823f763e04a452 (patch) | |
tree | 1796723d158d70648d1cf0ebdd3db4c8f32f3ee4 /x11-wm | |
parent | eabdccd0be8623bcc62f00b14a1be75c37536f18 (diff) | |
download | freebsd-ports-gnome-861d8019fc3d33f90487e94bc1823f763e04a452.tar.gz freebsd-ports-gnome-861d8019fc3d33f90487e94bc1823f763e04a452.tar.zst freebsd-ports-gnome-861d8019fc3d33f90487e94bc1823f763e04a452.zip |
Don't build apm module on amd64/ia64, bump version.
Submitted by: kris@ via email
Diffstat (limited to 'x11-wm')
-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 |