diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2005-11-05 06:39:33 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2005-11-05 06:39:33 +0000 |
commit | 435ab127554cb6f5e6394836d94611e7b2d5b5d9 (patch) | |
tree | 5e7a2eb2d9584b9ba614ef2360406043a02fe8cc | |
parent | 0d91e908a860e58281ee805e9fbaf42057f42633 (diff) | |
download | ports-435ab127554cb6f5e6394836d94611e7b2d5b5d9.tar.gz ports-435ab127554cb6f5e6394836d94611e7b2d5b5d9.zip |
Don't build apm module on amd64/ia64, bump version.
Submitted by: kris@ via email
Notes
Notes:
svn path=/head/; revision=147331
-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 |