hal ChangeLog,1.641,1.642 configure.in,1.103,1.104

Richard Hughes hughsient at freedesktop.org
Tue Sep 27 02:42:14 PDT 2005


Update of /cvs/hal/hal
In directory gabe:/tmp/cvs-serv20732

Modified Files:
	ChangeLog configure.in 
Log Message:
Replace kernel-style datatypes (like _u8 and __s16) with their appropriate standard datatype.

Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.641
retrieving revision 1.642
diff -u -d -r1.641 -r1.642
--- ChangeLog	26 Sep 2005 17:09:34 -0000	1.641
+++ ChangeLog	27 Sep 2005 09:42:12 -0000	1.642
@@ -1,3 +1,52 @@
+2005-09-27  Richard Hughes <richard at hughsie.com>
+
+	* Apply patch from Martin Pitt <martin at piware.de> to fix the build on
+	AMD64 by replacing kernel-style datatypes (like _u8 and __s16) with
+	their appropriate standard datatype (uint8_t and int16_t).
+	Also change to use <stdint.h> instead of <sys/types.h> for maximum 
+	portability.
+
+	* agents/linux26/sysfs/hal_monitor.c:
+	* agents/linux26/sysfs/libsysfs/libsysfs.h:
+	* configure.in:
+	* drive_id/ata.c:
+	* drive_id/drive_id.c:
+	* drive_id/scsi.c:
+	* drive_id/util.c:
+	* hald/hald.c:
+	* hald/hald_dbus.c:
+	* hald/hald_test.c:
+	* hald/hald_test_libhal.c:
+	* hald/linux2/addons/addon-acpi.c:
+	* hald/linux2/addons/addon-hid-ups.c:
+	* hald/linux2/addons/addon-pmu.c:
+	* hald/linux2/addons/addon-storage.c:
+	* hald/linux2/blockdev.c:
+	* hald/linux2/classdev.c:
+	* hald/linux2/coldplug.c:
+	* hald/linux2/hotplug.c:
+	* hald/linux2/ids.c:
+	* hald/linux2/osspec.c:
+	* hald/linux2/pcmcia_cs.h:
+	* hald/linux2/pcmcia_utils.h:
+	* hald/linux2/physdev.c:
+	* hald/linux2/probing/linux_dvd_rw_utils.c:
+	* hald/linux2/probing/probe-hiddev.c:
+	* hald/linux2/probing/probe-input.c:
+	* hald/linux2/probing/probe-pc-floppy.c:
+	* hald/linux2/probing/probe-printer.c:
+	* hald/linux2/probing/probe-smbios.c:
+	* hald/linux2/probing/probe-storage.c:
+	* hald/linux2/probing/probe-volume.c:
+	* hald/util.c:
+	* tools/fstab-sync.c:
+	* tools/linux/add_selinux.c:
+	* tools/linux/hal_hotplug.c:
+	* volume_id/mac.c:
+	* volume_id/ocfs2.c:
+	* volume_id/reiserfs.c:
+	* volume_id/sysv.c:
+
 2005-09-26  Richard Hughes <richard at hughsie.com>
 
 	* tools/hal-system-lcd-{get|set}-brightness: use the raw values in the

Index: configure.in
===================================================================
RCS file: /cvs/hal/hal/configure.in,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- configure.in	31 Aug 2005 16:37:02 -0000	1.103
+++ configure.in	27 Sep 2005 09:42:12 -0000	1.104
@@ -35,17 +35,6 @@
 
 AC_CHECK_HEADERS([sys/ioccom.h])
 
-AC_CHECK_HEADERS([asm/types.h],,
-                 [AC_DEFINE(__s8,  int8_t,   [Signed 8 bits type])
-                  AC_DEFINE(__u8,  uint8_t,  [Unsigned 8 bits type])
-                  AC_DEFINE(__s16, int16_t,  [Signed 16 bits type])
-                  AC_DEFINE(__u16, uint16_t, [Unsigned 16 bits type])
-                  AC_DEFINE(__s32, int32_t,  [Signed 32 bits type])
-                  AC_DEFINE(__u32, uint32_t, [Unsigned 32 bits type])
-                  AC_DEFINE(__s64, int64_t,  [Signed 64 bits type])
-                  AC_DEFINE(__u64, uint64_t, [Unsigned 64 bits type])],
-			   [#include <sys/types.h>])
-
 AC_ARG_WITH(os-type,     [  --with-os-type=<os>     Distribution or OS (redhat)])
 AC_ARG_WITH(pid-file,    [  --with-pid-file=<file>  PID file for HAL daemon])
 AC_ARG_WITH(hwdata,[  --with-hwdata=<dir>     where PCI and USB IDs are found (auto)])




More information about the hal-commit mailing list