summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Jezak <josejx@gentoo.org>2006-12-17 01:42:46 +0000
committerJoseph Jezak <josejx@gentoo.org>2006-12-17 01:42:46 +0000
commit40c74c3d5d71dd3438234965943ad6d34cd53e1e (patch)
tree9a9ca3df978229218510ab33e907ce8bb98a0fe9 /app-laptop/pbbuttonsd/files
parentCleanup qemu mask (diff)
downloadgentoo-2-40c74c3d5d71dd3438234965943ad6d34cd53e1e.tar.gz
gentoo-2-40c74c3d5d71dd3438234965943ad6d34cd53e1e.tar.bz2
gentoo-2-40c74c3d5d71dd3438234965943ad6d34cd53e1e.zip
Marked ppc stable. Added x86 compile fix and re-added ~x86. Replaced autocon/automake with eautoconf.
(Portage version: 2.1.2_rc3-r5)
Diffstat (limited to 'app-laptop/pbbuttonsd/files')
-rw-r--r--app-laptop/pbbuttonsd/files/x86-fix.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-laptop/pbbuttonsd/files/x86-fix.patch b/app-laptop/pbbuttonsd/files/x86-fix.patch
new file mode 100644
index 000000000000..754aba50d281
--- /dev/null
+++ b/app-laptop/pbbuttonsd/files/x86-fix.patch
@@ -0,0 +1,29 @@
+--- class_backlight.c 2006-10-01 04:06:51.000000000 -0400
++++ /home/jjezak/pbbuttonsd-0.7.9/src/class_backlight.c 2006-10-03 22:04:34.000000000 -0400
+@@ -46,8 +46,9 @@
+ struct class_backlight *base = &modbase_backlight;
+
+ if (!base->driver) base->driver = driver_backlight_sysfs_init (taglist);
++#ifdef WITH_MODULE_PMAC
+ if (!base->driver) base->driver = driver_backlight_pmu_init (taglist);
+-
++#endif
+ if (base->driver)
+ print_msg (PBB_INFO, _("Initialized: %s\n"), _(base->driver->name));
+ else
+--- driver_backlight_pmu.c 2006-10-01 04:04:25.000000000 -0400
++++ /home/jjezak/pbbuttonsd-0.7.9/src/driver_backlight_pmu.c 2006-10-03 22:04:34.000000000 -0400
+@@ -15,6 +15,8 @@
+ # include <config.h>
+ #endif
+
++#ifdef WITH_MODULE_PMAC
++
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <fcntl.h>
+@@ -123,3 +125,4 @@
+ }
+
+
++#endif