diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-07-27 10:45:02 +0200 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-07-27 10:45:02 +0200 |
commit | 42dd254f5937274f164a5a7c5fb3c1f80e38e7af (patch) | |
tree | 9d2f1aa0333e04af8493d6a5f533b6e243bf5d2b /package | |
parent | 7f0a66667a815bb8e28b4c8b93666b92a667b485 (diff) |
full build on Darwin fixes
Diffstat (limited to 'package')
93 files changed, 8073 insertions, 1195 deletions
diff --git a/package/bluez/Makefile b/package/bluez/Makefile index a4fa983e3..092cd03ac 100644 --- a/package/bluez/Makefile +++ b/package/bluez/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= bluez -PKG_VERSION:= 4.96 +PKG_VERSION:= 4.101 PKG_RELEASE:= 1 -PKG_MD5SUM:= 296111afac49e3f9035085ac14daf518 +PKG_MD5SUM:= fb42cb7038c380eb0e2fa208987c96ad PKG_DESCR:= bluetooth libraries and applications PKG_SECTION:= bluetooth PKG_DEPENDS:= kmod-bt libusb glib dbus diff --git a/package/bluez/patches/patch-ltmain_sh b/package/bluez/patches/patch-ltmain_sh deleted file mode 100644 index 650de61e1..000000000 --- a/package/bluez/patches/patch-ltmain_sh +++ /dev/null @@ -1,11 +0,0 @@ ---- bluez-4.89.orig/ltmain.sh 2011-02-20 15:49:33.000000000 +0100 -+++ bluez-4.89/ltmain.sh 2011-03-03 22:50:01.000000000 +0100 -@@ -4765,7 +4765,7 @@ func_mode_link () - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC - # @file GCC response files - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) -+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto*) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - func_append compile_command " $arg" diff --git a/package/bluez/patches/patch-scripts_bluetooth_rules b/package/bluez/patches/patch-scripts_bluetooth_rules deleted file mode 100644 index 348da2486..000000000 --- a/package/bluez/patches/patch-scripts_bluetooth_rules +++ /dev/null @@ -1,9 +0,0 @@ ---- bluez-4.89.orig/scripts/bluetooth.rules 2011-02-20 15:49:58.000000000 +0100 -+++ bluez-4.89/scripts/bluetooth.rules 2011-03-03 22:48:19.000000000 +0100 -@@ -1,4 +1,4 @@ - # Run helper every time a Bluetooth device appears - # On remove actions, bluetoothd should go away by itself --ACTION=="add", SUBSYSTEM=="bluetooth", RUN+="/usr/local/sbin/bluetoothd --udev" --ACTION=="change", SUBSYSTEM=="bluetooth", RUN+="/usr/local/sbin/bluetoothd --udev" -+ACTION=="add", SUBSYSTEM=="bluetooth", RUN+="/usr/sbin/bluetoothd --udev" -+ACTION=="change", SUBSYSTEM=="bluetooth", RUN+="/usr/sbin/bluetoothd --udev" diff --git a/package/bzr/Makefile b/package/bzr/Makefile index a1af88c2e..c6b3bcb5a 100644 --- a/package/bzr/Makefile +++ b/package/bzr/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= bzr PKG_VERSION:= 2.5.1 PKG_RELEASE:= 1 -PKG_MD5SUM:= ce62de3329096e384967e5f1a65658db +PKG_MD5SUM:= ac5079858364a046071000d5cdccb67b PKG_DESCR:= bazaar PKG_SECTION:= scm PKG_BUILDDEP:= python2 diff --git a/package/conntrack-tools/Makefile b/package/conntrack-tools/Makefile index 2ded1f78b..940e1772d 100644 --- a/package/conntrack-tools/Makefile +++ b/package/conntrack-tools/Makefile @@ -4,13 +4,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:= conntrack-tools -PKG_VERSION:= 1.0.0 +PKG_VERSION:= 1.2.1 PKG_RELEASE:= 1 -PKG_MD5SUM:= 5add24d4761baf17af630d5627a71752 +PKG_MD5SUM:= 48d414cb7a354001babf184ae6c16db9 PKG_DESCR:= Connection tracking userspace tools PKG_SECTION:= firewall -PKG_DEPENDS:= libnetfilter-conntrack -PKG_BUILDDEP:= libnetfilter_conntrack +PKG_DEPENDS:= libnetfilter-conntrack libnetfilter-cttimeout libmnl +PKG_BUILDDEP:= libnetfilter_conntrack libnetfilter_cttimeout libmnl PKG_URL:= http://conntrack-tools.netfilter.org/ PKG_SITES:= http://www.netfilter.org/projects/conntrack-tools/files/ diff --git a/package/dansguardian/Makefile b/package/dansguardian/Makefile index c50c849a6..d7991c2d7 100644 --- a/package/dansguardian/Makefile +++ b/package/dansguardian/Makefile @@ -20,7 +20,7 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,DANSGUARDIAN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -LIBRARIES:=-nodefaultlibs -luClibc++ -lgcc -lm -lc +LIBRARIES:=-nodefaultlibs -luClibc++ -lgcc -lm -lc -lgcc_s ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y) LIBRARIES+=-lssp endif diff --git a/package/dillo/Makefile b/package/dillo/Makefile index de7c1ba29..fd30af5c2 100644 --- a/package/dillo/Makefile +++ b/package/dillo/Makefile @@ -25,7 +25,7 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,DILLO,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -TARGET_LDFLAGS+= -liconv +TARGET_LDFLAGS+= -liconv -lpng post-install: $(INSTALL_DIR) $(IDIR_DILLO)/usr/bin diff --git a/package/dmidecode/patches/patch-Makefile.orig b/package/dmidecode/patches/patch-Makefile.orig deleted file mode 100644 index cf37262cb..000000000 --- a/package/dmidecode/patches/patch-Makefile.orig +++ /dev/null @@ -1,22 +0,0 @@ ---- dmidecode-2.11.orig/Makefile 2010-10-11 16:08:16.000000000 +0200 -+++ dmidecode-2.11/Makefile 2011-10-17 19:22:27.000000000 +0200 -@@ -12,8 +12,8 @@ - # (at your option) any later version. - # - --CC = gcc --CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ -+CC ?= gcc -+CFLAGS ?= -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ - -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef - #CFLAGS += -DBIGENDIAN - #CFLAGS += -DALIGNMENT_WORKAROUND -@@ -26,7 +26,7 @@ CFLAGS += -O2 - LDFLAGS = - - DESTDIR = --prefix = /usr/local -+prefix = /usr - sbindir = $(prefix)/sbin - mandir = $(prefix)/share/man - man8dir = $(mandir)/man8 diff --git a/package/drbd/Makefile b/package/drbd/Makefile index c22d385ac..b8d0cba91 100644 --- a/package/drbd/Makefile +++ b/package/drbd/Makefile @@ -4,20 +4,22 @@ include $(TOPDIR)/rules.mk PKG_NAME:= drbd -PKG_VERSION:= 8.3.10 +PKG_VERSION:= 8.4.1 PKG_RELEASE:= 1 -PKG_MD5SUM:= 7d80edc2da10de5bfffe0ca9e9996fed +PKG_MD5SUM:= 3af0cc49ee0b5005ea108c5ba92aa755 PKG_DESCR:= DRBD admin tools PKG_SECTION:= fs PKG_URL:= http://www.drbd.org/ -PKG_SITES:= http://oss.linbit.com/drbd/8.3/ +PKG_SITES:= http://oss.linbit.com/drbd/8.4/ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,DRBD,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +XAKE_FLAGS+= GENETLINK_H=$(STAGING_DIR)/usr/include/linux/genetlink.h CONFIGURE_ARGS+= --with-distro=generic \ --with-pacemaker \ + --without-heartbeat \ --without-km \ --without-xen \ --without-udev diff --git a/package/drbd/patches/patch-configure b/package/drbd/patches/patch-configure index 67bff21ce..ac69badd6 100644 --- a/package/drbd/patches/patch-configure +++ b/package/drbd/patches/patch-configure @@ -1,6 +1,6 @@ ---- drbd-8.3.10.orig/configure 2011-01-28 12:17:35.000000000 +0100 -+++ drbd-8.3.10/configure 2011-05-25 12:54:02.000000000 +0200 -@@ -3368,7 +3368,7 @@ fi +--- drbd-8.4.1.orig/configure 2011-12-20 12:43:14.000000000 +0100 ++++ drbd-8.4.1/configure 2012-07-24 23:02:23.000000000 +0200 +@@ -3389,7 +3389,7 @@ fi cat >>confdefs.h <<_ACEOF diff --git a/package/drbd/patches/patch-drbd_Makefile b/package/drbd/patches/patch-drbd_Makefile index 62f61cab4..753454cd1 100644 --- a/package/drbd/patches/patch-drbd_Makefile +++ b/package/drbd/patches/patch-drbd_Makefile @@ -1,19 +1,13 @@ ---- drbd-8.3.10.orig/drbd/Makefile 2011-01-26 14:57:59.000000000 +0100 -+++ drbd-8.3.10/drbd/Makefile 2011-10-23 10:22:50.000000000 +0200 -@@ -65,7 +65,6 @@ else - - # for some reason some of the commands below only work correctly in bash, - # and not in e.g. dash. I'm too lazy to fix it to be compatible. -- SHELL=/bin/bash - - DRBDSRC := $(shell pwd) - -@@ -133,7 +132,7 @@ else +--- drbd-8.4.1.orig/drbd/Makefile 2011-11-17 10:01:55.000000000 +0100 ++++ drbd-8.4.1/drbd/Makefile 2012-07-24 23:03:11.000000000 +0200 +@@ -116,8 +116,8 @@ else + else \ grep return $@ ; \ fi ; \ - echo -e "\t\t\" build by $$USER@$$HOSTNAME, `date "+%F %T"`\";\n}"; \ +- echo -e "\t\t\" build by $$USER@$$HOSTNAME, `date "+%F %T"`\";\n}"; \ - mv --force $@.new $@ -+ mv -f $@.new $@ ++ printf "\t\t\" build by $$USER@$$HOSTNAME, `date "+%F %T"`\";\n}"; \ ++ mv $@.new $@ kbuild: drbd_buildtag.c @rm -f .drbd_kernelrelease* diff --git a/package/drbd/patches/patch-drbd_drbd_buildtag_c b/package/drbd/patches/patch-drbd_drbd_buildtag_c index 425a04abe..86dd50121 100644 --- a/package/drbd/patches/patch-drbd_drbd_buildtag_c +++ b/package/drbd/patches/patch-drbd_drbd_buildtag_c @@ -1,9 +1,11 @@ ---- drbd-8.3.10.orig/drbd/drbd_buildtag.c 2011-01-28 12:17:35.000000000 +0100 -+++ drbd-8.3.10/drbd/drbd_buildtag.c 2011-05-23 17:11:52.000000000 +0200 +--- drbd-8.4.1.orig/drbd/drbd_buildtag.c 2011-12-20 12:43:15.000000000 +0100 ++++ drbd-8.4.1/drbd/drbd_buildtag.c 2012-07-24 23:03:27.000000000 +0200 @@ -3,5 +3,5 @@ const char *drbd_buildtag(void) { - return "GIT-hash: 5c0b0469666682443d4785d90a2c603378f9017b" -- " build by phil@fat-tyre, 2011-01-28 12:17:35"; -+ " build by wbx@neon, 2011-05-23 17:11:52"; - } + return "GIT-hash: 91b4c048c1a0e06777b5f65d312b38d47abaea80" +- " build by phil@fat-tyre, 2011-12-20 12:43:15"; +-} ++ " build by wbx@neon, 2012-07-24 23:03:27"; ++} +\ No newline at end of file diff --git a/package/drbd/patches/patch-user_Makefile_in b/package/drbd/patches/patch-user_Makefile_in deleted file mode 100644 index 9471b2aa0..000000000 --- a/package/drbd/patches/patch-user_Makefile_in +++ /dev/null @@ -1,24 +0,0 @@ ---- drbd-8.3.10.orig/user/Makefile.in 2011-01-26 14:57:59.000000000 +0100 -+++ drbd-8.3.10/user/Makefile.in 2011-05-23 17:11:50.000000000 +0200 -@@ -73,7 +73,7 @@ drbd_strings.c: ../drbd/drbd_strings.c - cp $^ $@ - - drbdadm: $(drbdadm-obj) -- $(CC) -o $@ $^ -+ $(CC) $(LDFLAGS) -o $@ $^ - - drbdadm_scanner.c: drbdadm_scanner.fl drbdadm_parser.h - flex -s -odrbdadm_scanner.c drbdadm_scanner.fl -@@ -82,10 +82,10 @@ drbdmeta_scanner.c: drbdmeta_scanner.fl - flex -s -odrbdmeta_scanner.c drbdmeta_scanner.fl - - drbdsetup: $(drbdsetup-obj) -- $(CC) -o $@ $^ -+ $(CC) $(LDFLAGS) -o $@ $^ - - drbdmeta: $(drbdmeta-obj) -- $(CC) -o $@ $^ -+ $(CC) $(LDFLAGS) -o $@ $^ - - clean: - rm -f drbdadm_scanner.c drbdmeta_scanner.c diff --git a/package/e2fsprogs/Makefile b/package/e2fsprogs/Makefile index f198e74f5..0d855ac99 100644 --- a/package/e2fsprogs/Makefile +++ b/package/e2fsprogs/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= e2fsprogs -PKG_VERSION:= 1.41.14 -PKG_RELEASE:= 4 -PKG_MD5SUM:= 05f70470aea2ef7efbb0845b2b116720 +PKG_VERSION:= 1.42.4 +PKG_RELEASE:= 1 +PKG_MD5SUM:= b6e296f210d642361b7394437ff0f318 PKG_DESCR:= Ext2/3/4 filesystem utilities PKG_SECTION:= fs PKG_DEPENDS:= libcom-err libuuid libblkid libpthread @@ -58,7 +58,7 @@ $(eval $(call PKG_template,MKE2FS,mke2fs,${PKG_VERSION}-${PKG_RELEASE},$(PKGSS_M $(eval $(call PKG_template,E2FSCK,e2fsck,${PKG_VERSION}-${PKG_RELEASE},$(PKGSS_E2FSCK),${PKGSD_E2FSCK},${PKGSC_E2FSCK})) CONFIGURE_ARGS+= --enable-elf-shlibs --disable-rpath \ - --disable-libuuid + --disable-libuuid --disable-libblkid INSTALL_TARGET+= install-libs TARGET_LDFLAGS+= -lpthread TARGET_CFLAGS+= $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include diff --git a/package/e2fsprogs/patches/patch-debugfs_dump_c b/package/e2fsprogs/patches/patch-debugfs_dump_c index ad28d3c02..7e2868281 100644 --- a/package/e2fsprogs/patches/patch-debugfs_dump_c +++ b/package/e2fsprogs/patches/patch-debugfs_dump_c @@ -1,6 +1,6 @@ ---- e2fsprogs-1.41.14.orig/debugfs/dump.c 2009-08-13 03:39:57.000000000 +0200 -+++ e2fsprogs-1.41.14/debugfs/dump.c 2010-12-25 22:30:02.000000000 +0100 -@@ -19,7 +19,6 @@ +--- e2fsprogs-1.42.4.orig/debugfs/dump.c 2012-05-29 03:29:43.000000000 +0200 ++++ e2fsprogs-1.42.4/debugfs/dump.c 2012-07-26 18:48:09.000000000 +0200 +@@ -22,7 +22,6 @@ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> @@ -8,7 +8,7 @@ #ifdef HAVE_GETOPT_H #include <getopt.h> #else -@@ -67,7 +66,6 @@ static mode_t mode_xlate(__u16 lmode) +@@ -70,7 +69,6 @@ static mode_t mode_xlate(__u16 lmode) static void fix_perms(const char *cmd, const struct ext2_inode *inode, int fd, const char *name) { @@ -16,7 +16,7 @@ int i; if (fd != -1) -@@ -90,11 +88,6 @@ static void fix_perms(const char *cmd, c +@@ -93,11 +91,6 @@ static void fix_perms(const char *cmd, c if (fd != -1) close(fd); diff --git a/package/e2fsprogs/patches/patch-debugfs_logdump_c b/package/e2fsprogs/patches/patch-debugfs_logdump_c index 07155d7b6..bc00efb0d 100644 --- a/package/e2fsprogs/patches/patch-debugfs_logdump_c +++ b/package/e2fsprogs/patches/patch-debugfs_logdump_c @@ -1,6 +1,6 @@ ---- e2fsprogs-1.41.14.orig/debugfs/logdump.c 2010-12-22 16:49:20.000000000 +0100 -+++ e2fsprogs-1.41.14/debugfs/logdump.c 2010-12-25 22:31:30.000000000 +0100 -@@ -21,7 +21,6 @@ +--- e2fsprogs-1.42.4.orig/debugfs/logdump.c 2012-06-04 18:42:23.000000000 +0200 ++++ e2fsprogs-1.42.4/debugfs/logdump.c 2012-07-26 18:48:09.000000000 +0200 +@@ -22,7 +22,6 @@ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> diff --git a/package/e2fsprogs/patches/patch-debugfs_set_fields_c b/package/e2fsprogs/patches/patch-debugfs_set_fields_c index 985eff51e..6168cd0c5 100644 --- a/package/e2fsprogs/patches/patch-debugfs_set_fields_c +++ b/package/e2fsprogs/patches/patch-debugfs_set_fields_c @@ -1,6 +1,6 @@ ---- e2fsprogs-1.41.14.orig/debugfs/set_fields.c 2010-12-22 16:49:20.000000000 +0100 -+++ e2fsprogs-1.41.14/debugfs/set_fields.c 2010-12-25 22:25:52.000000000 +0100 -@@ -33,7 +33,6 @@ +--- e2fsprogs-1.42.4.orig/debugfs/set_fields.c 2012-06-04 18:42:23.000000000 +0200 ++++ e2fsprogs-1.42.4/debugfs/set_fields.c 2012-07-26 18:48:09.000000000 +0200 +@@ -34,7 +34,6 @@ #include <strings.h> #endif #include <fcntl.h> diff --git a/package/e2fsprogs/patches/patch-misc_Makefile_in b/package/e2fsprogs/patches/patch-misc_Makefile_in index 504b975b9..46f2510c6 100644 --- a/package/e2fsprogs/patches/patch-misc_Makefile_in +++ b/package/e2fsprogs/patches/patch-misc_Makefile_in @@ -1,6 +1,6 @@ ---- e2fsprogs-1.41.14.orig/misc/Makefile.in 2010-12-22 16:49:20.000000000 +0100 -+++ e2fsprogs-1.41.14/misc/Makefile.in 2011-12-05 19:36:48.078609219 +0100 -@@ -14,9 +14,6 @@ INSTALL = @INSTALL@ +--- e2fsprogs-1.42.4.orig/misc/Makefile.in 2012-06-04 18:49:49.000000000 +0200 ++++ e2fsprogs-1.42.4/misc/Makefile.in 2012-07-26 18:48:09.000000000 +0200 +@@ -17,9 +17,6 @@ INSTALL = @INSTALL@ @IMAGER_CMT@E2IMAGE_PROG= e2image @IMAGER_CMT@E2IMAGE_MAN= e2image.8 @@ -10,8 +10,8 @@ @BLKID_CMT@BLKID_PROG= blkid @BLKID_CMT@BLKID_MAN= blkid.8 -@@ -31,8 +28,8 @@ SMANPAGES= tune2fs.8 mklost+found.8 mke2 - logsave.8 filefrag.8 e2freefrag.8 e2undo.8 $(UUIDD_MAN) @FSCK_MAN@ +@@ -35,8 +32,8 @@ SMANPAGES= tune2fs.8 mklost+found.8 mke2 + $(UUIDD_MAN) $(E4DEFRAG_MAN) @FSCK_MAN@ FMANPAGES= mke2fs.conf.5 -UPROGS= chattr lsattr @UUID_CMT@ uuidgen @@ -21,7 +21,7 @@ LPROGS= @E2INITRD_PROG@ -@@ -41,8 +38,6 @@ MKLPF_OBJS= mklost+found.o +@@ -45,8 +42,6 @@ MKLPF_OBJS= mklost+found.o MKE2FS_OBJS= mke2fs.o util.o profile.o prof_err.o default_profile.o CHATTR_OBJS= chattr.o LSATTR_OBJS= lsattr.o @@ -30,7 +30,7 @@ DUMPE2FS_OBJS= dumpe2fs.o BADBLOCKS_OBJS= badblocks.o E2IMAGE_OBJS= e2image.o -@@ -58,8 +53,6 @@ PROFILED_MKE2FS_OBJS= profiled/mke2fs.o +@@ -63,8 +58,6 @@ PROFILED_MKE2FS_OBJS= profiled/mke2fs.o profiled/prof_err.o profiled/default_profile.o PROFILED_CHATTR_OBJS= profiled/chattr.o PROFILED_LSATTR_OBJS= profiled/lsattr.o @@ -39,7 +39,7 @@ PROFILED_DUMPE2FS_OBJS= profiled/dumpe2fs.o PROFILED_BADBLOCKS_OBJS= profiled/badblocks.o PROFILED_E2IMAGE_OBJS= profiled/e2image.o -@@ -75,7 +68,7 @@ XTRA_CFLAGS= -I$(srcdir)/../e2fsck -I. +@@ -78,7 +71,7 @@ PROFILED_E4DEFRAG_OBJS= profiled/e4defra SRCS= $(srcdir)/tune2fs.c $(srcdir)/mklost+found.c $(srcdir)/mke2fs.c \ $(srcdir)/chattr.c $(srcdir)/lsattr.c $(srcdir)/dumpe2fs.c \ $(srcdir)/badblocks.c $(srcdir)/fsck.c $(srcdir)/util.c \ diff --git a/package/e2fsprogs/patches/patch-misc_e2initrd_helper_c b/package/e2fsprogs/patches/patch-misc_e2initrd_helper_c index 152e4e0a2..736c1c948 100644 --- a/package/e2fsprogs/patches/patch-misc_e2initrd_helper_c +++ b/package/e2fsprogs/patches/patch-misc_e2initrd_helper_c @@ -1,6 +1,6 @@ ---- e2fsprogs-1.41.14.orig/misc/e2initrd_helper.c 2009-08-13 03:39:57.000000000 +0200 -+++ e2fsprogs-1.41.14/misc/e2initrd_helper.c 2010-12-25 22:33:06.000000000 +0100 -@@ -23,7 +23,6 @@ +--- e2fsprogs-1.42.4.orig/misc/e2initrd_helper.c 2012-03-18 19:18:33.000000000 +0100 ++++ e2fsprogs-1.42.4/misc/e2initrd_helper.c 2012-07-26 18:48:09.000000000 +0200 +@@ -24,7 +24,6 @@ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> diff --git a/package/e2fsprogs/patches/patch-misc_e2undo_c b/package/e2fsprogs/patches/patch-misc_e2undo_c index 2d1441220..bc9fdb619 100644 --- a/package/e2fsprogs/patches/patch-misc_e2undo_c +++ b/package/e2fsprogs/patches/patch-misc_e2undo_c @@ -1,7 +1,7 @@ optind seems to need unistd.h, not only getopt.h ---- e2fsprogs-1.41.12.orig/misc/e2undo.c 2010-05-14 00:59:49.000000000 +0200 -+++ e2fsprogs-1.41.12/misc/e2undo.c 2010-10-18 12:03:49.329511558 +0200 -@@ -19,6 +19,7 @@ +--- e2fsprogs-1.42.4.orig/misc/e2undo.c 2012-03-18 19:18:33.000000000 +0100 ++++ e2fsprogs-1.42.4/misc/e2undo.c 2012-07-26 18:48:09.000000000 +0200 +@@ -20,6 +20,7 @@ #if HAVE_ERRNO_H #include <errno.h> #endif diff --git a/package/e2fsprogs/patches/patch-util_symlinks_c b/package/e2fsprogs/patches/patch-util_symlinks_c new file mode 100644 index 000000000..a8011f907 --- /dev/null +++ b/package/e2fsprogs/patches/patch-util_symlinks_c @@ -0,0 +1,10 @@ +--- e2fsprogs-1.42.4.orig/util/symlinks.c 2012-05-15 04:04:19.000000000 +0200 ++++ e2fsprogs-1.42.4/util/symlinks.c 2012-07-26 18:50:03.000000000 +0200 +@@ -8,7 +8,6 @@ + #endif + #include <stdio.h> + #include <stdlib.h> +-#include <malloc.h> + #include <string.h> + #include <fcntl.h> + #include <sys/param.h> diff --git a/package/epdfview/Makefile b/package/epdfview/Makefile index b0b760838..af7493ff3 100644 --- a/package/epdfview/Makefile +++ b/package/epdfview/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= epdfview PKG_VERSION:= 0.1.8 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 0c57d5e33adbfba047ffa13e570f79d6 PKG_DESCR:= lightweight pdf viewer PKG_SECTION:= x11/apps @@ -20,7 +20,7 @@ $(eval $(call PKG_template,EPDFVIEW,epdfview,$(PKG_VERSION)-${PKG_RELEASE},${PKG epdfview-install: $(INSTALL_DIR) $(IDIR_EPDFVIEW)/usr/share/epdfview - $(CP) $(WRKINST)/usr/share/epdfview/* + $(CP) $(WRKINST)/usr/share/epdfview/* \ $(IDIR_EPDFVIEW)/usr/share/epdfview $(INSTALL_DIR) $(IDIR_EPDFVIEW)/usr/bin $(INSTALL_BIN) $(WRKINST)/usr/bin/epdfview \ diff --git a/package/fltk/Makefile b/package/fltk/Makefile index 6be7c539b..9c730a2d1 100644 --- a/package/fltk/Makefile +++ b/package/fltk/Makefile @@ -17,6 +17,7 @@ PKG_CXX:= LIBFLTK PKG_SUBPKGS:= LIBFLTK PKG_ARCH_DEPENDS:= x86 x86_64 mips arm +PKG_HOST_DEPENDS:= !darwin DISTFILES:= ${PKG_NAME}-$(PKG_VERSION)-source.tar.gz diff --git a/package/fltk/patches/patch-configure b/package/fltk/patches/patch-configure new file mode 100644 index 000000000..0838cce60 --- /dev/null +++ b/package/fltk/patches/patch-configure @@ -0,0 +1,40 @@ +--- fltk-1.3.0.orig/configure 2011-06-16 17:50:44.000000000 +0200 ++++ fltk-1.3.0/configure 2012-07-24 21:03:27.000000000 +0200 +@@ -1792,15 +1792,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +-if test `uname` = Darwin; then +- if test "x$with_archflags" != x ; then +- CFLAGS="$CFLAGS $with_archflags" +- fi +- USEMMFILES="Yes" +-else +- USEMMFILES="No" +-fi +- + + FL_MAJOR_VERSION=1 + FL_MINOR_VERSION=3 +@@ -1812,7 +1803,7 @@ FL_API_VERSION=${FL_MAJOR_VERSION}.${FL_ + + + +-uname=`uname` ++uname=Linux + uversion=`uname -r | sed -e '1,$s/[^0-9]//g'` + if test "x$uname" = xIRIX64; then + uname="IRIX" +@@ -13177,12 +13168,6 @@ echo "Configuration Summary" + echo "-------------------------------------------------------------------------" + + case $uname_GUI in +- CYGWIN* | MINGW*) +- graphics="GDI" +- ;; +- Darwin*) +- graphics="Quartz" +- ;; + *) + graphics="X11" + if test x$enable_xft != xno; then diff --git a/package/icinga/patches/patch-configure.orig b/package/icinga/patches/patch-configure.orig deleted file mode 100644 index c27f5b420..000000000 --- a/package/icinga/patches/patch-configure.orig +++ /dev/null @@ -1,11 +0,0 @@ ---- icinga-1.6.1.orig/configure 2011-12-02 14:53:23.000000000 +0100 -+++ icinga-1.6.1/configure 2011-12-02 23:41:56.000000000 +0100 -@@ -5154,7 +5154,7 @@ cat >>confdefs.h <<_ACEOF - #define DEFAULT_NAGIOS_GROUP "$icinga_grp" - _ACEOF - --INSTALL_OPTS="-o $icinga_user -g $icinga_grp" -+#INSTALL_OPTS="-o $icinga_user -g $icinga_grp" - - - diff --git a/package/ipvsadm/patches/patch-Makefile.orig b/package/ipvsadm/patches/patch-Makefile.orig deleted file mode 100644 index 95c55e00a..000000000 --- a/package/ipvsadm/patches/patch-Makefile.orig +++ /dev/null @@ -1,43 +0,0 @@ ---- ipvsadm-1.26.orig/Makefile 2011-02-08 01:24:23.000000000 +0100 -+++ ipvsadm-1.26/Makefile 2012-07-20 14:42:03.000000000 +0200 -@@ -35,7 +35,7 @@ ARCH = $(shell uname -m) - RPMSOURCEDIR = $(shell rpm --eval '%_sourcedir') - RPMSPECDIR = $(shell rpm --eval '%_specdir') - --CC = gcc -+CC ?= gcc - INCLUDE = - SBIN = $(BUILD_ROOT)/sbin - MANDIR = usr/man -@@ -46,9 +46,9 @@ INSTALL = install - STATIC_LIBS = libipvs/libipvs.a - - ifeq "${ARCH}" "sparc64" -- CFLAGS = -Wall -Wunused -Wstrict-prototypes -g -m64 -pipe -mcpu=ultrasparc -mcmodel=medlow -+ CFLAGS ?= -Wall -Wunused -Wstrict-prototypes -g -m64 -pipe -mcpu=ultrasparc -mcmodel=medlow - else -- CFLAGS = -Wall -Wunused -Wstrict-prototypes -g -+ CFLAGS ?= -Wall -Wunused -Wstrict-prototypes -g - endif - - -@@ -81,7 +81,7 @@ endif - OBJS = ipvsadm.o config_stream.o dynamic_array.o - LIBS = $(POPT_LIB) - ifneq (0,$(HAVE_NL)) --LIBS += -lnl -+LIBS += -lnl-3 - endif - DEFINES = -DVERSION=\"$(VERSION)\" -DSCHEDULERS=\"$(SCHEDULERS)\" \ - -DPE_LIST=\"$(PE_LIST)\" $(POPT_DEFINE) -@@ -96,8 +96,8 @@ all: libs ipvsadm - libs: - make -C libipvs - --ipvsadm: $(OBJS) $(STATIC_LIBS) -- $(CC) $(CFLAGS) -o $@ $^ $(LIBS) -+ipvsadm: $(OBJS) -+ $(CC) $(CFLAGS) -o $@ $^ $(LIBS) -lpopt -lipvs -L./libipvs - - install: all - if [ ! -d $(SBIN) ]; then $(MKDIR) -p $(SBIN); fi diff --git a/package/ipvsadm/patches/patch-libipvs_Makefile.orig b/package/ipvsadm/patches/patch-libipvs_Makefile.orig deleted file mode 100644 index e40aa2c2a..000000000 --- a/package/ipvsadm/patches/patch-libipvs_Makefile.orig +++ /dev/null @@ -1,20 +0,0 @@ ---- ipvsadm-1.26.orig/libipvs/Makefile 2008-09-21 12:02:03.000000000 +0200 -+++ ipvsadm-1.26/libipvs/Makefile 2012-07-20 13:53:07.000000000 +0200 -@@ -1,7 +1,7 @@ - # Makefile for libipvs - --CC = gcc --CFLAGS = -Wall -Wunused -Wstrict-prototypes -g -fPIC -+CC ?= gcc -+CFLAGS ?= -Wall -Wunused -Wstrict-prototypes -g -fPIC - ifneq (0,$(HAVE_NL)) - CFLAGS += -DLIBIPVS_USE_NL - endif -@@ -19,6 +19,7 @@ all: $(STATIC_LIB) $(SHARED_LIB) - - $(STATIC_LIB): libipvs.o ip_vs_nl_policy.o - ar rv $@ $^ -+ ranlib $^ - - $(SHARED_LIB): libipvs.o ip_vs_nl_policy.o - $(CC) -shared -Wl,-soname,$@ -o $@ $^ diff --git a/package/kmod/Makefile b/package/kmod/Makefile new file mode 100644 index 000000000..1f98e095d --- /dev/null +++ b/package/kmod/Makefile @@ -0,0 +1,29 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= kmod +PKG_VERSION:= 5 +PKG_RELEASE:= 1 +PKG_MD5SUM:= b271c2ec54aba1c67bda63c8579d8c15 +PKG_DESCR:= kernel module loading library +PKG_SECTION:= libs +PKG_URL:= http://profusion.mobi/index.php +PKG_SITES:= http://packages.profusion.mobi/kmod/ + +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,KMOD,kmod,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +kmod-install: + $(INSTALL_DIR) $(IDIR_KMOD)/usr/bin + $(INSTALL_DIR) $(IDIR_KMOD)/usr/lib + $(INSTALL_BIN) $(WRKINST)/usr/bin/kmod \ + $(IDIR_KMOD)/usr/bin + $(CP) $(WRKINST)/usr/lib/libkmod*.so* \ + $(IDIR_KMOD)/usr/lib + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libavl/Makefile b/package/libavl/Makefile index 331daad78..d060dc08f 100755 --- a/package/libavl/Makefile +++ b/package/libavl/Makefile @@ -9,7 +9,7 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= 882c68ea7f71876ca110f3b84d7ab12d PKG_DESCR:= AVL library PKG_SECTION:= libs -PKG_SITES:= http://libavl.sourcearchive.com/downloads/0.3.5/ +PKG_SITES:= http://openadk.org/distfiles/ DISTFILES:= $(PKG_NAME)_$(PKG_VERSION).orig.tar.gz WRKDIST= $(WRKDIR)/avl-$(PKG_VERSION) diff --git a/package/libavl/patches/patch-GNUmakefile.orig b/package/libavl/patches/patch-GNUmakefile.orig deleted file mode 100644 index 88ca6044b..000000000 --- a/package/libavl/patches/patch-GNUmakefile.orig +++ /dev/null @@ -1,26 +0,0 @@ ---- avl-0.3.5.orig/GNUmakefile 2002-11-15 19:57:48.000000000 +0100 -+++ avl-0.3.5/GNUmakefile 2011-05-10 13:51:44.000000000 +0200 -@@ -15,7 +15,7 @@ CFLAGS ?= -O2 -fomit-frame-pointer -pipe - #CFLAGS = -g -pg -a -pipe -march=i686 -Wall - #LDFLAGS = -s - --prefix ?= /usr/local -+prefix ?= /usr - libdir ?= $(prefix)/lib - includedir ?= $(prefix)/include - includedir ?= /usr/include -@@ -41,13 +41,13 @@ clean: - - install: all - $(INSTALL) -d $(DESTDIR)$(libdir) -+ $(INSTALL) -d $(DESTDIR)$(includedir) - $(INSTALL) avl.h $(DESTDIR)$(includedir) - $(INSTALL) $(LIBRARIES) $(DESTDIR)$(libdir) - for i in $(LIBRARIES); do\ - $(LN) -sf $$i $(DESTDIR)$(libdir)/$${i%.*};\ - $(LN) -sf $${i%.*} $(DESTDIR)$(libdir)/$${i%.*.*};\ - done -- -$(LDCONFIG) - - .PHONY: clean install all - .PRECIOUS: %.h %.c diff --git a/package/libmnl/Makefile b/package/libmnl/Makefile new file mode 100644 index 000000000..f46fd874d --- /dev/null +++ b/package/libmnl/Makefile @@ -0,0 +1,25 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= libmnl +PKG_VERSION:= 1.0.3 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 7d95fc3bea3365bc03c48e484224f65f +PKG_DESCR:= minimalistic user-space library oriented to Netlink developers +PKG_SECTION:= libs +PKG_URL:= http://www.netfilter.org/projects/libmnl/ +PKG_SITES:= http://www.netfilter.org/projects/libmnl/files/ + +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LIBMNL,libmnl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +libmnl-install: + $(INSTALL_DIR) $(IDIR_LIBMNL)/usr/lib + $(CP) $(WRKINST)/usr/lib/libmnl.so* $(IDIR_LIBMNL)/usr/lib + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libnetfilter_acct/Makefile b/package/libnetfilter_acct/Makefile new file mode 100644 index 000000000..071f956de --- /dev/null +++ b/package/libnetfilter_acct/Makefile @@ -0,0 +1,28 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= libnetfilter_acct +PKG_VERSION:= 1.0.0 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 246e97feb9cf98f7ddf70d71a3813336 +PKG_DESCR:= API to extended accounting infrastructure. +PKG_SECTION:= libs +PKG_DEPENDS:= libnfnetlink +PKG_BUILDDEP:= libnfnetlink +PKG_URL:= http://www.netfilter.org/projects/libnetfilter_acct/ +PKG_SITES:= http://www.netfilter.org/projects/libnetfilter_acct/files/ + +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LIBNETFILTER_ACCT,libnetfilter-acct,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +post-install: + $(INSTALL_DIR) $(IDIR_LIBNETFILTER_ACCT)/usr/lib + $(CP) $(WRKINST)/usr/lib/libnetfilter_acct*so* \ + $(IDIR_LIBNETFILTER_ACCT)/usr/lib/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libnetfilter_conntrack/Makefile b/package/libnetfilter_conntrack/Makefile index 21da7747b..3bc39808b 100644 --- a/package/libnetfilter_conntrack/Makefile +++ b/package/libnetfilter_conntrack/Makefile @@ -4,9 +4,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:= libnetfilter_conntrack -PKG_VERSION:= 0.9.1 +PKG_VERSION:= 1.0.1 PKG_RELEASE:= 1 -PKG_MD5SUM:= b7506cbb7580433859809d8eac53a199 +PKG_MD5SUM:= 2d17d9da1404728d61a29b4a8338ad0c PKG_DESCR:= API to connection tracking state table PKG_SECTION:= libs PKG_DEPENDS:= libnfnetlink diff --git a/package/libnetfilter_cttimeout/Makefile b/package/libnetfilter_cttimeout/Makefile new file mode 100644 index 000000000..34ca45aa2 --- /dev/null +++ b/package/libnetfilter_cttimeout/Makefile @@ -0,0 +1,28 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= libnetfilter_cttimeout +PKG_VERSION:= 1.0.0 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 7697437fc9ebb6f6b83df56a633db7f9 +PKG_DESCR:= API to the fine-grain connection tracking timeout infrastructure +PKG_SECTION:= libs +PKG_DEPENDS:= libnfnetlink +PKG_BUILDDEP:= libnfnetlink +PKG_URL:= http://www.netfilter.org/projects/libnetfilter_cttimeout/ +PKG_SITES:= http://www.netfilter.org/projects/libnetfilter_cttimeout/files/ + +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LIBNETFILTER_CTTIMEOUT,libnetfilter-cttimeout,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +post-install: + $(INSTALL_DIR) $(IDIR_LIBNETFILTER_CTTIMEOUT)/usr/lib + $(CP) $(WRKINST)/usr/lib/libnetfilter_cttimeout*so* \ + $(IDIR_LIBNETFILTER_CTTIMEOUT)/usr/lib/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libnetfilter_queue/patches/patch-ltmain_sh b/package/libnetfilter_cttimeout/patches/patch-ltmain_sh index 98484bd51..98484bd51 100644 --- a/package/libnetfilter_queue/patches/patch-ltmain_sh +++ b/package/libnetfilter_cttimeout/patches/patch-ltmain_sh diff --git a/package/libnetfilter_log/Makefile b/package/libnetfilter_log/Makefile index 64047b3e5..6466169b2 100644 --- a/package/libnetfilter_log/Makefile +++ b/package/libnetfilter_log/Makefile @@ -4,9 +4,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:= libnetfilter_log -PKG_VERSION:= 1.0.0 +PKG_VERSION:= 1.0.1 PKG_RELEASE:= 1 -PKG_MD5SUM:= acdb188a1e7504e95636d0770ade393c +PKG_MD5SUM:= 2a4bb0654ae675a52d2e8d1c06090b94 PKG_DESCR:= API to packets that have been logged PKG_SECTION:= libs PKG_DEPENDS:= libnfnetlink diff --git a/package/libnetfilter_queue/Makefile b/package/libnetfilter_queue/Makefile index 00cc05462..0391a856a 100644 --- a/package/libnetfilter_queue/Makefile +++ b/package/libnetfilter_queue/Makefile @@ -4,9 +4,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:= libnetfilter_queue -PKG_VERSION:= 0.0.17 +PKG_VERSION:= 1.0.1 PKG_RELEASE:= 1 -PKG_MD5SUM:= 2cde35e678ead3a8f9eb896bf807a159 +PKG_MD5SUM:= 08b968cb2d36c24deb7f26a69f5d8602 PKG_DESCR:= API to packets that have been queued by the kernel packet filter PKG_SECTION:= libs PKG_DEPENDS:= libnfnetlink diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile index a7c384eb9..2fdb3dbc1 100644 --- a/package/libpcap/Makefile +++ b/package/libpcap/Makefile @@ -4,9 +4,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:= libpcap -PKG_VERSION:= 1.2.1 +PKG_VERSION:= 1.3.0 PKG_RELEASE:= 1 -PKG_MD5SUM:= 06046e0e81efc60566daf1cc96c77d46 +PKG_MD5SUM:= f78455a92622b7a3c05c58b6ad1cec7e PKG_DESCR:= a low-level packet capture library PKG_SECTION:= libs PKG_URL:= http://www.tcpdump.org/ diff --git a/package/libpri/Makefile b/package/libpri/Makefile index 5c93c4cc0..adf2ec2ce 100644 --- a/package/libpri/Makefile +++ b/package/libpri/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= libpri -PKG_VERSION:= 1.4.10.2 +PKG_VERSION:= 1.4.12 PKG_RELEASE:= 1 -PKG_MD5SUM:= dc1523d8ee027cd62f20fc6cc9727489 +PKG_MD5SUM:= 9de39b866f049cc20a4f431cc6245166 PKG_DESCR:= C implementation of the Primary Rate ISDN specification PKG_SECTION:= libs PKG_URL:= http://www.asterisk.org/ diff --git a/package/libpri/patches/patch-Makefile b/package/libpri/patches/patch-Makefile index 811ef59a9..7572d0646 100644 --- a/package/libpri/patches/patch-Makefile +++ b/package/libpri/patches/patch-Makefile @@ -1,6 +1,6 @@ ---- libpri-1.4.10.2.orig/Makefile 2008-08-06 20:20:51.000000000 +0200 -+++ libpri-1.4.10.2/Makefile 2011-04-01 14:39:42.851818751 +0200 -@@ -31,8 +31,8 @@ CC=gcc +--- libpri-1.4.12.orig/Makefile 2011-02-01 01:37:49.000000000 +0100 ++++ libpri-1.4.12/Makefile 2012-07-25 12:46:12.000000000 +0200 +@@ -28,8 +28,8 @@ CC=gcc GREP=grep AWK=awk @@ -11,32 +11,13 @@ # SONAME version; should be changed on every ABI change # please don't change it needlessly; it's perfectly fine to have a SONAME -@@ -43,7 +43,8 @@ STATIC_LIBRARY=libpri.a - DYNAMIC_LIBRARY:=libpri.so.$(SONAME) - STATIC_OBJS=copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o version.o - DYNAMIC_OBJS=copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo version.lo --CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS) +@@ -90,7 +90,8 @@ DYNAMIC_OBJS= \ + rose_qsig_mwi.lo \ + rose_qsig_name.lo \ + version.lo +-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_OPT) $(COVERAGE_CFLAGS) +CFLAGS?= -+CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC $(ALERTING) $(LIBPRI_COUNTERS) ++CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_OPT) $(COVERAGE_CFLAGS) INSTALL_PREFIX=$(DESTDIR) INSTALL_BASE=/usr libdir?=$(INSTALL_BASE)/lib -@@ -135,7 +136,7 @@ pridump: pridump.o - MAKE_DEPS= -MD -MT $@ -MF .$(subst /,_,$@).d -MP - - %.o: %.c -- $(CC) $(CFLAGS) $(MAKE_DEPS) -c -o $@ $< -+ $(CC) $(CPPFLAGS) $(CFLAGS) $(MAKE_DEPS) -c -o $@ $< - - %.lo: %.c - $(CC) $(CFLAGS) $(MAKE_DEPS) -c -o $@ $< -@@ -145,8 +146,7 @@ $(STATIC_LIBRARY): $(STATIC_OBJS) - ranlib $(STATIC_LIBRARY) - - $(DYNAMIC_LIBRARY): $(DYNAMIC_OBJS) -- $(CC) -shared $(SOFLAGS) -o $@ $(DYNAMIC_OBJS) -- $(LDCONFIG) $(LDCONFIG_FLAGS) . -+ $(CC) -shared $(SOFLAGS) $(LDFLAGS) -o $@ $(DYNAMIC_OBJS) - ln -sf libpri.so.$(SONAME) libpri.so - - version.c: FORCE diff --git a/package/libvpx/Makefile b/package/libvpx/Makefile index 243cca04f..646f85669 100644 --- a/package/libvpx/Makefile +++ b/package/libvpx/Makefile @@ -64,6 +64,12 @@ endif ifeq ($(ADK_TARGET_SYSTEM_BROADCOM_BCM47XX),y) CONFIGURE_ARGS+= --target=mips32-linux-gcc endif +ifeq ($(ADK_TARGET_SYSTEM_QEMU_MIPSEL),y) +CONFIGURE_ARGS+= --target=mips32-linux-gcc +endif +ifeq ($(ADK_TARGET_SYSTEM_QEMU_MIPS),y) +CONFIGURE_ARGS+= --target=mips32-linux-gcc +endif CONFIGURE_ARGS+= --prefix=/usr \ --disable-install-docs \ --disable-install-bins \ diff --git a/package/mdadm/Makefile b/package/mdadm/Makefile index b65095475..ab9eaf3a3 100644 --- a/package/mdadm/Makefile +++ b/package/mdadm/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= mdadm -PKG_VERSION:= 3.1.1 +PKG_VERSION:= 3.2.5 PKG_RELEASE:= 1 -PKG_MD5SUM:= 8bfeea282d21b5ef8e825122fb359457 +PKG_MD5SUM:= 3f5750c5b1b175f71199e93cd4e5aa2b PKG_DESCR:= tool for managing Linux Software RAID arrays PKG_SECTION:= fs PKG_URL:= http://neil.brown.name/blog/mdadm diff --git a/package/mdadm/patches/patch-Makefile b/package/mdadm/patches/patch-Makefile index b669eab54..7e11c9f8a 100644 --- a/package/mdadm/patches/patch-Makefile +++ b/package/mdadm/patches/patch-Makefile @@ -1,78 +1,35 @@ ---- mdadm-3.1.1.orig/Makefile 2009-11-16 23:55:41.000000000 +0100 -+++ mdadm-3.1.1/Makefile 2011-11-09 16:50:02.083123679 +0100 +--- mdadm-3.2.5.orig/Makefile 2012-05-18 09:10:03.000000000 +0200 ++++ mdadm-3.2.5/Makefile 2012-07-25 13:51:12.000000000 +0200 @@ -42,7 +42,7 @@ KLIBC_GCC = gcc -nostdinc -iwithprefix i CC = $(CROSS_COMPILE)gcc CXFLAGS = -ggdb --CWFLAGS = -Wall -Werror -Wstrict-prototypes -+CWFLAGS = -Wall -Wstrict-prototypes +-CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter ++CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter ifdef WARN_UNUSED CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O endif -@@ -58,7 +58,8 @@ CONFFILE = $(SYSCONFDIR)/mdadm.conf - CONFFILE2 = $(SYSCONFDIR)/mdadm/mdadm.conf - MAILCMD =/usr/sbin/sendmail -t - CONFFILEFLAGS = -DCONFFILE=\"$(CONFFILE)\" -DCONFFILE2=\"$(CONFFILE2)\" --CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) +@@ -76,7 +76,8 @@ FAILED_SLOTS_DIR = /run/mdadm/failed-slo + DIRFLAGS = -DMAP_DIR=\"$(MAP_DIR)\" -DMAP_FILE=\"$(MAP_FILE)\" + DIRFLAGS += -DMDMON_DIR=\"$(MDMON_DIR)\" + DIRFLAGS += -DFAILED_SLOTS_DIR=\"$(FAILED_SLOTS_DIR)\" +-CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) $(DIRFLAGS) +CFLAGS ?= -+CFLAGS += $(CWFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) ++CFLAGS += $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) $(DIRFLAGS) - # If you want a static binary, you might uncomment these - # LDFLAGS = -static -@@ -105,7 +106,7 @@ ASSEMBLE_SRCS += $(ASSEMBLE_AUTO_SRCS) - ASSEMBLE_FLAGS += -DMDASSEMBLE_AUTO - endif - --all : mdadm mdmon mdadm.man md.man mdadm.conf.man mdmon.man -+all : mdadm mdmon - - everything: all mdadm.static swap_super test_stripe \ - mdassemble mdassemble.auto mdassemble.static mdassemble.man \ -@@ -186,29 +187,36 @@ sha1.o : sha1.c sha1.h md5.h + # The glibc TLS ABI requires applications that call clone(2) to set up + # TLS data structures, use pthreads until mdmon implements this support +@@ -231,9 +232,10 @@ $(MON_OBJS) : $(INCL) mdmon.h + sha1.o : sha1.c sha1.h md5.h $(CC) $(CFLAGS) -DHAVE_STDINT_H -o sha1.o -c sha1.c - install : mdadm mdmon install-man install-udev +-install : mdadm mdmon install-man install-udev - $(INSTALL) -D $(STRIP) -m 755 mdadm $(DESTDIR)$(BINDIR)/mdadm - $(INSTALL) -D $(STRIP) -m 755 mdmon $(DESTDIR)$(BINDIR)/mdmon -+ $(INSTALL) -d $(DESTDIR)$(BINDIR) ++install : mdadm mdmon ++ $(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR) + $(INSTALL) -m 755 mdadm $(DESTDIR)$(BINDIR)/mdadm + $(INSTALL) -m 755 mdmon $(DESTDIR)$(BINDIR)/mdmon install-static : mdadm.static install-man -- $(INSTALL) -D $(STRIP) -m 755 mdadm.static $(DESTDIR)$(BINDIR)/mdadm -+ $(INSTALL) -d $(DESTDIR)$(BINDIR) -+ $(INSTALL) $(STRIP) -m 755 mdadm.static $(DESTDIR)$(BINDIR)/mdadm - - install-tcc : mdadm.tcc install-man -- $(INSTALL) -D $(STRIP) -m 755 mdadm.tcc $(DESTDIR)$(BINDIR)/mdadm -+ $(INSTALL) -d $(DESTDIR)$(BINDIR) -+ $(INSTALL) $(STRIP) -m 755 mdadm.tcc $(DESTDIR)$(BINDIR)/mdadm - - install-uclibc : mdadm.uclibc install-man -- $(INSTALL) -D $(STRIP) -m 755 mdadm.uclibc $(DESTDIR)$(BINDIR)/mdadm -+ $(INSTALL) -d $(DESTDIR)$(BINDIR) -+ $(INSTALL) $(STRIP) -m 755 mdadm.uclibc $(DESTDIR)$(BINDIR)/mdadm - - install-klibc : mdadm.klibc install-man -- $(INSTALL) -D $(STRIP) -m 755 mdadm.klibc $(DESTDIR)$(BINDIR)/mdadm -+ $(INSTALL) -d $(DESTDIR)$(BINDIR) -+ $(INSTALL) $(STRIP) -m 755 mdadm.klibc $(DESTDIR)$(BINDIR)/mdadm - - install-man: mdadm.8 md.4 mdadm.conf.5 mdmon.8 -- $(INSTALL) -D -m 644 mdadm.8 $(DESTDIR)$(MAN8DIR)/mdadm.8 -- $(INSTALL) -D -m 644 mdmon.8 $(DESTDIR)$(MAN8DIR)/mdmon.8 -- $(INSTALL) -D -m 644 md.4 $(DESTDIR)$(MAN4DIR)/md.4 -- $(INSTALL) -D -m 644 mdadm.conf.5 $(DESTDIR)$(MAN5DIR)/mdadm.conf.5 -+ $(INSTALL) -d $(DESTDIR)$(MAN8DIR) $(DESTDIR)$(MAN4DIR) $(DESTDIR)$(MAN5DIR) -+ $(INSTALL) -m 644 mdadm.8 $(DESTDIR)$(MAN8DIR)/mdadm.8 -+ $(INSTALL) -m 644 mdmon.8 $(DESTDIR)$(MAN8DIR)/mdmon.8 -+ $(INSTALL) -m 644 md.4 $(DESTDIR)$(MAN4DIR)/md.4 -+ $(INSTALL) -m 644 mdadm.conf.5 $(DESTDIR)$(MAN5DIR)/mdadm.conf.5 - - install-udev: udev-md-raid.rules -- $(INSTALL) -D -m 644 udev-md-raid.rules $(DESTDIR)/lib/udev/rules.d/64-md-raid.rules -+ $(INSTALL) -d $(DESTDIR)/lib/udev/rules.d/ -+ $(INSTALL) -m 644 udev-md-raid.rules $(DESTDIR)/lib/udev/rules.d/64-md-raid.rules - - uninstall: - rm -f $(DESTDIR)$(MAN8DIR)/mdadm.8 $(DESTDIR)$(MAN8DIR)/mdmon.8 $(DESTDIR)$(MAN4DIR)/md.4 $(DESTDIR)$(MAN5DIR)/mdadm.conf.5 $(DESTDIR)$(BINDIR)/mdadm + $(INSTALL) -D $(STRIP) -m 755 mdadm.static $(DESTDIR)$(BINDIR)/mdadm diff --git a/package/mdadm/patches/patch-platform-intel_c b/package/mdadm/patches/patch-platform-intel_c deleted file mode 100644 index 3102306e7..000000000 --- a/package/mdadm/patches/patch-platform-intel_c +++ /dev/null @@ -1,34 +0,0 @@ ---- mdadm-3.1.1.orig/platform-intel.c 2009-11-16 23:55:41.000000000 +0100 -+++ mdadm-3.1.1/platform-intel.c 2010-02-06 01:07:51.781825419 +0100 -@@ -47,6 +47,7 @@ struct sys_dev *find_driver_devices(cons - char path[256]; - char link[256]; - char *c; -+ char *rpath; - DIR *driver_dir; - struct dirent *de; - struct sys_dev *head = NULL; -@@ -87,7 +88,9 @@ struct sys_dev *find_driver_devices(cons - /* generate canonical path name for the device */ - sprintf(path, "/sys/bus/%s/drivers/%s/%s", - bus, driver, de->d_name); -- list->path = canonicalize_file_name(path); -+ -+ rpath = malloc(PATH_MAX); -+ list->path = realpath(path, rpath); - list->next = NULL; - } - closedir(driver_dir); -@@ -203,9 +206,11 @@ const struct imsm_orom *find_imsm_orom(v - char *devt_to_devpath(dev_t dev) - { - char device[40]; -+ char *rpath; - - sprintf(device, "/sys/dev/block/%d:%d/device", major(dev), minor(dev)); -- return canonicalize_file_name(device); -+ rpath = malloc(PATH_MAX); -+ return realpath(device, rpath); - } - - static char *diskfd_to_devpath(int fd) diff --git a/package/microperl/files/uconfig.h.mipsel b/package/microperl/files/uconfig.h.mipsel new file mode 100644 index 000000000..0d50f91aa --- /dev/null +++ b/package/microperl/files/uconfig.h.mipsel @@ -0,0 +1,4462 @@ +/* + * This file was produced by running the config_h.SH script, which + * gets its values from config.sh, which is generally produced by + * running Configure. + * + * Feel free to modify any of this as the need arises. Note, however, + * that running config_h.SH again will wipe out any changes you've made. + * For a more permanent change edit config.sh and rerun config_h.SH. + * + * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $ + */ + +/* + * Package name : perl5 + * Source directory : . + * Configuration time: Mon Sep 14 22:24:11 CEST 2009 + * Configured by : OpenADK + * Target system : linux linux 2.6.30.5 #4 smp fri sep 11 13:47:48 cest 2009 x86_64 unknown + */ + +#ifndef _config_h_ +#define _config_h_ + +/* LOC_SED: + * This symbol holds the complete pathname to the sed program. + */ +#define LOC_SED "/bin/sed" /**/ + +/* HAS_ALARM: + * This symbol, if defined, indicates that the alarm routine is + * available. + */ +#define HAS_ALARM /**/ + +/* HAS_BCMP: + * This symbol is defined if the bcmp() routine is available to + * compare blocks of memory. + */ +/*#define HAS_BCMP / **/ + +/* HAS_BCOPY: + * This symbol is defined if the bcopy() routine is available to + * copy blocks of memory. + */ +/*#define HAS_BCOPY / **/ + +/* HAS_BZERO: + * This symbol is defined if the bzero() routine is available to + * set a memory block to 0. + */ +/*#define HAS_BZERO / **/ + +/* HAS_CHOWN: + * This symbol, if defined, indicates that the chown routine is + * available. + */ +#define HAS_CHOWN /**/ + +/* HAS_CHROOT: + * This symbol, if defined, indicates that the chroot routine is + * available. + */ +#define HAS_CHROOT /**/ + +/* HAS_CHSIZE: + * This symbol, if defined, indicates that the chsize routine is available + * to truncate files. You might need a -lx to get this routine. + */ +/*#define HAS_CHSIZE / **/ + +/* HAS_CTERMID: + * This symbol, if defined, indicates that the ctermid routine is + * available to generate filename for terminal. + */ +#define HAS_CTERMID /**/ + +/* HAS_CUSERID: + * This symbol, if defined, indicates that the cuserid routine is + * available to get character login names. + */ +#define HAS_CUSERID /**/ + +/* HAS_DBL_DIG: + * This symbol, if defined, indicates that this system's <float.h> + * or <limits.h> defines the symbol DBL_DIG, which is the number + * of significant digits in a double precision number. If this + * symbol is not defined, a guess of 15 is usually pretty good. + */ +#define HAS_DBL_DIG /* */ + +/* HAS_DIFFTIME: + * This symbol, if defined, indicates that the difftime routine is + * available. + */ +#define HAS_DIFFTIME /**/ + +/* HAS_DLERROR: + * This symbol, if defined, indicates that the dlerror routine is + * available to return a string describing the last error that + * occurred from a call to dlopen(), dlclose() or dlsym(). + */ +/*#define HAS_DLERROR / **/ + +/* HAS_DUP2: + * This symbol, if defined, indicates that the dup2 routine is + * available to duplicate file descriptors. + */ +#define HAS_DUP2 /**/ + +/* HAS_FCHMOD: + * This symbol, if defined, indicates that the fchmod routine is available + * to change mode of opened files. If unavailable, use chmod(). + */ +#define HAS_FCHMOD /**/ + +/* HAS_FCHOWN: + * This symbol, if defined, indicates that the fchown routine is available + * to change ownership of opened files. If unavailable, use chown(). + */ +#define HAS_FCHOWN /**/ + +/* HAS_FCNTL: + * This symbol, if defined, indicates to the C program that + * the fcntl() function exists. + */ +#define HAS_FCNTL /**/ + +/* HAS_FGETPOS: + * This symbol, if defined, indicates that the fgetpos routine is + * available to get the file position indicator, similar to ftell(). + */ +#define HAS_FGETPOS /**/ + +/* HAS_FLOCK: + * This symbol, if defined, indicates that the flock routine is + * available to do file locking. + */ +#define HAS_FLOCK /**/ + +/* HAS_FORK: + * This symbol, if defined, indicates that the fork routine is + * available. + */ +#define HAS_FORK /**/ + +/* HAS_FSETPOS: + * This symbol, if defined, indicates that the fsetpos routine is + * available to set the file position indicator, similar to fseek(). + */ +#define HAS_FSETPOS /**/ + +/* HAS_GETTIMEOFDAY: + * This symbol, if defined, indicates that the gettimeofday() system + * call is available for a sub-second accuracy clock. Usually, the file + * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). + * The type "Timeval" should be used to refer to "struct timeval". + */ +#define HAS_GETTIMEOFDAY /**/ +#ifdef HAS_GETTIMEOFDAY +#define Timeval struct timeval /* Structure used by gettimeofday() */ +#endif + +/* HAS_GETGROUPS: + * This symbol, if defined, indicates that the getgroups() routine is + * available to get the list of process groups. If unavailable, multiple + * groups are probably not supported. + */ +#define HAS_GETGROUPS /**/ + +/* HAS_GETLOGIN: + * This symbol, if defined, indicates that the getlogin routine is + * available to get the login name. + */ +#define HAS_GETLOGIN /**/ + +/* HAS_GETPGID: + * This symbol, if defined, indicates to the C program that + * the getpgid(pid) function is available to get the + * process group id. + */ +#define HAS_GETPGID /**/ + +/* HAS_GETPGRP2: + * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) + * routine is available to get the current process group. + */ +/*#define HAS_GETPGRP2 / **/ + +/* HAS_GETPPID: + * This symbol, if defined, indicates that the getppid routine is + * available to get the parent process ID. + */ +#define HAS_GETPPID /**/ + +/* HAS_GETPRIORITY: + * This symbol, if defined, indicates that the getpriority routine is + * available to get a process's priority. + */ +#define HAS_GETPRIORITY /**/ + +/* HAS_INET_ATON: + * This symbol, if defined, indicates to the C program that the + * inet_aton() function is available to parse IP address "dotted-quad" + * strings. + */ +#define HAS_INET_ATON /**/ + +/* HAS_KILLPG: + * This symbol, if defined, indicates that the killpg routine is available + * to kill process groups. If unavailable, you probably should use kill + * with a negative process number. + */ +#define HAS_KILLPG /**/ + +/* HAS_LINK: + * This symbol, if defined, indicates that the link routine is + * available to create hard links. + */ +#define HAS_LINK /**/ + +/* HAS_LOCALECONV: + * This symbol, if defined, indicates that the localeconv routine is + * available for numeric and monetary formatting conventions. + */ +#define HAS_LOCALECONV /**/ + +/* HAS_LOCKF: + * This symbol, if defined, indicates that the lockf routine is + * available to do file locking. + */ +#define HAS_LOCKF /**/ + +/* HAS_LSTAT: + * This symbol, if defined, indicates that the lstat routine is + * available to do file stats on symbolic links. + */ +#define HAS_LSTAT /**/ + +/* HAS_MBLEN: + * This symbol, if defined, indicates that the mblen routine is available + * to find the number of bytes in a multibye character. + */ +#define HAS_MBLEN /**/ + +/* HAS_MBSTOWCS: + * This symbol, if defined, indicates that the mbstowcs routine is + * available to covert a multibyte string into a wide character string. + */ +#define HAS_MBSTOWCS /**/ + +/* HAS_MBTOWC: + * This symbol, if defined, indicates that the mbtowc routine is available + * to covert a multibyte to a wide character. + */ +#define HAS_MBTOWC /**/ + +/* HAS_MEMCMP: + * This symbol, if defined, indicates that the memcmp routine is available + * to compare blocks of memory. + */ +#define HAS_MEMCMP /**/ + +/* HAS_MEMCPY: + * This symbol, if defined, indicates that the memcpy routine is available + * to copy blocks of memory. + */ +#define HAS_MEMCPY /**/ + +/* HAS_MEMMOVE: + * This symbol, if defined, indicates that the memmove routine is available + * to copy potentially overlapping blocks of memory. This should be used + * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your + * own version. + */ +#define HAS_MEMMOVE /**/ + +/* HAS_MEMSET: + * This symbol, if defined, indicates that the memset routine is available + * to set blocks of memory. + */ +#define HAS_MEMSET /**/ + +/* HAS_MKDIR: + * This symbol, if defined, indicates that the mkdir routine is available + * to create directories. Otherwise you should fork off a new process to + * exec /bin/mkdir. + */ +#define HAS_MKDIR /**/ + +/* HAS_MKFIFO: + * This symbol, if defined, indicates that the mkfifo routine is + * available to create FIFOs. Otherwise, mknod should be able to + * do it for you. However, if mkfifo is there, mknod might require + * super-user privileges which mkfifo will not. + */ +#define HAS_MKFIFO /**/ + +/* HAS_MKTIME: + * This symbol, if defined, indicates that the mktime routine is + * available. + */ +#define HAS_MKTIME /**/ + +/* HAS_MSYNC: + * This symbol, if defined, indicates that the msync system call is + * available to synchronize a mapped file. + */ +#define HAS_MSYNC /**/ + +/* HAS_MUNMAP: + * This symbol, if defined, indicates that the munmap system call is + * available to unmap a region, usually mapped by mmap(). + */ +#define HAS_MUNMAP /**/ + +/* HAS_NICE: + * This symbol, if defined, indicates that the nice routine is + * available. + */ +#define HAS_NICE /**/ + +/* HAS_PATHCONF: + * This symbol, if defined, indicates that pathconf() is available + * to determine file-system related limits and options associated + * with a given filename. + */ +/* HAS_FPATHCONF: + * This symbol, if defined, indicates that pathconf() is available + * to determine file-system related limits and options associated + * with a given open file descriptor. + */ +#define HAS_PATHCONF /**/ +#define HAS_FPATHCONF /**/ + +/* HAS_PAUSE: + * This symbol, if defined, indicates that the pause routine is + * available to suspend a process until a signal is received. + */ +#define HAS_PAUSE /**/ + +/* HAS_PIPE: + * This symbol, if defined, indicates that the pipe routine is + * available to create an inter-process channel. + */ +#define HAS_PIPE /**/ + +/* HAS_READDIR: + * This symbol, if defined, indicates that the readdir routine is + * available to read directory entries. You may have to include + * <dirent.h>. See I_DIRENT. + */ +#define HAS_READDIR /**/ + +/* HAS_SEEKDIR: + * This symbol, if defined, indicates that the seekdir routine is + * available. You may have to include <dirent.h>. See I_DIRENT. + */ +#define HAS_SEEKDIR /**/ + +/* HAS_TELLDIR: + * This symbol, if defined, indicates that the telldir routine is + * available. You may have to include <dirent.h>. See I_DIRENT. + */ +#define HAS_TELLDIR /**/ + +/* HAS_REWINDDIR: + * This symbol, if defined, indicates that the rewinddir routine is + * available. You may have to include <dirent.h>. See I_DIRENT. + */ +#define HAS_REWINDDIR /**/ + +/* HAS_READLINK: + * This symbol, if defined, indicates that the readlink routine is + * available to read the value of a symbolic link. + */ +#define HAS_READLINK /**/ + +/* HAS_RENAME: + * This symbol, if defined, indicates that the rename routine is available + * to rename files. Otherwise you should do the unlink(), link(), unlink() + * trick. + */ +#define HAS_RENAME /**/ + +/* HAS_RMDIR: + * This symbol, if defined, indicates that the rmdir routine is + * available to remove directories. Otherwise you should fork off a + * new process to exec /bin/rmdir. + */ +#define HAS_RMDIR /**/ + +/* HAS_SELECT: + * This symbol, if defined, indicates that the select routine is + * available to select active file descriptors. If the timeout field + * is used, <sys/time.h> may need to be included. + */ +#define HAS_SELECT /**/ + +/* HAS_SETEGID: + * This symbol, if defined, indicates that the setegid routine is available + * to change the effective gid of the current program. + */ +#define HAS_SETEGID /**/ + +/* HAS_SETEUID: + * This symbol, if defined, indicates that the seteuid routine is available + * to change the effective uid of the current program. + */ +#define HAS_SETEUID /**/ + +/* HAS_SETLINEBUF: + * This symbol, if defined, indicates that the setlinebuf routine is + * available to change stderr or stdout from block-buffered or unbuffered + * to a line-buffered mode. + */ +#define HAS_SETLINEBUF /**/ + +/* HAS_SETLOCALE: + * This symbol, if defined, indicates that the setlocale routine is + * available to handle locale-specific ctype implementations. + */ +#define HAS_SETLOCALE /**/ + +/* HAS_SETPGID: + * This symbol, if defined, indicates that the setpgid(pid, gpid) + * routine is available to set process group ID. + */ +#define HAS_SETPGID /**/ + +/* HAS_SETPGRP2: + * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) + * routine is available to set the current process group. + */ +/*#define HAS_SETPGRP2 / **/ + +/* HAS_SETPRIORITY: + * This symbol, if defined, indicates that the setpriority routine is + * available to set a process's priority. + */ +#define HAS_SETPRIORITY /**/ + +/* HAS_SETREGID: + * This symbol, if defined, indicates that the setregid routine is + * available to change the real and effective gid of the current + * process. + */ +/* HAS_SETRESGID: + * This symbol, if defined, indicates that the setresgid routine is + * available to change the real, effective and saved gid of the current + * process. + */ +#define HAS_SETREGID /**/ +#define HAS_SETRESGID /**/ + +/* HAS_SETREUID: + * This symbol, if defined, indicates that the setreuid routine is + * available to change the real and effective uid of the current + * process. + */ +/* HAS_SETRESUID: + * This symbol, if defined, indicates that the setresuid routine is + * available to change the real, effective and saved uid of the current + * process. + */ +#define HAS_SETREUID /**/ +#define HAS_SETRESUID /**/ + +/* HAS_SETRGID: + * This symbol, if defined, indicates that the setrgid routine is available + * to change the real gid of the current program. + */ +/*#define HAS_SETRGID / **/ + +/* HAS_SETRUID: + * This symbol, if defined, indicates that the setruid routine is available + * to change the real uid of the current program. + */ +/*#define HAS_SETRUID / **/ + +/* HAS_SETSID: + * This symbol, if defined, indicates that the setsid routine is + * available to set the process group ID. + */ +#define HAS_SETSID /**/ + +/* HAS_STRCHR: + * This symbol is defined to indicate that the strchr()/strrchr() + * functions are available for string searching. If not, try the + * index()/rindex() pair. + */ +/* HAS_INDEX: + * This symbol is defined to indicate that the index()/rindex() + * functions are available for string searching. + */ +#define HAS_STRCHR /**/ +/*#define HAS_INDEX / **/ + +/* HAS_STRCOLL: + * This symbol, if defined, indicates that the strcoll routine is + * available to compare strings using collating information. + */ +#define HAS_STRCOLL /**/ + +/* HAS_STRTOD: + * This symbol, if defined, indicates that the strtod routine is + * available to provide better numeric string conversion than atof(). + */ +#define HAS_STRTOD /**/ + +/* HAS_STRTOL: + * This symbol, if defined, indicates that the strtol routine is available + * to provide better numeric string conversion than atoi() and friends. + */ +#define HAS_STRTOL /**/ + +/* HAS_STRXFRM: + * This symbol, if defined, indicates that the strxfrm() routine is + * available to transform strings. + */ +#define HAS_STRXFRM /**/ + +/* HAS_SYMLINK: + * This symbol, if defined, indicates that the symlink routine is available + * to create symbolic links. + */ +#define HAS_SYMLINK /**/ + +/* HAS_SYSCALL: + * This symbol, if defined, indicates that the syscall routine is + * available to call arbitrary system calls. If undefined, that's tough. + */ +#define HAS_SYSCALL /**/ + +/* HAS_SYSCONF: + * This symbol, if defined, indicates that sysconf() is available + * to determine system related limits and options. + */ +#define HAS_SYSCONF /**/ + +/* HAS_SYSTEM: + * This symbol, if defined, indicates that the system routine is + * available to issue a shell command. + */ +#define HAS_SYSTEM /**/ + +/* HAS_TCGETPGRP: + * This symbol, if defined, indicates that the tcgetpgrp routine is + * available to get foreground process group ID. + */ +#define HAS_TCGETPGRP /**/ + +/* HAS_TCSETPGRP: + * This symbol, if defined, indicates that the tcsetpgrp routine is + * available to set foreground process group ID. + */ +#define HAS_TCSETPGRP /**/ + +/* HAS_TRUNCATE: + * This symbol, if defined, indicates that the truncate routine is + * available to truncate files. + */ +#define HAS_TRUNCATE /**/ + +/* HAS_TZNAME: + * This symbol, if defined, indicates that the tzname[] array is + * available to access timezone names. + */ +#define HAS_TZNAME /**/ + +/* HAS_UMASK: + * This symbol, if defined, indicates that the umask routine is + * available to set and get the value of the file creation mask. + */ +#define HAS_UMASK /**/ + +/* HAS_USLEEP: + * This symbol, if defined, indicates that the usleep routine is + * available to let the process sleep on a sub-second accuracy. + */ +#define HAS_USLEEP /**/ + +/* HAS_WAIT4: + * This symbol, if defined, indicates that wait4() exists. + */ +#define HAS_WAIT4 /**/ + +/* HAS_WAITPID: + * This symbol, if defined, indicates that the waitpid routine is + * available to wait for child process. + */ +#define HAS_WAITPID /**/ + +/* HAS_WCSTOMBS: + * This symbol, if defined, indicates that the wcstombs routine is + * available to convert wide character strings to multibyte strings. + */ +#define HAS_WCSTOMBS /**/ + +/* HAS_WCTOMB: + * This symbol, if defined, indicates that the wctomb routine is available + * to covert a wide character to a multibyte. + */ +#define HAS_WCTOMB /**/ + +/* I_ARPA_INET: + * This symbol, if defined, indicates to the C program that it should + * include <arpa/inet.h> to get inet_addr and friends declarations. + */ +#define I_ARPA_INET /**/ + +/* I_DBM: + * This symbol, if defined, indicates that <dbm.h> exists and should + * be included. + */ +/* I_RPCSVC_DBM: + * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and + * should be included. + */ +/*#define I_DBM / **/ +/*#define I_RPCSVC_DBM / **/ + +/* I_DLFCN: + * This symbol, if defined, indicates that <dlfcn.h> exists and should + * be included. + */ +#define I_DLFCN /**/ + +/* I_FCNTL: + * This manifest constant tells the C program to include <fcntl.h>. + */ +/*#define I_FCNTL / **/ + +/* I_FLOAT: + * This symbol, if defined, indicates to the C program that it should + * include <float.h> to get definition of symbols like DBL_MAX or + * DBL_MIN, i.e. machine dependent floating point values. + */ +#define I_FLOAT /**/ + +/* I_GDBM: + * This symbol, if defined, indicates that <gdbm.h> exists and should + * be included. + */ +/*#define I_GDBM / **/ + +/* I_LIMITS: + * This symbol, if defined, indicates to the C program that it should + * include <limits.h> to get definition of symbols like WORD_BIT or + * LONG_MAX, i.e. machine dependant limitations. + */ +#define I_LIMITS /**/ + +/* I_LOCALE: + * This symbol, if defined, indicates to the C program that it should + * include <locale.h>. + */ +#define I_LOCALE /**/ + +/* I_MATH: + * This symbol, if defined, indicates to the C program that it should + * include <math.h>. + */ +#define I_MATH /**/ + +/* I_MEMORY: + * This symbol, if defined, indicates to the C program that it should + * include <memory.h>. + */ +/*#define I_MEMORY / **/ + +/* I_NET_ERRNO: + * This symbol, if defined, indicates that <net/errno.h> exists and + * should be included. + */ +/*#define I_NET_ERRNO / **/ + +/* I_NETINET_IN: + * This symbol, if defined, indicates to the C program that it should + * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. + */ +#define I_NETINET_IN /**/ + +/* I_SFIO: + * This symbol, if defined, indicates to the C program that it should + * include <sfio.h>. + */ +/*#define I_SFIO / **/ + +/* I_STDDEF: + * This symbol, if defined, indicates that <stddef.h> exists and should + * be included. + */ +#define I_STDDEF /**/ + +/* I_STDLIB: + * This symbol, if defined, indicates that <stdlib.h> exists and should + * be included. + */ +#define I_STDLIB /**/ + +/* I_STRING: + * This symbol, if defined, indicates to the C program that it should + * include <string.h> (USG systems) instead of <strings.h> (BSD systems). + */ +#define I_STRING /**/ + +/* I_SYS_DIR: + * This symbol, if defined, indicates to the C program that it should + * include <sys/dir.h>. + */ +#define I_SYS_DIR /**/ + +/* I_SYS_FILE: + * This symbol, if defined, indicates to the C program that it should + * include <sys/file.h> to get definition of R_OK and friends. + */ +#define I_SYS_FILE /**/ + +/* I_SYS_IOCTL: + * This symbol, if defined, indicates that <sys/ioctl.h> exists and should + * be included. Otherwise, include <sgtty.h> or <termio.h>. + */ +/* I_SYS_SOCKIO: + * This symbol, if defined, indicates the <sys/sockio.h> should be included + * to get socket ioctl options, like SIOCATMARK. + */ +#define I_SYS_IOCTL /**/ +/*#define I_SYS_SOCKIO / **/ + +/* I_SYS_NDIR: + * This symbol, if defined, indicates to the C program that it should + * include <sys/ndir.h>. + */ +/*#define I_SYS_NDIR / **/ + +/* I_SYS_PARAM: + * This symbol, if defined, indicates to the C program that it should + * include <sys/param.h>. + */ +#define I_SYS_PARAM /**/ + +/* I_SYS_RESOURCE: + * This symbol, if defined, indicates to the C program that it should + * include <sys/resource.h>. + */ +#define I_SYS_RESOURCE /**/ + +/* I_SYS_SELECT: + * This symbol, if defined, indicates to the C program that it should + * include <sys/select.h> in order to get definition of struct timeval. + */ +#define I_SYS_SELECT /**/ + +/* I_SYS_STAT: + * This symbol, if defined, indicates to the C program that it should + * include <sys/stat.h>. + */ +#define I_SYS_STAT /**/ + +/* I_SYS_TIMES: + * This symbol, if defined, indicates to the C program that it should + * include <sys/times.h>. + */ +#define I_SYS_TIMES /**/ + +/* I_SYS_TYPES: + * This symbol, if defined, indicates to the C program that it should + * include <sys/types.h>. + */ +#define I_SYS_TYPES /**/ + +/* I_SYS_UN: + * This symbol, if defined, indicates to the C program that it should + * include <sys/un.h> to get UNIX domain socket definitions. + */ +#define I_SYS_UN /**/ + +/* I_SYS_WAIT: + * This symbol, if defined, indicates to the C program that it should + * include <sys/wait.h>. + */ +#define I_SYS_WAIT /**/ + +/* I_TERMIO: + * This symbol, if defined, indicates that the program should include + * <termio.h> rather than <sgtty.h>. There are also differences in + * the ioctl() calls that depend on the value of this symbol. + */ +/* I_TERMIOS: + * This symbol, if defined, indicates that the program should include + * the POSIX termios.h rather than sgtty.h or termio.h. + * There are also differences in the ioctl() calls that depend on the + * value of this symbol. + */ +/* I_SGTTY: + * This symbol, if defined, indicates that the program should include + * <sgtty.h> rather than <termio.h>. There are also differences in + * the ioctl() calls that depend on the value of this symbol. + */ +/*#define I_TERMIO / **/ +#define I_TERMIOS /**/ +/*#define I_SGTTY / **/ + +/* I_UNISTD: + * This symbol, if defined, indicates to the C program that it should + * include <unistd.h>. + */ +#define I_UNISTD /**/ + +/* I_UTIME: + * This symbol, if defined, indicates to the C program that it should + * include <utime.h>. + */ +#define I_UTIME /**/ + +/* I_VALUES: + * This symbol, if defined, indicates to the C program that it should + * include <values.h> to get definition of symbols like MINFLOAT or + * MAXLONG, i.e. machine dependant limitations. Probably, you + * should use <limits.h> instead, if it is available. + */ +#define I_VALUES /**/ + +/* I_VFORK: + * This symbol, if defined, indicates to the C program that it should + * include vfork.h. + */ +/*#define I_VFORK / **/ + +/* INTSIZE: + * This symbol contains the value of sizeof(int) so that the C + * preprocessor can make decisions based on it. + */ +/* LONGSIZE: + * This symbol contains the value of sizeof(long) so that the C + * preprocessor can make decisions based on it. + */ +/* SHORTSIZE: + * This symbol contains the value of sizeof(short) so that the C + * preprocessor can make decisions based on it. + */ +#define INTSIZE 4 /**/ +#define LONGSIZE 8 /**/ +#define SHORTSIZE 2 /**/ + +/* MULTIARCH: + * This symbol, if defined, signifies that the build + * process will produce some binary files that are going to be + * used in a cross-platform environment. This is the case for + * example with the NeXT "fat" binaries that contain executables + * for several CPUs. + */ +/*#define MULTIARCH / **/ + +/* HAS_QUAD: + * This symbol, if defined, tells that there's a 64-bit integer type, + * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one + * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T. + */ +#define HAS_QUAD /**/ +#ifdef HAS_QUAD +# define Quad_t long /**/ +# define Uquad_t unsigned long /**/ +# define QUADKIND 2 /**/ +# define QUAD_IS_INT 1 +# define QUAD_IS_LONG 2 +# define QUAD_IS_LONG_LONG 3 +# define QUAD_IS_INT64_T 4 +#endif + +/* OSNAME: + * This symbol contains the name of the operating system, as determined + * by Configure. You shouldn't rely on it too much; the specific + * feature tests from Configure are generally more reliable. + */ +/* OSVERS: + * This symbol contains the version of the operating system, as determined + * by Configure. You shouldn't rely on it too much; the specific + * feature tests from Configure are generally more reliable. + */ +#define OSNAME "linux" /**/ +#define OSVERS "2.6.30.5" /**/ + +/* ARCHLIB: + * This variable, if defined, holds the name of the directory in + * which the user wants to put architecture-dependent public + * library files for perl5. It is most often a local directory + * such as /usr/local/lib. Programs using this variable must be + * prepared to deal with filename expansion. If ARCHLIB is the + * same as PRIVLIB, it is not defined, since presumably the + * program already searches PRIVLIB. + */ +/* ARCHLIB_EXP: + * This symbol contains the ~name expanded version of ARCHLIB, to be used + * in programs that are not prepared to deal with ~ expansion at run-time. + */ +#define ARCHLIB "/usr/lib/perl5/5.10.0/x86_64-linux" /**/ +#define ARCHLIB_EXP "/usr/lib/perl5/5.10.0/x86_64-linux" /**/ + +/* ARCHNAME: + * This symbol holds a string representing the architecture name. + * It may be used to construct an architecture-dependant pathname + * where library files may be held under a private library, for + * instance. + */ +#define ARCHNAME "x86_64-linux" /**/ + +/* BIN: + * This symbol holds the path of the bin directory where the package will + * be installed. Program must be prepared to deal with ~name substitution. + */ +/* BIN_EXP: + * This symbol is the filename expanded version of the BIN symbol, for + * programs that do not want to deal with that at run-time. + */ +/* PERL_RELOCATABLE_INC: + * This symbol, if defined, indicates that we'd like to relocate entries + * in @INC at run time based on the location of the perl binary. + */ +#define BIN "/usr/bin" /**/ +#define BIN_EXP "/usr/bin" /**/ +#define PERL_RELOCATABLE_INC "undef" /**/ + +/* CAT2: + * This macro concatenates 2 tokens together. + */ +/* STRINGIFY: + * This macro surrounds its token with double quotes. + */ +#if 42 == 1 +#define CAT2(a,b) a/**/b +#define STRINGIFY(a) "a" + /* If you can get stringification with catify, tell me how! */ +#endif +#if 42 == 42 +#define PeRl_CaTiFy(a, b) a ## b +#define PeRl_StGiFy(a) #a +/* the additional level of indirection enables these macros to be + * used as arguments to other macros. See K&R 2nd ed., page 231. */ +#define CAT2(a,b) PeRl_CaTiFy(a,b) +#define StGiFy(a) PeRl_StGiFy(a) +#define STRINGIFY(a) PeRl_StGiFy(a) +#endif +#if 42 != 1 && 42 != 42 +# include "Bletch: How does this C preprocessor concatenate tokens?" +#endif + +/* CPPSTDIN: + * This symbol contains the first part of the string which will invoke + * the C preprocessor on the standard input and produce to standard + * output. Typical value of "cc -E" or "/lib/cpp", but it can also + * call a wrapper. See CPPRUN. + */ +/* CPPMINUS: + * This symbol contains the second part of the string which will invoke + * the C preprocessor on the standard input and produce to standard + * output. This symbol will have the value "-" if CPPSTDIN needs a minus + * to specify standard input, otherwise the value is "". + */ +/* CPPRUN: + * This symbol contains the string which will invoke a C preprocessor on + * the standard input and produce to standard output. It needs to end + * with CPPLAST, after all other preprocessor flags have been specified. + * The main difference with CPPSTDIN is that this program will never be a + * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is + * available directly to the user. Note that it may well be different from + * the preprocessor used to compile the C program. + */ +/* CPPLAST: + * This symbol is intended to be used along with CPPRUN in the same manner + * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "". + */ +#define CPPSTDIN "gcc -E" +#define CPPMINUS "-" +#define CPPRUN "gcc -E" +#define CPPLAST "-" + +/* HAS_ACCESS: + * This manifest constant lets the C program know that the access() + * system call is available to check for accessibility using real UID/GID. + * (always present on UNIX.) + */ +#define HAS_ACCESS /**/ + +/* HAS_ACCESSX: + * This symbol, if defined, indicates that the accessx routine is + * available to do extended access checks. + */ +/*#define HAS_ACCESSX / **/ + +/* HAS_ASCTIME_R: + * This symbol, if defined, indicates that the asctime_r routine + * is available to asctime re-entrantly. + */ +/* ASCTIME_R_PROTO: + * This symbol encodes the prototype of asctime_r. + * It is zero if d_asctime_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r + * is defined. + */ +/*#define HAS_ASCTIME_R / **/ +#define ASCTIME_R_PROTO 0 /**/ + +/* HASATTRIBUTE_FORMAT: + * Can we handle GCC attribute for checking printf-style formats + */ +/* PRINTF_FORMAT_NULL_OK: + * Allows __printf__ format to be null when checking printf-style + */ +/* HASATTRIBUTE_MALLOC: + * Can we handle GCC attribute for malloc-style functions. + */ +/* HASATTRIBUTE_NONNULL: + * Can we handle GCC attribute for nonnull function parms. + */ +/* HASATTRIBUTE_NORETURN: + * Can we handle GCC attribute for functions that do not return + */ +/* HASATTRIBUTE_PURE: + * Can we handle GCC attribute for pure functions + */ +/* HASATTRIBUTE_UNUSED: + * Can we handle GCC attribute for unused variables and arguments + */ +/* HASATTRIBUTE_WARN_UNUSED_RESULT: + * Can we handle GCC attribute for warning on unused results + */ +#define HASATTRIBUTE_FORMAT /**/ +/*#define PRINTF_FORMAT_NULL_OK / **/ +#define HASATTRIBUTE_NORETURN /**/ +#define HASATTRIBUTE_MALLOC /**/ +#define HASATTRIBUTE_NONNULL /**/ +#define HASATTRIBUTE_PURE /**/ +#define HASATTRIBUTE_UNUSED /**/ +#define HASATTRIBUTE_WARN_UNUSED_RESULT /**/ + +/* HASCONST: + * This symbol, if defined, indicates that this C compiler knows about + * the const type. There is no need to actually test for that symbol + * within your programs. The mere use of the "const" keyword will + * trigger the necessary tests. + */ +#define HASCONST /**/ +#ifndef HASCONST +#define const +#endif + +/* HAS_CRYPT: + * This symbol, if defined, indicates that the crypt routine is available + * to encrypt passwords and the like. + */ +/*#define HAS_CRYPT / **/ + +/* HAS_CRYPT_R: + * This symbol, if defined, indicates that the crypt_r routine + * is available to crypt re-entrantly. + */ +/* CRYPT_R_PROTO: + * This symbol encodes the prototype of crypt_r. + * It is zero if d_crypt_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r + * is defined. + */ +/*#define HAS_CRYPT_R / **/ +#define CRYPT_R_PROTO 0 /**/ + +/* HAS_CSH: + * This symbol, if defined, indicates that the C-shell exists. + */ +/* CSH: + * This symbol, if defined, contains the full pathname of csh. + */ +/*#define HAS_CSH / **/ +#ifdef HAS_CSH +#define CSH "csh" /**/ +#endif + +/* HAS_CTERMID_R: + * This symbol, if defined, indicates that the ctermid_r routine + * is available to ctermid re-entrantly. + */ +/* CTERMID_R_PROTO: + * This symbol encodes the prototype of ctermid_r. + * It is zero if d_ctermid_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r + * is defined. + */ +/*#define HAS_CTERMID_R / **/ +#define CTERMID_R_PROTO 0 /**/ + +/* HAS_CTIME_R: + * This symbol, if defined, indicates that the ctime_r routine + * is available to ctime re-entrantly. + */ +/* CTIME_R_PROTO: + * This symbol encodes the prototype of ctime_r. + * It is zero if d_ctime_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r + * is defined. + */ +/*#define HAS_CTIME_R / **/ +#define CTIME_R_PROTO 0 /**/ + +/* SETUID_SCRIPTS_ARE_SECURE_NOW: + * This symbol, if defined, indicates that the bug that prevents + * setuid scripts from being secure is not present in this kernel. + */ +/* DOSUID: + * This symbol, if defined, indicates that the C program should + * check the script that it is executing for setuid/setgid bits, and + * attempt to emulate setuid/setgid on systems that have disabled + * setuid #! scripts because the kernel can't do it securely. + * It is up to the package designer to make sure that this emulation + * is done securely. Among other things, it should do an fstat on + * the script it just opened to make sure it really is a setuid/setgid + * script, it should make sure the arguments passed correspond exactly + * to the argument on the #! line, and it should not trust any + * subprocesses to which it must pass the filename rather than the + * file descriptor of the script to be executed. + */ +/*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/ +/*#define DOSUID / **/ + +/* HAS_DRAND48_R: + * This symbol, if defined, indicates that the drand48_r routine + * is available to drand48 re-entrantly. + */ +/* DRAND48_R_PROTO: + * This symbol encodes the prototype of drand48_r. + * It is zero if d_drand48_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r + * is defined. + */ +/*#define HAS_DRAND48_R / **/ +#define DRAND48_R_PROTO 0 /**/ + +/* HAS_DRAND48_PROTO: + * This symbol, if defined, indicates that the system provides + * a prototype for the drand48() function. Otherwise, it is up + * to the program to supply one. A good guess is + * extern double drand48(void); + */ +#define HAS_DRAND48_PROTO /**/ + +/* HAS_EACCESS: + * This symbol, if defined, indicates that the eaccess routine is + * available to do extended access checks. + */ +/*#define HAS_EACCESS / **/ + +/* HAS_ENDGRENT: + * This symbol, if defined, indicates that the getgrent routine is + * available for finalizing sequential access of the group database. + */ +#define HAS_ENDGRENT /**/ + +/* HAS_ENDGRENT_R: + * This symbol, if defined, indicates that the endgrent_r routine + * is available to endgrent re-entrantly. + */ +/* ENDGRENT_R_PROTO: + * This symbol encodes the prototype of endgrent_r. + * It is zero if d_endgrent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r + * is defined. + */ +/*#define HAS_ENDGRENT_R / **/ +#define ENDGRENT_R_PROTO 0 /**/ + +/* HAS_ENDHOSTENT: + * This symbol, if defined, indicates that the endhostent() routine is + * available to close whatever was being used for host queries. + */ +#define HAS_ENDHOSTENT /**/ + +/* HAS_ENDHOSTENT_R: + * This symbol, if defined, indicates that the endhostent_r routine + * is available to endhostent re-entrantly. + */ +/* ENDHOSTENT_R_PROTO: + * This symbol encodes the prototype of endhostent_r. + * It is zero if d_endhostent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r + * is defined. + */ +/*#define HAS_ENDHOSTENT_R / **/ +#define ENDHOSTENT_R_PROTO 0 /**/ + +/* HAS_ENDNETENT: + * This symbol, if defined, indicates that the endnetent() routine is + * available to close whatever was being used for network queries. + */ +#define HAS_ENDNETENT /**/ + +/* HAS_ENDNETENT_R: + * This symbol, if defined, indicates that the endnetent_r routine + * is available to endnetent re-entrantly. + */ +/* ENDNETENT_R_PROTO: + * This symbol encodes the prototype of endnetent_r. + * It is zero if d_endnetent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r + * is defined. + */ +/*#define HAS_ENDNETENT_R / **/ +#define ENDNETENT_R_PROTO 0 /**/ + +/* HAS_ENDPROTOENT: + * This symbol, if defined, indicates that the endprotoent() routine is + * available to close whatever was being used for protocol queries. + */ +#define HAS_ENDPROTOENT /**/ + +/* HAS_ENDPROTOENT_R: + * This symbol, if defined, indicates that the endprotoent_r routine + * is available to endprotoent re-entrantly. + */ +/* ENDPROTOENT_R_PROTO: + * This symbol encodes the prototype of endprotoent_r. + * It is zero if d_endprotoent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r + * is defined. + */ +/*#define HAS_ENDPROTOENT_R / **/ +#define ENDPROTOENT_R_PROTO 0 /**/ + +/* HAS_ENDPWENT: + * This symbol, if defined, indicates that the getgrent routine is + * available for finalizing sequential access of the passwd database. + */ +#define HAS_ENDPWENT /**/ + +/* HAS_ENDPWENT_R: + * This symbol, if defined, indicates that the endpwent_r routine + * is available to endpwent re-entrantly. + */ +/* ENDPWENT_R_PROTO: + * This symbol encodes the prototype of endpwent_r. + * It is zero if d_endpwent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r + * is defined. + */ +/*#define HAS_ENDPWENT_R / **/ +#define ENDPWENT_R_PROTO 0 /**/ + +/* HAS_ENDSERVENT: + * This symbol, if defined, indicates that the endservent() routine is + * available to close whatever was being used for service queries. + */ +#define HAS_ENDSERVENT /**/ + +/* HAS_ENDSERVENT_R: + * This symbol, if defined, indicates that the endservent_r routine + * is available to endservent re-entrantly. + */ +/* ENDSERVENT_R_PROTO: + * This symbol encodes the prototype of endservent_r. + * It is zero if d_endservent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r + * is defined. + */ +/*#define HAS_ENDSERVENT_R / **/ +#define ENDSERVENT_R_PROTO 0 /**/ + +/* FLEXFILENAMES: + * This symbol, if defined, indicates that the system supports filenames + * longer than 14 characters. + */ +#define FLEXFILENAMES /**/ + +/* HAS_GETGRENT: + * This symbol, if defined, indicates that the getgrent routine is + * available for sequential access of the group database. + */ +#define HAS_GETGRENT /**/ + +/* HAS_GETGRENT_R: + * This symbol, if defined, indicates that the getgrent_r routine + * is available to getgrent re-entrantly. + */ +/* GETGRENT_R_PROTO: + * This symbol encodes the prototype of getgrent_r. + * It is zero if d_getgrent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r + * is defined. + */ +/*#define HAS_GETGRENT_R / **/ +#define GETGRENT_R_PROTO 0 /**/ + +/* HAS_GETGRGID_R: + * This symbol, if defined, indicates that the getgrgid_r routine + * is available to getgrgid re-entrantly. + */ +/* GETGRGID_R_PROTO: + * This symbol encodes the prototype of getgrgid_r. + * It is zero if d_getgrgid_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r + * is defined. + */ +/*#define HAS_GETGRGID_R / **/ +#define GETGRGID_R_PROTO 0 /**/ + +/* HAS_GETGRNAM_R: + * This symbol, if defined, indicates that the getgrnam_r routine + * is available to getgrnam re-entrantly. + */ +/* GETGRNAM_R_PROTO: + * This symbol encodes the prototype of getgrnam_r. + * It is zero if d_getgrnam_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r + * is defined. + */ +/*#define HAS_GETGRNAM_R / **/ +#define GETGRNAM_R_PROTO 0 /**/ + +/* HAS_GETHOSTBYADDR: + * This symbol, if defined, indicates that the gethostbyaddr() routine is + * available to look up hosts by their IP addresses. + */ +#define HAS_GETHOSTBYADDR /**/ + +/* HAS_GETHOSTBYNAME: + * This symbol, if defined, indicates that the gethostbyname() routine is + * available to look up host names in some data base or other. + */ +#define HAS_GETHOSTBYNAME /**/ + +/* HAS_GETHOSTENT: + * This symbol, if defined, indicates that the gethostent() routine is + * available to look up host names in some data base or another. + */ +#define HAS_GETHOSTENT /**/ + +/* HAS_GETHOSTNAME: + * This symbol, if defined, indicates that the C program may use the + * gethostname() routine to derive the host name. See also HAS_UNAME + * and PHOSTNAME. + */ +/* HAS_UNAME: + * This symbol, if defined, indicates that the C program may use the + * uname() routine to derive the host name. See also HAS_GETHOSTNAME + * and PHOSTNAME. + */ +/* PHOSTNAME: + * This symbol, if defined, indicates the command to feed to the + * popen() routine to derive the host name. See also HAS_GETHOSTNAME + * and HAS_UNAME. Note that the command uses a fully qualified path, + * so that it is safe even if used by a process with super-user + * privileges. + */ +/* HAS_PHOSTNAME: + * This symbol, if defined, indicates that the C program may use the + * contents of PHOSTNAME as a command to feed to the popen() routine + * to derive the host name. + */ +#define HAS_GETHOSTNAME /**/ +#define HAS_UNAME /**/ +/*#define HAS_PHOSTNAME / **/ +#ifdef HAS_PHOSTNAME +#define PHOSTNAME "/bin/hostname" /* How to get the host name */ +#endif + +/* HAS_GETHOSTBYADDR_R: + * This symbol, if defined, indicates that the gethostbyaddr_r routine + * is available to gethostbyaddr re-entrantly. + */ +/* GETHOSTBYADDR_R_PROTO: + * This symbol encodes the prototype of gethostbyaddr_r. + * It is zero if d_gethostbyaddr_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r + * is defined. + */ +/*#define HAS_GETHOSTBYADDR_R / **/ +#define GETHOSTBYADDR_R_PROTO 0 /**/ + +/* HAS_GETHOSTBYNAME_R: + * This symbol, if defined, indicates that the gethostbyname_r routine + * is available to gethostbyname re-entrantly. + */ +/* GETHOSTBYNAME_R_PROTO: + * This symbol encodes the prototype of gethostbyname_r. + * It is zero if d_gethostbyname_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r + * is defined. + */ +/*#define HAS_GETHOSTBYNAME_R / **/ +#define GETHOSTBYNAME_R_PROTO 0 /**/ + +/* HAS_GETHOSTENT_R: + * This symbol, if defined, indicates that the gethostent_r routine + * is available to gethostent re-entrantly. + */ +/* GETHOSTENT_R_PROTO: + * This symbol encodes the prototype of gethostent_r. + * It is zero if d_gethostent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r + * is defined. + */ +/*#define HAS_GETHOSTENT_R / **/ +#define GETHOSTENT_R_PROTO 0 /**/ + +/* HAS_GETHOST_PROTOS: + * This symbol, if defined, indicates that <netdb.h> includes + * prototypes for gethostent(), gethostbyname(), and + * gethostbyaddr(). Otherwise, it is up to the program to guess + * them. See netdbtype.U for probing for various Netdb_xxx_t types. + */ +#define HAS_GETHOST_PROTOS /**/ + +/* HAS_GETLOGIN_R: + * This symbol, if defined, indicates that the getlogin_r routine + * is available to getlogin re-entrantly. + */ +/* GETLOGIN_R_PROTO: + * This symbol encodes the prototype of getlogin_r. + * It is zero if d_getlogin_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r + * is defined. + */ +/*#define HAS_GETLOGIN_R / **/ +#define GETLOGIN_R_PROTO 0 /**/ + +/* HAS_GETNETBYADDR: + * This symbol, if defined, indicates that the getnetbyaddr() routine is + * available to look up networks by their IP addresses. + */ +#define HAS_GETNETBYADDR /**/ + +/* HAS_GETNETBYNAME: + * This symbol, if defined, indicates that the getnetbyname() routine is + * available to look up networks by their names. + */ +#define HAS_GETNETBYNAME /**/ + +/* HAS_GETNETENT: + * This symbol, if defined, indicates that the getnetent() routine is + * available to look up network names in some data base or another. + */ +#define HAS_GETNETENT /**/ + +/* HAS_GETNETBYADDR_R: + * This symbol, if defined, indicates that the getnetbyaddr_r routine + * is available to getnetbyaddr re-entrantly. + */ +/* GETNETBYADDR_R_PROTO: + * This symbol encodes the prototype of getnetbyaddr_r. + * It is zero if d_getnetbyaddr_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r + * is defined. + */ +/*#define HAS_GETNETBYADDR_R / **/ +#define GETNETBYADDR_R_PROTO 0 /**/ + +/* HAS_GETNETBYNAME_R: + * This symbol, if defined, indicates that the getnetbyname_r routine + * is available to getnetbyname re-entrantly. + */ +/* GETNETBYNAME_R_PROTO: + * This symbol encodes the prototype of getnetbyname_r. + * It is zero if d_getnetbyname_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r + * is defined. + */ +/*#define HAS_GETNETBYNAME_R / **/ +#define GETNETBYNAME_R_PROTO 0 /**/ + +/* HAS_GETNETENT_R: + * This symbol, if defined, indicates that the getnetent_r routine + * is available to getnetent re-entrantly. + */ +/* GETNETENT_R_PROTO: + * This symbol encodes the prototype of getnetent_r. + * It is zero if d_getnetent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r + * is defined. + */ +/*#define HAS_GETNETENT_R / **/ +#define GETNETENT_R_PROTO 0 /**/ + +/* HAS_GETNET_PROTOS: + * This symbol, if defined, indicates that <netdb.h> includes + * prototypes for getnetent(), getnetbyname(), and + * getnetbyaddr(). Otherwise, it is up to the program to guess + * them. See netdbtype.U for probing for various Netdb_xxx_t types. + */ +#define HAS_GETNET_PROTOS /**/ + +/* HAS_GETPROTOENT: + * This symbol, if defined, indicates that the getprotoent() routine is + * available to look up protocols in some data base or another. + */ +#define HAS_GETPROTOENT /**/ + +/* HAS_GETPGRP: + * This symbol, if defined, indicates that the getpgrp routine is + * available to get the current process group. + */ +/* USE_BSD_GETPGRP: + * This symbol, if defined, indicates that getpgrp needs one + * arguments whereas USG one needs none. + */ +#define HAS_GETPGRP /**/ +/*#define USE_BSD_GETPGRP / **/ + +/* HAS_GETPROTOBYNAME: + * This symbol, if defined, indicates that the getprotobyname() + * routine is available to look up protocols by their name. + */ +/* HAS_GETPROTOBYNUMBER: + * This symbol, if defined, indicates that the getprotobynumber() + * routine is available to look up protocols by their number. + */ +#define HAS_GETPROTOBYNAME /**/ +#define HAS_GETPROTOBYNUMBER /**/ + +/* HAS_GETPROTOBYNAME_R: + * This symbol, if defined, indicates that the getprotobyname_r routine + * is available to getprotobyname re-entrantly. + */ +/* GETPROTOBYNAME_R_PROTO: + * This symbol encodes the prototype of getprotobyname_r. + * It is zero if d_getprotobyname_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r + * is defined. + */ +/*#define HAS_GETPROTOBYNAME_R / **/ +#define GETPROTOBYNAME_R_PROTO 0 /**/ + +/* HAS_GETPROTOBYNUMBER_R: + * This symbol, if defined, indicates that the getprotobynumber_r routine + * is available to getprotobynumber re-entrantly. + */ +/* GETPROTOBYNUMBER_R_PROTO: + * This symbol encodes the prototype of getprotobynumber_r. + * It is zero if d_getprotobynumber_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r + * is defined. + */ +/*#define HAS_GETPROTOBYNUMBER_R / **/ +#define GETPROTOBYNUMBER_R_PROTO 0 /**/ + +/* HAS_GETPROTOENT_R: + * This symbol, if defined, indicates that the getprotoent_r routine + * is available to getprotoent re-entrantly. + */ +/* GETPROTOENT_R_PROTO: + * This symbol encodes the prototype of getprotoent_r. + * It is zero if d_getprotoent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r + * is defined. + */ +/*#define HAS_GETPROTOENT_R / **/ +#define GETPROTOENT_R_PROTO 0 /**/ + +/* HAS_GETPROTO_PROTOS: + * This symbol, if defined, indicates that <netdb.h> includes + * prototypes for getprotoent(), getprotobyname(), and + * getprotobyaddr(). Otherwise, it is up to the program to guess + * them. See netdbtype.U for probing for various Netdb_xxx_t types. + */ +#define HAS_GETPROTO_PROTOS /**/ + +/* HAS_GETPWENT: + * This symbol, if defined, indicates that the getpwent routine is + * available for sequential access of the passwd database. + * If this is not available, the older getpw() function may be available. + */ +#define HAS_GETPWENT /**/ + +/* HAS_GETPWENT_R: + * This symbol, if defined, indicates that the getpwent_r routine + * is available to getpwent re-entrantly. + */ +/* GETPWENT_R_PROTO: + * This symbol encodes the prototype of getpwent_r. + * It is zero if d_getpwent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r + * is defined. + */ +/*#define HAS_GETPWENT_R / **/ +#define GETPWENT_R_PROTO 0 /**/ + +/* HAS_GETPWNAM_R: + * This symbol, if defined, indicates that the getpwnam_r routine + * is available to getpwnam re-entrantly. + */ +/* GETPWNAM_R_PROTO: + * This symbol encodes the prototype of getpwnam_r. + * It is zero if d_getpwnam_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r + * is defined. + */ +/*#define HAS_GETPWNAM_R / **/ +#define GETPWNAM_R_PROTO 0 /**/ + +/* HAS_GETPWUID_R: + * This symbol, if defined, indicates that the getpwuid_r routine + * is available to getpwuid re-entrantly. + */ +/* GETPWUID_R_PROTO: + * This symbol encodes the prototype of getpwuid_r. + * It is zero if d_getpwuid_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r + * is defined. + */ +/*#define HAS_GETPWUID_R / **/ +#define GETPWUID_R_PROTO 0 /**/ + +/* HAS_GETSERVENT: + * This symbol, if defined, indicates that the getservent() routine is + * available to look up network services in some data base or another. + */ +#define HAS_GETSERVENT /**/ + +/* HAS_GETSERVBYNAME_R: + * This symbol, if defined, indicates that the getservbyname_r routine + * is available to getservbyname re-entrantly. + */ +/* GETSERVBYNAME_R_PROTO: + * This symbol encodes the prototype of getservbyname_r. + * It is zero if d_getservbyname_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r + * is defined. + */ +/*#define HAS_GETSERVBYNAME_R / **/ +#define GETSERVBYNAME_R_PROTO 0 /**/ + +/* HAS_GETSERVBYPORT_R: + * This symbol, if defined, indicates that the getservbyport_r routine + * is available to getservbyport re-entrantly. + */ +/* GETSERVBYPORT_R_PROTO: + * This symbol encodes the prototype of getservbyport_r. + * It is zero if d_getservbyport_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r + * is defined. + */ +/*#define HAS_GETSERVBYPORT_R / **/ +#define GETSERVBYPORT_R_PROTO 0 /**/ + +/* HAS_GETSERVENT_R: + * This symbol, if defined, indicates that the getservent_r routine + * is available to getservent re-entrantly. + */ +/* GETSERVENT_R_PROTO: + * This symbol encodes the prototype of getservent_r. + * It is zero if d_getservent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r + * is defined. + */ +/*#define HAS_GETSERVENT_R / **/ +#define GETSERVENT_R_PROTO 0 /**/ + +/* HAS_GETSERV_PROTOS: + * This symbol, if defined, indicates that <netdb.h> includes + * prototypes for getservent(), getservbyname(), and + * getservbyaddr(). Otherwise, it is up to the program to guess + * them. See netdbtype.U for probing for various Netdb_xxx_t types. + */ +#define HAS_GETSERV_PROTOS /**/ + +/* HAS_GETSPNAM_R: + * This symbol, if defined, indicates that the getspnam_r routine + * is available to getspnam re-entrantly. + */ +/* GETSPNAM_R_PROTO: + * This symbol encodes the prototype of getspnam_r. + * It is zero if d_getspnam_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r + * is defined. + */ +/*#define HAS_GETSPNAM_R / **/ +#define GETSPNAM_R_PROTO 0 /**/ + +/* HAS_GETSERVBYNAME: + * This symbol, if defined, indicates that the getservbyname() + * routine is available to look up services by their name. + */ +/* HAS_GETSERVBYPORT: + * This symbol, if defined, indicates that the getservbyport() + * routine is available to look up services by their port. + */ +#define HAS_GETSERVBYNAME /**/ +#define HAS_GETSERVBYPORT /**/ + +/* HAS_GMTIME_R: + * This symbol, if defined, indicates that the gmtime_r routine + * is available to gmtime re-entrantly. + */ +/* GMTIME_R_PROTO: + * This symbol encodes the prototype of gmtime_r. + * It is zero if d_gmtime_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r + * is defined. + */ +/*#define HAS_GMTIME_R / **/ +#define GMTIME_R_PROTO 0 /**/ + +/* HAS_HTONL: + * This symbol, if defined, indicates that the htonl() routine (and + * friends htons() ntohl() ntohs()) are available to do network + * order byte swapping. + */ +/* HAS_HTONS: + * This symbol, if defined, indicates that the htons() routine (and + * friends htonl() ntohl() ntohs()) are available to do network + * order byte swapping. + */ +/* HAS_NTOHL: + * This symbol, if defined, indicates that the ntohl() routine (and + * friends htonl() htons() ntohs()) are available to do network + * order byte swapping. + */ +/* HAS_NTOHS: + * This symbol, if defined, indicates that the ntohs() routine (and + * friends htonl() htons() ntohl()) are available to do network + * order byte swapping. + */ +#define HAS_HTONL /**/ +#define HAS_HTONS /**/ +#define HAS_NTOHL /**/ +#define HAS_NTOHS /**/ + +/* HAS_LOCALTIME_R: + * This symbol, if defined, indicates that the localtime_r routine + * is available to localtime re-entrantly. + */ +/* LOCALTIME_R_NEEDS_TZSET: + * Many libc's localtime_r implementations do not call tzset, + * making them differ from localtime(), and making timezone + * changes using $ENV{TZ} without explicitly calling tzset + * impossible. This symbol makes us call tzset before localtime_r + */ +/*#define LOCALTIME_R_NEEDS_TZSET / **/ +#ifdef LOCALTIME_R_NEEDS_TZSET +#define L_R_TZSET tzset(), +#else +#define L_R_TZSET +#endif + +/* LOCALTIME_R_PROTO: + * This symbol encodes the prototype of localtime_r. + * It is zero if d_localtime_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r + * is defined. + */ +/*#define HAS_LOCALTIME_R / **/ +#define LOCALTIME_R_PROTO 0 /**/ + +/* HAS_LONG_DOUBLE: + * This symbol will be defined if the C compiler supports long + * doubles. + */ +/* LONG_DOUBLESIZE: + * This symbol contains the size of a long double, so that the + * C preprocessor can make decisions based on it. It is only + * defined if the system supports long doubles. + */ +#define HAS_LONG_DOUBLE /**/ +#ifdef HAS_LONG_DOUBLE +#define LONG_DOUBLESIZE 16 /**/ +#endif + +/* HAS_LONG_LONG: + * This symbol will be defined if the C compiler supports long long. + */ +/* LONGLONGSIZE: + * This symbol contains the size of a long long, so that the + * C preprocessor can make decisions based on it. It is only + * defined if the system supports long long. + */ +#define HAS_LONG_LONG /**/ +#ifdef HAS_LONG_LONG +#define LONGLONGSIZE 8 /**/ +#endif + +/* HAS_LSEEK_PROTO: + * This symbol, if defined, indicates that the system provides + * a prototype for the lseek() function. Otherwise, it is up + * to the program to supply one. A good guess is + * extern off_t lseek(int, off_t, int); + */ +#define HAS_LSEEK_PROTO /**/ + +/* HAS_MEMCHR: + * This symbol, if defined, indicates that the memchr routine is available + * to locate characters within a C string. + */ +#define HAS_MEMCHR /**/ + +/* HAS_MKSTEMP: + * This symbol, if defined, indicates that the mkstemp routine is + * available to exclusively create and open a uniquely named + * temporary file. + */ +#define HAS_MKSTEMP /**/ + +/* HAS_MMAP: + * This symbol, if defined, indicates that the mmap system call is + * available to map a file into memory. + */ +/* Mmap_t: + * This symbol holds the return type of the mmap() system call + * (and simultaneously the type of the first argument). + * Usually set to 'void *' or 'caddr_t'. + */ +#define HAS_MMAP /**/ +#define Mmap_t void * /**/ + +/* HAS_MSG: + * This symbol, if defined, indicates that the entire msg*(2) library is + * supported (IPC mechanism based on message queues). + */ +#define HAS_MSG /**/ + +/* HAS_POLL: + * This symbol, if defined, indicates that the poll routine is + * available to poll active file descriptors. You may safely + * include <poll.h> when both this symbol *and* I_POLL are defined. + */ +#define HAS_POLL /**/ + +/* OLD_PTHREAD_CREATE_JOINABLE: + * This symbol, if defined, indicates how to create pthread + * in joinable (aka undetached) state. NOTE: not defined + * if pthread.h already has defined PTHREAD_CREATE_JOINABLE + * (the new version of the constant). + * If defined, known values are PTHREAD_CREATE_UNDETACHED + * and __UNDETACHED. + */ +/*#define OLD_PTHREAD_CREATE_JOINABLE / **/ + +/* HAS_PTHREAD_ATFORK: + * This symbol, if defined, indicates that the pthread_atfork routine + * is available to setup fork handlers. + */ +/*#define HAS_PTHREAD_ATFORK / **/ + +/* HAS_PTHREAD_YIELD: + * This symbol, if defined, indicates that the pthread_yield + * routine is available to yield the execution of the current + * thread. sched_yield is preferable to pthread_yield. + */ +/* SCHED_YIELD: + * This symbol defines the way to yield the execution of + * the current thread. Known ways are sched_yield, + * pthread_yield, and pthread_yield with NULL. + */ +/* HAS_SCHED_YIELD: + * This symbol, if defined, indicates that the sched_yield + * routine is available to yield the execution of the current + * thread. sched_yield is preferable to pthread_yield. + */ +/*#define HAS_PTHREAD_YIELD / **/ +#define SCHED_YIELD sched_yield() /**/ +#define HAS_SCHED_YIELD /**/ + +/* HAS_RANDOM_R: + * This symbol, if defined, indicates that the random_r routine + * is available to random re-entrantly. + */ +/* RANDOM_R_PROTO: + * This symbol encodes the prototype of random_r. + * It is zero if d_random_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r + * is defined. + */ +/*#define HAS_RANDOM_R / **/ +#define RANDOM_R_PROTO 0 /**/ + +/* HAS_READDIR64_R: + * This symbol, if defined, indicates that the readdir64_r routine + * is available to readdir64 re-entrantly. + */ +/* READDIR64_R_PROTO: + * This symbol encodes the prototype of readdir64_r. + * It is zero if d_readdir64_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r + * is defined. + */ +/*#define HAS_READDIR64_R / **/ +#define READDIR64_R_PROTO 0 /**/ + +/* HAS_READDIR_R: + * This symbol, if defined, indicates that the readdir_r routine + * is available to readdir re-entrantly. + */ +/* READDIR_R_PROTO: + * This symbol encodes the prototype of readdir_r. + * It is zero if d_readdir_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r + * is defined. + */ +/*#define HAS_READDIR_R / **/ +#define READDIR_R_PROTO 0 /**/ + +/* HAS_SEM: + * This symbol, if defined, indicates that the entire sem*(2) library is + * supported. + */ +#define HAS_SEM /**/ + +/* HAS_SETGRENT: + * This symbol, if defined, indicates that the setgrent routine is + * available for initializing sequential access of the group database. + */ +#define HAS_SETGRENT /**/ + +/* HAS_SETGRENT_R: + * This symbol, if defined, indicates that the setgrent_r routine + * is available to setgrent re-entrantly. + */ +/* SETGRENT_R_PROTO: + * This symbol encodes the prototype of setgrent_r. + * It is zero if d_setgrent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r + * is defined. + */ +/*#define HAS_SETGRENT_R / **/ +#define SETGRENT_R_PROTO 0 /**/ + +/* HAS_SETGROUPS: + * This symbol, if defined, indicates that the setgroups() routine is + * available to set the list of process groups. If unavailable, multiple + * groups are probably not supported. + */ +#define HAS_SETGROUPS /**/ + +/* HAS_SETHOSTENT: + * This symbol, if defined, indicates that the sethostent() routine is + * available. + */ +#define HAS_SETHOSTENT /**/ + +/* HAS_SETHOSTENT_R: + * This symbol, if defined, indicates that the sethostent_r routine + * is available to sethostent re-entrantly. + */ +/* SETHOSTENT_R_PROTO: + * This symbol encodes the prototype of sethostent_r. + * It is zero if d_sethostent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r + * is defined. + */ +/*#define HAS_SETHOSTENT_R / **/ +#define SETHOSTENT_R_PROTO 0 /**/ + +/* HAS_SETLOCALE_R: + * This symbol, if defined, indicates that the setlocale_r routine + * is available to setlocale re-entrantly. + */ +/* SETLOCALE_R_PROTO: + * This symbol encodes the prototype of setlocale_r. + * It is zero if d_setlocale_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r + * is defined. + */ +/*#define HAS_SETLOCALE_R / **/ +#define SETLOCALE_R_PROTO 0 /**/ + +/* HAS_SETNETENT: + * This symbol, if defined, indicates that the setnetent() routine is + * available. + */ +#define HAS_SETNETENT /**/ + +/* HAS_SETNETENT_R: + * This symbol, if defined, indicates that the setnetent_r routine + * is available to setnetent re-entrantly. + */ +/* SETNETENT_R_PROTO: + * This symbol encodes the prototype of setnetent_r. + * It is zero if d_setnetent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r + * is defined. + */ +/*#define HAS_SETNETENT_R / **/ +#define SETNETENT_R_PROTO 0 /**/ + +/* HAS_SETPROTOENT: + * This symbol, if defined, indicates that the setprotoent() routine is + * available. + */ +#define HAS_SETPROTOENT /**/ + +/* HAS_SETPGRP: + * This symbol, if defined, indicates that the setpgrp routine is + * available to set the current process group. + */ +/* USE_BSD_SETPGRP: + * This symbol, if defined, indicates that setpgrp needs two + * arguments whereas USG one needs none. See also HAS_SETPGID + * for a POSIX interface. + */ +#define HAS_SETPGRP /**/ +/*#define USE_BSD_SETPGRP / **/ + +/* HAS_SETPROTOENT_R: + * This symbol, if defined, indicates that the setprotoent_r routine + * is available to setprotoent re-entrantly. + */ +/* SETPROTOENT_R_PROTO: + * This symbol encodes the prototype of setprotoent_r. + * It is zero if d_setprotoent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r + * is defined. + */ +/*#define HAS_SETPROTOENT_R / **/ +#define SETPROTOENT_R_PROTO 0 /**/ + +/* HAS_SETPWENT: + * This symbol, if defined, indicates that the setpwent routine is + * available for initializing sequential access of the passwd database. + */ +#define HAS_SETPWENT /**/ + +/* HAS_SETPWENT_R: + * This symbol, if defined, indicates that the setpwent_r routine + * is available to setpwent re-entrantly. + */ +/* SETPWENT_R_PROTO: + * This symbol encodes the prototype of setpwent_r. + * It is zero if d_setpwent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r + * is defined. + */ +/*#define HAS_SETPWENT_R / **/ +#define SETPWENT_R_PROTO 0 /**/ + +/* HAS_SETSERVENT: + * This symbol, if defined, indicates that the setservent() routine is + * available. + */ +#define HAS_SETSERVENT /**/ + +/* HAS_SETSERVENT_R: + * This symbol, if defined, indicates that the setservent_r routine + * is available to setservent re-entrantly. + */ +/* SETSERVENT_R_PROTO: + * This symbol encodes the prototype of setservent_r. + * It is zero if d_setservent_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r + * is defined. + */ +/*#define HAS_SETSERVENT_R / **/ +#define SETSERVENT_R_PROTO 0 /**/ + +/* HAS_SETVBUF: + * This symbol, if defined, indicates that the setvbuf routine is + * available to change buffering on an open stdio stream. + * to a line-buffered mode. + */ +#define HAS_SETVBUF /**/ + +/* HAS_SHM: + * This symbol, if defined, indicates that the entire shm*(2) library is + * supported. + */ +#define HAS_SHM /**/ + +/* Shmat_t: + * This symbol holds the return type of the shmat() system call. + * Usually set to 'void *' or 'char *'. + */ +/* HAS_SHMAT_PROTOTYPE: + * This symbol, if defined, indicates that the sys/shm.h includes + * a prototype for shmat(). Otherwise, it is up to the program to + * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess, + * but not always right so it should be emitted by the program only + * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. + */ +#define Shmat_t void * /**/ +#define HAS_SHMAT_PROTOTYPE /**/ + +/* HAS_SOCKET: + * This symbol, if defined, indicates that the BSD socket interface is + * supported. + */ +/* HAS_SOCKETPAIR: + * This symbol, if defined, indicates that the BSD socketpair() call is + * supported. + */ +/* HAS_MSG_CTRUNC: + * This symbol, if defined, indicates that the MSG_CTRUNC is supported. + * Checking just with #ifdef might not be enough because this symbol + * has been known to be an enum. + */ +/* HAS_MSG_DONTROUTE: + * This symbol, if defined, indicates that the MSG_DONTROUTE is supported. + * Checking just with #ifdef might not be enough because this symbol + * has been known to be an enum. + */ +/* HAS_MSG_OOB: + * This symbol, if defined, indicates that the MSG_OOB is supported. + * Checking just with #ifdef might not be enough because this symbol + * has been known to be an enum. + */ +/* HAS_MSG_PEEK: + * This symbol, if defined, indicates that the MSG_PEEK is supported. + * Checking just with #ifdef might not be enough because this symbol + * has been known to be an enum. + */ +/* HAS_MSG_PROXY: + * This symbol, if defined, indicates that the MSG_PROXY is supported. + * Checking just with #ifdef might not be enough because this symbol + * has been known to be an enum. + */ +/* HAS_SCM_RIGHTS: + * This symbol, if defined, indicates that the SCM_RIGHTS is supported. + * Checking just with #ifdef might not be enough because this symbol + * has been known to be an enum. + */ +#define HAS_SOCKET /**/ +#define HAS_SOCKETPAIR /**/ +#define HAS_MSG_CTRUNC /**/ +#define HAS_MSG_DONTROUTE /**/ +#define HAS_MSG_OOB /**/ +#define HAS_MSG_PEEK /**/ +#define HAS_MSG_PROXY /**/ +#define HAS_SCM_RIGHTS /**/ + +/* HAS_SRAND48_R: + * This symbol, if defined, indicates that the srand48_r routine + * is available to srand48 re-entrantly. + */ +/* SRAND48_R_PROTO: + * This symbol encodes the prototype of srand48_r. + * It is zero if d_srand48_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r + * is defined. + */ +/*#define HAS_SRAND48_R / **/ +#define SRAND48_R_PROTO 0 /**/ + +/* HAS_SRANDOM_R: + * This symbol, if defined, indicates that the srandom_r routine + * is available to srandom re-entrantly. + */ +/* SRANDOM_R_PROTO: + * This symbol encodes the prototype of srandom_r. + * It is zero if d_srandom_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r + * is defined. + */ +/*#define HAS_SRANDOM_R / **/ +#define SRANDOM_R_PROTO 0 /**/ + +/* USE_STAT_BLOCKS: + * This symbol is defined if this system has a stat structure declaring + * st_blksize and st_blocks. + */ +#ifndef USE_STAT_BLOCKS +#define USE_STAT_BLOCKS /**/ +#endif + +/* USE_STRUCT_COPY: + * This symbol, if defined, indicates that this C compiler knows how + * to copy structures. If undefined, you'll need to use a block copy + * routine of some sort instead. + */ +#define USE_STRUCT_COPY /**/ + +/* HAS_STRERROR: + * This symbol, if defined, indicates that the strerror routine is + * available to translate error numbers to strings. See the writeup + * of Strerror() in this file before you try to define your own. + */ +/* HAS_SYS_ERRLIST: + * This symbol, if defined, indicates that the sys_errlist array is + * available to translate error numbers to strings. The extern int + * sys_nerr gives the size of that table. + */ +/* Strerror: + * This preprocessor symbol is defined as a macro if strerror() is + * not available to translate error numbers to strings but sys_errlist[] + * array is there. + */ +#define HAS_STRERROR /**/ +/*#define HAS_SYS_ERRLIST / **/ +#define Strerror(e) strerror(e) + +/* HAS_STRERROR_R: + * This symbol, if defined, indicates that the strerror_r routine + * is available to strerror re-entrantly. + */ +/* STRERROR_R_PROTO: + * This symbol encodes the prototype of strerror_r. + * It is zero if d_strerror_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r + * is defined. + */ +/*#define HAS_STRERROR_R / **/ +#define STRERROR_R_PROTO 0 /**/ + +/* HAS_STRTOUL: + * This symbol, if defined, indicates that the strtoul routine is + * available to provide conversion of strings to unsigned long. + */ +#define HAS_STRTOUL /**/ + +/* HAS_TIME: + * This symbol, if defined, indicates that the time() routine exists. + */ +/* Time_t: + * This symbol holds the type returned by time(). It can be long, + * or time_t on BSD sites (in which case <sys/types.h> should be + * included). + */ +#define HAS_TIME /**/ +#define Time_t time_t /* Time type */ + +/* HAS_TIMES: + * This symbol, if defined, indicates that the times() routine exists. + * Note that this became obsolete on some systems (SUNOS), which now + * use getrusage(). It may be necessary to include <sys/times.h>. + */ +#define HAS_TIMES /**/ + +/* HAS_TMPNAM_R: + * This symbol, if defined, indicates that the tmpnam_r routine + * is available to tmpnam re-entrantly. + */ +/* TMPNAM_R_PROTO: + * This symbol encodes the prototype of tmpnam_r. + * It is zero if d_tmpnam_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r + * is defined. + */ +/*#define HAS_TMPNAM_R / **/ +#define TMPNAM_R_PROTO 0 /**/ + +/* HAS_TTYNAME_R: + * This symbol, if defined, indicates that the ttyname_r routine + * is available to ttyname re-entrantly. + */ +/* TTYNAME_R_PROTO: + * This symbol encodes the prototype of ttyname_r. + * It is zero if d_ttyname_r is undef, and one of the + * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r + * is defined. + */ +/*#define HAS_TTYNAME_R / **/ +#define TTYNAME_R_PROTO 0 /**/ + +/* HAS_UNION_SEMUN: + * This symbol, if defined, indicates that the union semun is + * defined by including <sys/sem.h>. If not, the user code + * probably needs to define it as: + * union semun { + * int val; + * struct semid_ds *buf; + * unsigned short *array; + * } + */ +/* USE_SEMCTL_SEMUN: + * This symbol, if defined, indicates that union semun is + * used for semctl IPC_STAT. + */ +/* USE_SEMCTL_SEMID_DS: + * This symbol, if defined, indicates that struct semid_ds * is + * used for semctl IPC_STAT. + */ +/*#define HAS_UNION_SEMUN / **/ +#define USE_SEMCTL_SEMUN /**/ +#define USE_SEMCTL_SEMID_DS /**/ + +/* HAS_VFORK: + * This symbol, if defined, indicates that vfork() exists. + */ +/*#define HAS_VFORK / **/ + +/* HAS_PSEUDOFORK: + * This symbol, if defined, indicates that an emulation of the + * fork routine is available. + */ +/*#define HAS_PSEUDOFORK / **/ + +/* Signal_t: + * This symbol's value is either "void" or "int", corresponding to the + * appropriate return type of a signal handler. Thus, you can declare + * a signal handler using "Signal_t (*handler)()", and define the + * handler using "Signal_t handler(sig)". + */ +#define Signal_t void /* Signal handler's return type */ + +/* HASVOLATILE: + * This symbol, if defined, indicates that this C compiler knows about + * the volatile declaration. + */ +#define HASVOLATILE /**/ +#ifndef HASVOLATILE +#define volatile +#endif + +/* Fpos_t: + * This symbol holds the type used to declare file positions in libc. + * It can be fpos_t, long, uint, etc... It may be necessary to include + * <sys/types.h> to get any typedef'ed information. + */ +#define Fpos_t fpos_t /* File position type */ + +/* Gid_t_f: + * This symbol defines the format string used for printing a Gid_t. + */ +#define Gid_t_f "u" /**/ + +/* Gid_t_sign: + * This symbol holds the signedess of a Gid_t. + * 1 for unsigned, -1 for signed. + */ +#define Gid_t_sign 1 /* GID sign */ + +/* Gid_t_size: + * This symbol holds the size of a Gid_t in bytes. + */ +#define Gid_t_size 4 /* GID size */ + +/* Gid_t: + * This symbol holds the return type of getgid() and the type of + * argument to setrgid() and related functions. Typically, + * it is the type of group ids in the kernel. It can be int, ushort, + * gid_t, etc... It may be necessary to include <sys/types.h> to get + * any typedef'ed information. + */ +#define Gid_t gid_t /* Type for getgid(), etc... */ + +/* Groups_t: + * This symbol holds the type used for the second argument to + * getgroups() and setgroups(). Usually, this is the same as + * gidtype (gid_t) , but sometimes it isn't. + * It can be int, ushort, gid_t, etc... + * It may be necessary to include <sys/types.h> to get any + * typedef'ed information. This is only required if you have + * getgroups() or setgroups().. + */ +#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) +#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */ +#endif + +/* I_DIRENT: + * This symbol, if defined, indicates to the C program that it should + * include <dirent.h>. Using this symbol also triggers the definition + * of the Direntry_t define which ends up being 'struct dirent' or + * 'struct direct' depending on the availability of <dirent.h>. + */ +/* DIRNAMLEN: + * This symbol, if defined, indicates to the C program that the length + * of directory entry names is provided by a d_namlen field. Otherwise + * you need to do strlen() on the d_name field. + */ +/* Direntry_t: + * This symbol is set to 'struct direct' or 'struct dirent' depending on + * whether dirent is available or not. You should use this pseudo type to + * portably declare your directory entries. + */ +#define I_DIRENT /**/ +/*#define DIRNAMLEN / **/ +#define Direntry_t struct dirent + +/* I_GRP: + * This symbol, if defined, indicates to the C program that it should + * include <grp.h>. + */ +/* GRPASSWD: + * This symbol, if defined, indicates to the C program that struct group + * in <grp.h> contains gr_passwd. + */ +#define I_GRP /**/ +#define GRPASSWD /**/ + +/* I_MACH_CTHREADS: + * This symbol, if defined, indicates to the C program that it should + * include <mach/cthreads.h>. + */ +/*#define I_MACH_CTHREADS / **/ + +/* I_NDBM: + * This symbol, if defined, indicates that <ndbm.h> exists and should + * be included. + */ +/*#define I_NDBM / **/ + +/* I_NETDB: + * This symbol, if defined, indicates that <netdb.h> exists and + * should be included. + */ +#define I_NETDB /**/ + +/* I_PTHREAD: + * This symbol, if defined, indicates to the C program that it should + * include <pthread.h>. + */ +#define I_PTHREAD /**/ + +/* I_PWD: + * This symbol, if defined, indicates to the C program that it should + * include <pwd.h>. + */ +/* PWQUOTA: + * This symbol, if defined, indicates to the C program that struct passwd + * contains pw_quota. + */ +/* PWAGE: + * This symbol, if defined, indicates to the C program that struct passwd + * contains pw_age. + */ +/* PWCHANGE: + * This symbol, if defined, indicates to the C program that struct passwd + * contains pw_change. + */ +/* PWCLASS: + * This symbol, if defined, indicates to the C program that struct passwd + * contains pw_class. + */ +/* PWEXPIRE: + * This symbol, if defined, indicates to the C program that struct passwd + * contains pw_expire. + */ +/* PWCOMMENT: + * This symbol, if defined, indicates to the C program that struct passwd + * contains pw_comment. + */ +/* PWGECOS: + * This symbol, if defined, indicates to the C program that struct passwd + * contains pw_gecos. + */ +/* PWPASSWD: + * This symbol, if defined, indicates to the C program that struct passwd + * contains pw_passwd. + */ +#define I_PWD /**/ +/*#define PWQUOTA / **/ +/*#define PWAGE / **/ +/*#define PWCHANGE / **/ +/*#define PWCLASS / **/ +/*#define PWEXPIRE / **/ +/*#define PWCOMMENT / **/ +#define PWGECOS /**/ +#define PWPASSWD /**/ + +/* I_SYS_ACCESS: + * This symbol, if defined, indicates to the C program that it should + * include <sys/access.h>. + */ +/*#define I_SYS_ACCESS / **/ + +/* I_SYS_SECURITY: + * This symbol, if defined, indicates to the C program that it should + * include <sys/security.h>. + */ +/*#define I_SYS_SECURITY / **/ + +/* I_SYSUIO: + * This symbol, if defined, indicates that <sys/uio.h> exists and + * should be included. + */ +#define I_SYSUIO /**/ + +/* I_STDARG: + * This symbol, if defined, indicates that <stdarg.h> exists and should + * be included. + */ +/* I_VARARGS: + * This symbol, if defined, indicates to the C program that it should + * include <varargs.h>. + */ +#define I_STDARG /**/ +/*#define I_VARARGS / **/ + +/* PERL_INC_VERSION_LIST: + * This variable specifies the list of subdirectories in over + * which perl.c:incpush() and lib/lib.pm will automatically + * search when adding directories to @INC, in a format suitable + * for a C initialization string. See the inc_version_list entry + * in Porting/Glossary for more details. + */ +/*#define PERL_INC_VERSION_LIST 0 / **/ + +/* INSTALL_USR_BIN_PERL: + * This symbol, if defined, indicates that Perl is to be installed + * also as /usr/bin/perl. + */ +/*#define INSTALL_USR_BIN_PERL / **/ + +/* Off_t: + * This symbol holds the type used to declare offsets in the kernel. + * It can be int, long, off_t, etc... It may be necessary to include + * <sys/types.h> to get any typedef'ed information. + */ +/* LSEEKSIZE: + * This symbol holds the number of bytes used by the Off_t. + */ +/* Off_t_size: + * This symbol holds the number of bytes used by the Off_t. + */ +#define Off_t off_t /* <offset> type */ +#define LSEEKSIZE 8 /* <offset> size */ +#define Off_t_size 8 /* <offset> size */ + +/* Free_t: + * This variable contains the return type of free(). It is usually + * void, but occasionally int. + */ +/* Malloc_t: + * This symbol is the type of pointer returned by malloc and realloc. + */ +#define Malloc_t void * /**/ +#define Free_t void /**/ + +/* PERL_MALLOC_WRAP: + * This symbol, if defined, indicates that we'd like malloc wrap checks. + */ +/*#define PERL_MALLOC_WRAP / **/ + +/* MYMALLOC: + * This symbol, if defined, indicates that we're using our own malloc. + */ +/*#define MYMALLOC / **/ + +/* Mode_t: + * This symbol holds the type used to declare file modes + * for systems calls. It is usually mode_t, but may be + * int or unsigned short. It may be necessary to include <sys/types.h> + * to get any typedef'ed information. + */ +#define Mode_t mode_t /* file mode parameter for system calls */ + +/* Netdb_host_t: + * This symbol holds the type used for the 1st argument + * to gethostbyaddr(). + */ +/* Netdb_hlen_t: + * This symbol holds the type used for the 2nd argument + * to gethostbyaddr(). + */ +/* Netdb_name_t: + * This symbol holds the type used for the argument to + * gethostbyname(). + */ +/* Netdb_net_t: + * This symbol holds the type used for the 1st argument to + * getnetbyaddr(). + */ +#define Netdb_host_t char * /**/ +#define Netdb_hlen_t size_t /**/ +#define Netdb_name_t const char * /**/ +#define Netdb_net_t in_addr_t /**/ + +/* PERL_OTHERLIBDIRS: + * This variable contains a colon-separated set of paths for the perl + * binary to search for additional library files or modules. + * These directories will be tacked to the end of @INC. + * Perl will automatically search below each path for version- + * and architecture-specific directories. See PERL_INC_VERSION_LIST + * for more details. + */ +/*#define PERL_OTHERLIBDIRS " " / **/ + +/* Pid_t: + * This symbol holds the type used to declare process ids in the kernel. + * It can be int, uint, pid_t, etc... It may be necessary to include + * <sys/types.h> to get any typedef'ed information. + */ +#define Pid_t pid_t /* PID type */ + +/* PRIVLIB: + * This symbol contains the name of the private library for this package. + * The library is private in the sense that it needn't be in anyone's + * execution path, but it should be accessible by the world. The program + * should be prepared to do ~ expansion. + */ +/* PRIVLIB_EXP: + * This symbol contains the ~name expanded version of PRIVLIB, to be used + * in programs that are not prepared to deal with ~ expansion at run-time. + */ +#define PRIVLIB "/usr/lib/perl5/5.10.0" /**/ +#define PRIVLIB_EXP "/usr/lib/perl5/5.10.0" /**/ + +/* CAN_PROTOTYPE: + * If defined, this macro indicates that the C compiler can handle + * function prototypes. + */ +/* _: + * This macro is used to declare function parameters for folks who want + * to make declarations with prototypes using a different style than + * the above macros. Use double parentheses. For example: + * + * int main _((int argc, char *argv[])); + */ +#define CAN_PROTOTYPE /**/ +#ifdef CAN_PROTOTYPE +#define _(args) args +#else +#define _(args) () +#endif + +/* Select_fd_set_t: + * This symbol holds the type used for the 2nd, 3rd, and 4th + * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET + * is defined, and 'int *' otherwise. This is only useful if you + * have select(), of course. + */ +#define Select_fd_set_t fd_set * /**/ + +/* SH_PATH: + * This symbol contains the full pathname to the shell used on this + * on this system to execute Bourne shell scripts. Usually, this will be + * /bin/sh, though it's possible that some systems will have /bin/ksh, + * /bin/pdksh, /bin/ash, /bin/bash, or even something such as + * D:/bin/sh.exe. + */ +#define SH_PATH "/bin/sh" /**/ + +/* SIG_NAME: + * This symbol contains a list of signal names in order of + * signal number. This is intended + * to be used as a static array initialization, like this: + * char *sig_name[] = { SIG_NAME }; + * The signals in the list are separated with commas, and each signal + * is surrounded by double quotes. There is no leading SIG in the signal + * name, i.e. SIGQUIT is known as "QUIT". + * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, + * etc., where nn is the actual signal number (e.g. NUM37). + * The signal number for sig_name[i] is stored in sig_num[i]. + * The last element is 0 to terminate the list with a NULL. This + * corresponds to the 0 at the end of the sig_name_init list. + * Note that this variable is initialized from the sig_name_init, + * not from sig_name (which is unused). + */ +/* SIG_NUM: + * This symbol contains a list of signal numbers, in the same order as the + * SIG_NAME list. It is suitable for static array initialization, as in: + * int sig_num[] = { SIG_NUM }; + * The signals in the list are separated with commas, and the indices + * within that list and the SIG_NAME list match, so it's easy to compute + * the signal name from a number or vice versa at the price of a small + * dynamic linear lookup. + * Duplicates are allowed, but are moved to the end of the list. + * The signal number corresponding to sig_name[i] is sig_number[i]. + * if (i < NSIG) then sig_number[i] == i. + * The last element is 0, corresponding to the 0 at the end of + * the sig_name_init list. + * Note that this variable is initialized from the sig_num_init, + * not from sig_num (which is unused). + */ +/* SIG_SIZE: + * This variable contains the number of elements of the SIG_NAME + * and SIG_NUM arrays, excluding the final NULL entry. + */ +#define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "RTMIN", "NUM33", "NUM34", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "CLD", "IOT", "POLL", "UNUSED", 0 /**/ +#define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 17, 6, 29, 31, 0 /**/ +#define SIG_SIZE 69 /**/ + +/* SITEARCH: + * This symbol contains the name of the private library for this package. + * The library is private in the sense that it needn't be in anyone's + * execution path, but it should be accessible by the world. The program + * should be prepared to do ~ expansion. + * The standard distribution will put nothing in this directory. + * After perl has been installed, users may install their own local + * architecture-dependent modules in this directory with + * MakeMaker Makefile.PL + * or equivalent. See INSTALL for details. + */ +/* SITEARCH_EXP: + * This symbol contains the ~name expanded version of SITEARCH, to be used + * in programs that are not prepared to deal with ~ expansion at run-time. + */ +#define SITEARCH "/usr/lib/perl5/site_perl/5.10.0/x86_64-linux" /**/ +#define SITEARCH_EXP "/usr/lib/perl5/site_perl/5.10.0/x86_64-linux" /**/ + +/* SITELIB: + * This symbol contains the name of the private library for this package. + * The library is private in the sense that it needn't be in anyone's + * execution path, but it should be accessible by the world. The program + * should be prepared to do ~ expansion. + * The standard distribution will put nothing in this directory. + * After perl has been installed, users may install their own local + * architecture-independent modules in this directory with + * MakeMaker Makefile.PL + * or equivalent. See INSTALL for details. + */ +/* SITELIB_EXP: + * This symbol contains the ~name expanded version of SITELIB, to be used + * in programs that are not prepared to deal with ~ expansion at run-time. + */ +/* SITELIB_STEM: + * This define is SITELIB_EXP with any trailing version-specific component + * removed. The elements in inc_version_list (inc_version_list.U) can + * be tacked onto this variable to generate a list of directories to search. + */ +#define SITELIB "/usr/lib/perl5/site_perl/5.10.0" /**/ +#define SITELIB_EXP "/usr/lib/perl5/site_perl/5.10.0" /**/ +#define SITELIB_STEM "/usr/lib/perl5/site_perl" /**/ + +/* Size_t_size: + * This symbol holds the size of a Size_t in bytes. + */ +#define Size_t_size 8 /* */ + +/* Size_t: + * This symbol holds the type used to declare length parameters + * for string functions. It is usually size_t, but may be + * unsigned long, int, etc. It may be necessary to include + * <sys/types.h> to get any typedef'ed information. + */ +#define Size_t size_t /* length paramater for string functions */ + +/* Sock_size_t: + * This symbol holds the type used for the size argument of + * various socket calls (just the base type, not the pointer-to). + */ +#define Sock_size_t socklen_t /**/ + +/* STDCHAR: + * This symbol is defined to be the type of char used in stdio.h. + * It has the values "unsigned char" or "char". + */ +#define STDCHAR char /**/ + +/* Uid_t_f: + * This symbol defines the format string used for printing a Uid_t. + */ +#define Uid_t_f "u" /**/ + +/* Uid_t_sign: + * This symbol holds the signedess of a Uid_t. + * 1 for unsigned, -1 for signed. + */ +#define Uid_t_sign 1 /* UID sign */ + +/* Uid_t_size: + * This symbol holds the size of a Uid_t in bytes. + */ +#define Uid_t_size 4 /* UID size */ + +/* Uid_t: + * This symbol holds the type used to declare user ids in the kernel. + * It can be int, ushort, uid_t, etc... It may be necessary to include + * <sys/types.h> to get any typedef'ed information. + */ +#define Uid_t uid_t /* UID type */ + +/* USE_ITHREADS: + * This symbol, if defined, indicates that Perl should be built to + * use the interpreter-based threading implementation. + */ +/* USE_5005THREADS: + * This symbol, if defined, indicates that Perl should be built to + * use the 5.005-based threading implementation. + * Only valid up to 5.8.x. + */ +/* OLD_PTHREADS_API: + * This symbol, if defined, indicates that Perl should + * be built to use the old draft POSIX threads API. + */ +/* USE_REENTRANT_API: + * This symbol, if defined, indicates that Perl should + * try to use the various _r versions of library functions. + * This is extremely experimental. + */ +/*#define USE_5005THREADS / **/ +/*#define USE_ITHREADS / **/ +#if defined(USE_5005THREADS) && !defined(USE_ITHREADS) +#define USE_THREADS /* until src is revised*/ +#endif +/*#define OLD_PTHREADS_API / **/ +/*#define USE_REENTRANT_API / **/ + +/* PERL_VENDORARCH: + * If defined, this symbol contains the name of a private library. + * The library is private in the sense that it needn't be in anyone's + * execution path, but it should be accessible by the world. + * It may have a ~ on the front. + * The standard distribution will put nothing in this directory. + * Vendors who distribute perl may wish to place their own + * architecture-dependent modules and extensions in this directory with + * MakeMaker Makefile.PL INSTALLDIRS=vendor + * or equivalent. See INSTALL for details. + */ +/* PERL_VENDORARCH_EXP: + * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used + * in programs that are not prepared to deal with ~ expansion at run-time. + */ +/*#define PERL_VENDORARCH "" / **/ +/*#define PERL_VENDORARCH_EXP "" / **/ + +/* PERL_VENDORLIB_EXP: + * This symbol contains the ~name expanded version of VENDORLIB, to be used + * in programs that are not prepared to deal with ~ expansion at run-time. + */ +/* PERL_VENDORLIB_STEM: + * This define is PERL_VENDORLIB_EXP with any trailing version-specific component + * removed. The elements in inc_version_list (inc_version_list.U) can + * be tacked onto this variable to generate a list of directories to search. + */ +/*#define PERL_VENDORLIB_EXP "" / **/ +/*#define PERL_VENDORLIB_STEM "" / **/ + +/* VOIDFLAGS: + * This symbol indicates how much support of the void type is given by this + * compiler. What various bits mean: + * + * 1 = supports declaration of void + * 2 = supports arrays of pointers to functions returning void + * 4 = supports comparisons between pointers to void functions and + * addresses of void functions + * 8 = suports declaration of generic void pointers + * + * The package designer should define VOIDUSED to indicate the requirements + * of the package. This can be done either by #defining VOIDUSED before + * including config.h, or by defining defvoidused in Myinit.U. If the + * latter approach is taken, only those flags will be tested. If the + * level of void support necessary is not present, defines void to int. + */ +#ifndef VOIDUSED +#define VOIDUSED 15 +#endif +#define VOIDFLAGS 15 +#if (VOIDFLAGS & VOIDUSED) != VOIDUSED +#define void int /* is void to be avoided? */ +#define M_VOID /* Xenix strikes again */ +#endif + +/* USE_CROSS_COMPILE: + * This symbol, if defined, indicates that Perl is being cross-compiled. + */ +/* PERL_TARGETARCH: + * This symbol, if defined, indicates the target architecture + * Perl has been cross-compiled to. Undefined if not a cross-compile. + */ +#ifndef USE_CROSS_COMPILE +/*#define USE_CROSS_COMPILE / **/ +#define PERL_TARGETARCH "" /**/ +#endif + +/* MEM_ALIGNBYTES: + * This symbol contains the number of bytes required to align a + * double, or a long double when applicable. Usual values are 2, + * 4 and 8. The default is eight, for safety. + */ +#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) +# define MEM_ALIGNBYTES 8 +#else +#define MEM_ALIGNBYTES 8 +#endif + +/* BYTEORDER: + * This symbol holds the hexadecimal constant defined in byteorder, + * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc... + * If the compiler supports cross-compiling or multiple-architecture + * binaries (eg. on NeXT systems), use compiler-defined macros to + * determine the byte order. + * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture + * Binaries (MAB) on either big endian or little endian machines. + * The endian-ness is available at compile-time. This only matters + * for perl, where the config.h can be generated and installed on + * one system, and used by a different architecture to build an + * extension. Older versions of NeXT that might not have + * defined either *_ENDIAN__ were all on Motorola 680x0 series, + * so the default case (for NeXT) is big endian to catch them. + * This might matter for NeXT 3.0. + */ +#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) +# ifdef __LITTLE_ENDIAN__ +# if LONGSIZE == 4 +# define BYTEORDER 0x1234 +# else +# if LONGSIZE == 8 +# define BYTEORDER 0x12345678 +# endif +# endif +# else +# ifdef __BIG_ENDIAN__ +# if LONGSIZE == 4 +# define BYTEORDER 0x4321 +# else +# if LONGSIZE == 8 +# define BYTEORDER 0x87654321 +# endif +# endif +# endif +# endif +# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__)) +# define BYTEORDER 0x4321 +# endif +#else +#define BYTEORDER 0x12345678 /* large digits for MSB */ +#endif /* NeXT */ + +/* CASTI32: + * This symbol is defined if the C compiler can cast negative + * or large floating point numbers to 32-bit ints. + */ +/*#define CASTI32 / **/ + +/* CASTNEGFLOAT: + * This symbol is defined if the C compiler can cast negative + * numbers to unsigned longs, ints and shorts. + */ +/* CASTFLAGS: + * This symbol contains flags that say what difficulties the compiler + * has casting odd floating values to unsigned long: + * 0 = ok + * 1 = couldn't cast < 0 + * 2 = couldn't cast >= 0x80000000 + * 4 = couldn't cast in argument expression list + */ +#define CASTNEGFLOAT /**/ +#define CASTFLAGS 0 /**/ + +/* VOID_CLOSEDIR: + * This symbol, if defined, indicates that the closedir() routine + * does not return a value. + */ +/*#define VOID_CLOSEDIR / **/ + +/* HAS_FD_SET: + * This symbol, when defined, indicates presence of the fd_set typedef + * in <sys/types.h> + */ +#define HAS_FD_SET /**/ + +/* Gconvert: + * This preprocessor macro is defined to convert a floating point + * number to a string without a trailing decimal point. This + * emulates the behavior of sprintf("%g"), but is sometimes much more + * efficient. If gconvert() is not available, but gcvt() drops the + * trailing decimal point, then gcvt() is used. If all else fails, + * a macro using sprintf("%g") is used. Arguments for the Gconvert + * macro are: value, number of digits, whether trailing zeros should + * be retained, and the output buffer. + * The usual values are: + * d_Gconvert='gconvert((x),(n),(t),(b))' + * d_Gconvert='gcvt((x),(n),(b))' + * d_Gconvert='sprintf((b),"%.*g",(n),(x))' + * The last two assume trailing zeros should not be kept. + */ +#define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x)) + +/* HAS_GETPAGESIZE: + * This symbol, if defined, indicates that the getpagesize system call + * is available to get system page size, which is the granularity of + * many memory management calls. + */ +#define HAS_GETPAGESIZE /**/ + +/* HAS_GNULIBC: + * This symbol, if defined, indicates to the C program that + * the GNU C library is being used. A better check is to use + * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc. + */ +/*#define HAS_GNULIBC / **/ +#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) +# define _GNU_SOURCE +#endif +/* HAS_ISASCII: + * This manifest constant lets the C program know that isascii + * is available. + */ +#define HAS_ISASCII /**/ + +/* HAS_LCHOWN: + * This symbol, if defined, indicates that the lchown routine is + * available to operate on a symbolic link (instead of following the + * link). + */ +#define HAS_LCHOWN /**/ + +/* HAS_OPEN3: + * This manifest constant lets the C program know that the three + * argument form of open(2) is available. + */ +#define HAS_OPEN3 /**/ + +/* HAS_SAFE_BCOPY: + * This symbol, if defined, indicates that the bcopy routine is available + * to copy potentially overlapping memory blocks. Normally, you should + * probably use memmove() or memcpy(). If neither is defined, roll your + * own version. + */ +/*#define HAS_SAFE_BCOPY / **/ + +/* HAS_SAFE_MEMCPY: + * This symbol, if defined, indicates that the memcpy routine is available + * to copy potentially overlapping memory blocks. If you need to + * copy overlapping memory blocks, you should check HAS_MEMMOVE and + * use memmove() instead, if available. + */ +/*#define HAS_SAFE_MEMCPY / **/ + +/* HAS_SANE_MEMCMP: + * This symbol, if defined, indicates that the memcmp routine is available + * and can be used to compare relative magnitudes of chars with their high + * bits set. If it is not defined, roll your own version. + */ +#define HAS_SANE_MEMCMP /**/ + +/* HAS_SIGACTION: + * This symbol, if defined, indicates that Vr4's sigaction() routine + * is available. + */ +#define HAS_SIGACTION /**/ + +/* HAS_SIGSETJMP: + * This variable indicates to the C program that the sigsetjmp() + * routine is available to save the calling process's registers + * and stack environment for later use by siglongjmp(), and + * to optionally save the process's signal mask. See + * Sigjmp_buf, Sigsetjmp, and Siglongjmp. + */ +/* Sigjmp_buf: + * This is the buffer type to be used with Sigsetjmp and Siglongjmp. + */ +/* Sigsetjmp: + * This macro is used in the same way as sigsetjmp(), but will invoke + * traditional setjmp() if sigsetjmp isn't available. + * See HAS_SIGSETJMP. + */ +/* Siglongjmp: + * This macro is used in the same way as siglongjmp(), but will invoke + * traditional longjmp() if siglongjmp isn't available. + * See HAS_SIGSETJMP. + */ +#define HAS_SIGSETJMP /**/ +#ifdef HAS_SIGSETJMP +#define Sigjmp_buf sigjmp_buf +#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) +#define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) +#else +#define Sigjmp_buf jmp_buf +#define Sigsetjmp(buf,save_mask) setjmp((buf)) +#define Siglongjmp(buf,retval) longjmp((buf),(retval)) +#endif + +/* USE_STDIO_PTR: + * This symbol is defined if the _ptr and _cnt fields (or similar) + * of the stdio FILE structure can be used to access the stdio buffer + * for a file handle. If this is defined, then the FILE_ptr(fp) + * and FILE_cnt(fp) macros will also be defined and should be used + * to access these fields. + */ +/* FILE_ptr: + * This macro is used to access the _ptr field (or equivalent) of the + * FILE structure pointed to by its argument. This macro will always be + * defined if USE_STDIO_PTR is defined. + */ +/* STDIO_PTR_LVALUE: + * This symbol is defined if the FILE_ptr macro can be used as an + * lvalue. + */ +/* FILE_cnt: + * This macro is used to access the _cnt field (or equivalent) of the + * FILE structure pointed to by its argument. This macro will always be + * defined if USE_STDIO_PTR is defined. + */ +/* STDIO_CNT_LVALUE: + * This symbol is defined if the FILE_cnt macro can be used as an + * lvalue. + */ +/* STDIO_PTR_LVAL_SETS_CNT: + * This symbol is defined if using the FILE_ptr macro as an lvalue + * to increase the pointer by n has the side effect of decreasing the + * value of File_cnt(fp) by n. + */ +/* STDIO_PTR_LVAL_NOCHANGE_CNT: + * This symbol is defined if using the FILE_ptr macro as an lvalue + * to increase the pointer by n leaves File_cnt(fp) unchanged. + */ +/*#define USE_STDIO_PTR / **/ +#ifdef USE_STDIO_PTR +#define FILE_ptr(fp) ((fp)->_ptr) +/*#define STDIO_PTR_LVALUE / **/ +#define FILE_cnt(fp) ((fp)->_cnt) +/*#define STDIO_CNT_LVALUE / **/ +/*#define STDIO_PTR_LVAL_SETS_CNT / **/ +/*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/ +#endif + +/* USE_STDIO_BASE: + * This symbol is defined if the _base field (or similar) of the + * stdio FILE structure can be used to access the stdio buffer for + * a file handle. If this is defined, then the FILE_base(fp) macro + * will also be defined and should be used to access this field. + * Also, the FILE_bufsiz(fp) macro will be defined and should be used + * to determine the number of bytes in the buffer. USE_STDIO_BASE + * will never be defined unless USE_STDIO_PTR is. + */ +/* FILE_base: + * This macro is used to access the _base field (or equivalent) of the + * FILE structure pointed to by its argument. This macro will always be + * defined if USE_STDIO_BASE is defined. + */ +/* FILE_bufsiz: + * This macro is used to determine the number of bytes in the I/O + * buffer pointed to by _base field (or equivalent) of the FILE + * structure pointed to its argument. This macro will always be defined + * if USE_STDIO_BASE is defined. + */ +/*#define USE_STDIO_BASE / **/ +#ifdef USE_STDIO_BASE +#define FILE_base(fp) ((fp)->_base) +#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base) +#endif + +/* HAS_VPRINTF: + * This symbol, if defined, indicates that the vprintf routine is available + * to printf with a pointer to an argument list. If unavailable, you + * may need to write your own, probably in terms of _doprnt(). + */ +/* USE_CHAR_VSPRINTF: + * This symbol is defined if this system has vsprintf() returning type + * (char*). The trend seems to be to declare it as "int vsprintf()". It + * is up to the package author to declare vsprintf correctly based on the + * symbol. + */ +#define HAS_VPRINTF /**/ +/*#define USE_CHAR_VSPRINTF / **/ + +/* DOUBLESIZE: + * This symbol contains the size of a double, so that the C preprocessor + * can make decisions based on it. + */ +#define DOUBLESIZE 8 /**/ + +/* I_TIME: + * This symbol, if defined, indicates to the C program that it should + * include <time.h>. + */ +/* I_SYS_TIME: + * This symbol, if defined, indicates to the C program that it should + * include <sys/time.h>. + */ +/* I_SYS_TIME_KERNEL: + * This symbol, if defined, indicates to the C program that it should + * include <sys/time.h> with KERNEL defined. + */ +/* HAS_TM_TM_ZONE: + * This symbol, if defined, indicates to the C program that + * the struct tm has a tm_zone field. + */ +/* HAS_TM_TM_GMTOFF: + * This symbol, if defined, indicates to the C program that + * the struct tm has a tm_gmtoff field. + */ +#define I_TIME /**/ +#define I_SYS_TIME /**/ +/*#define I_SYS_TIME_KERNEL / **/ +#define HAS_TM_TM_ZONE /**/ +#define HAS_TM_TM_GMTOFF /**/ + +/* VAL_O_NONBLOCK: + * This symbol is to be used during open() or fcntl(F_SETFL) to turn on + * non-blocking I/O for the file descriptor. Note that there is no way + * back, i.e. you cannot turn it blocking again this way. If you wish to + * alternatively switch between blocking and non-blocking, use the + * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. + */ +/* VAL_EAGAIN: + * This symbol holds the errno error code set by read() when no data was + * present on the non-blocking file descriptor. + */ +/* RD_NODATA: + * This symbol holds the return code from read() when no data is present + * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is + * not defined, then you can't distinguish between no data and EOF by + * issuing a read(). You'll have to find another way to tell for sure! + */ +/* EOF_NONBLOCK: + * This symbol, if defined, indicates to the C program that a read() on + * a non-blocking file descriptor will return 0 on EOF, and not the value + * held in RD_NODATA (-1 usually, in that case!). + */ +#define VAL_O_NONBLOCK O_NONBLOCK +#define VAL_EAGAIN EAGAIN +#define RD_NODATA -1 +#define EOF_NONBLOCK + +/* PTRSIZE: + * This symbol contains the size of a pointer, so that the C preprocessor + * can make decisions based on it. It will be sizeof(void *) if + * the compiler supports (void *); otherwise it will be + * sizeof(char *). + */ +#define PTRSIZE 8 /**/ + +/* Drand01: + * This macro is to be used to generate uniformly distributed + * random numbers over the range [0., 1.[. You may have to supply + * an 'extern double drand48();' in your program since SunOS 4.1.3 + * doesn't provide you with anything relevant in its headers. + * See HAS_DRAND48_PROTO. + */ +/* Rand_seed_t: + * This symbol defines the type of the argument of the + * random seed function. + */ +/* seedDrand01: + * This symbol defines the macro to be used in seeding the + * random number generator (see Drand01). + */ +/* RANDBITS: + * This symbol indicates how many bits are produced by the + * function used to generate normalized random numbers. + * Values include 15, 16, 31, and 48. + */ +#define Drand01() drand48() /**/ +#define Rand_seed_t long /**/ +#define seedDrand01(x) srand48((Rand_seed_t)x) /**/ +#define RANDBITS 48 /**/ + +/* SSize_t: + * This symbol holds the type used by functions that return + * a count of bytes or an error condition. It must be a signed type. + * It is usually ssize_t, but may be long or int, etc. + * It may be necessary to include <sys/types.h> or <unistd.h> + * to get any typedef'ed information. + * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). + */ +#define SSize_t ssize_t /* signed count of bytes */ + +/* EBCDIC: + * This symbol, if defined, indicates that this system uses + * EBCDIC encoding. + */ +/*#define EBCDIC / **/ + +/* HAS_ATOLF: + * This symbol, if defined, indicates that the atolf routine is + * available to convert strings into long doubles. + */ +/*#define HAS_ATOLF / **/ + +/* HAS_ATOLL: + * This symbol, if defined, indicates that the atoll routine is + * available to convert strings into long longs. + */ +#define HAS_ATOLL /**/ + +/* HAS__FWALK: + * This symbol, if defined, indicates that the _fwalk system call is + * available to apply a function to all the file handles. + */ +/*#define HAS__FWALK / **/ + +/* HAS_AINTL: + * This symbol, if defined, indicates that the aintl routine is + * available. If copysignl is also present we can emulate modfl. + */ +/*#define HAS_AINTL / **/ + +/* HAS_BUILTIN_CHOOSE_EXPR: + * Can we handle GCC builtin for compile-time ternary-like expressions + */ +/* HAS_BUILTIN_EXPECT: + * Can we handle GCC builtin for telling that certain values are more + * likely + */ +/*#define HAS_BUILTIN_EXPECT / **/ +#define HAS_BUILTIN_CHOOSE_EXPR /**/ + +/* HAS_C99_VARIADIC_MACROS: + * If defined, the compiler supports C99 variadic macros. + */ +#define HAS_C99_VARIADIC_MACROS /**/ + +/* HAS_CLASS: + * This symbol, if defined, indicates that the class routine is + * available to classify doubles. Available for example in AIX. + * The returned values are defined in <float.h> and are: + * + * FP_PLUS_NORM Positive normalized, nonzero + * FP_MINUS_NORM Negative normalized, nonzero + * FP_PLUS_DENORM Positive denormalized, nonzero + * FP_MINUS_DENORM Negative denormalized, nonzero + * FP_PLUS_ZERO +0.0 + * FP_MINUS_ZERO -0.0 + * FP_PLUS_INF +INF + * FP_MINUS_INF -INF + * FP_NANS Signaling Not a Number (NaNS) + * FP_NANQ Quiet Not a Number (NaNQ) + */ +/*#define HAS_CLASS / **/ + +/* HAS_CLEARENV: + * This symbol, if defined, indicates that the clearenv () routine is + * available for use. + */ +#define HAS_CLEARENV /**/ + +/* HAS_STRUCT_CMSGHDR: + * This symbol, if defined, indicates that the struct cmsghdr + * is supported. + */ +#define HAS_STRUCT_CMSGHDR /**/ + +/* HAS_COPYSIGNL: + * This symbol, if defined, indicates that the copysignl routine is + * available. If aintl is also present we can emulate modfl. + */ +/*#define HAS_COPYSIGNL / **/ + +/* USE_CPLUSPLUS: + * This symbol, if defined, indicates that a C++ compiler was + * used to compiled Perl and will be used to compile extensions. + */ +/*#define USE_CPLUSPLUS / **/ + +/* HAS_DBMINIT_PROTO: + * This symbol, if defined, indicates that the system provides + * a prototype for the dbminit() function. Otherwise, it is up + * to the program to supply one. A good guess is + * extern int dbminit(char *); + */ +/*#define HAS_DBMINIT_PROTO / **/ + +/* HAS_DIR_DD_FD: + * This symbol, if defined, indicates that the the DIR* dirstream + * structure contains a member variable named dd_fd. + */ +/*#define HAS_DIR_DD_FD / **/ + +/* HAS_DIRFD: + * This manifest constant lets the C program know that dirfd + * is available. + */ +#define HAS_DIRFD /**/ + +/* DLSYM_NEEDS_UNDERSCORE: + * This symbol, if defined, indicates that we need to prepend an + * underscore to the symbol name before calling dlsym(). This only + * makes sense if you *have* dlsym, which we will presume is the + * case if you're using dl_dlopen.xs. + */ +/*#define DLSYM_NEEDS_UNDERSCORE / **/ + +/* HAS_FAST_STDIO: + * This symbol, if defined, indicates that the "fast stdio" + * is available to manipulate the stdio buffers directly. + */ +/*#define HAS_FAST_STDIO / **/ + +/* HAS_FCHDIR: + * This symbol, if defined, indicates that the fchdir routine is + * available to change directory using a file descriptor. + */ +#define HAS_FCHDIR /**/ + +/* FCNTL_CAN_LOCK: + * This symbol, if defined, indicates that fcntl() can be used + * for file locking. Normally on Unix systems this is defined. + * It may be undefined on VMS. + */ +#define FCNTL_CAN_LOCK /**/ + +/* HAS_FINITE: + * This symbol, if defined, indicates that the finite routine is + * available to check whether a double is finite (non-infinity non-NaN). + */ +/*#define HAS_FINITE / **/ + +/* HAS_FINITEL: + * This symbol, if defined, indicates that the finitel routine is + * available to check whether a long double is finite + * (non-infinity non-NaN). + */ +/*#define HAS_FINITEL / **/ + +/* HAS_FLOCK_PROTO: + * This symbol, if defined, indicates that the system provides + * a prototype for the flock() function. Otherwise, it is up + * to the program to supply one. A good guess is + * extern int flock(int, int); + */ +#define HAS_FLOCK_PROTO /**/ + +/* HAS_FP_CLASS: + * This symbol, if defined, indicates that the fp_class routine is + * available to classify doubles. Available for example in Digital UNIX. + * The returned values are defined in <math.h> and are: + * + * FP_SNAN Signaling NaN (Not-a-Number) + * FP_QNAN Quiet NaN (Not-a-Number) + * FP_POS_INF +infinity + * FP_NEG_INF -infinity + * FP_POS_NORM Positive normalized + * FP_NEG_NORM Negative normalized + * FP_POS_DENORM Positive denormalized + * FP_NEG_DENORM Negative denormalized + * FP_POS_ZERO +0.0 (positive zero) + * FP_NEG_ZERO -0.0 (negative zero) + */ +/*#define HAS_FP_CLASS / **/ + +/* HAS_FPCLASS: + * This symbol, if defined, indicates that the fpclass routine is + * available to classify doubles. Available for example in Solaris/SVR4. + * The returned values are defined in <ieeefp.h> and are: + * + * FP_SNAN signaling NaN + * FP_QNAN quiet NaN + * FP_NINF negative infinity + * FP_PINF positive infinity + * FP_NDENORM negative denormalized non-zero + * FP_PDENORM positive denormalized non-zero + * FP_NZERO negative zero + * FP_PZERO positive zero + * FP_NNORM negative normalized non-zero + * FP_PNORM positive normalized non-zero + */ +/*#define HAS_FPCLASS / **/ + +/* HAS_FPCLASSIFY: + * This symbol, if defined, indicates that the fpclassify routine is + * available to classify doubles. Available for example in HP-UX. + * The returned values are defined in <math.h> and are + * + * FP_NORMAL Normalized + * FP_ZERO Zero + * FP_INFINITE Infinity + * FP_SUBNORMAL Denormalized + * FP_NAN NaN + * + */ +/*#define HAS_FPCLASSIFY / **/ + +/* HAS_FPCLASSL: + * This symbol, if defined, indicates that the fpclassl routine is + * available to classify long doubles. Available for example in IRIX. + * The returned values are defined in <ieeefp.h> and are: + * + * FP_SNAN signaling NaN + * FP_QNAN quiet NaN + * FP_NINF negative infinity + * FP_PINF positive infinity + * FP_NDENORM negative denormalized non-zero + * FP_PDENORM positive denormalized non-zero + * FP_NZERO negative zero + * FP_PZERO positive zero + * FP_NNORM negative normalized non-zero + * FP_PNORM positive normalized non-zero + */ +/*#define HAS_FPCLASSL / **/ + +/* HAS_FPOS64_T: + * This symbol will be defined if the C compiler supports fpos64_t. + */ +/*#define HAS_FPOS64_T / **/ + +/* HAS_FREXPL: + * This symbol, if defined, indicates that the frexpl routine is + * available to break a long double floating-point number into + * a normalized fraction and an integral power of 2. + */ +/*#define HAS_FREXPL / **/ + +/* HAS_STRUCT_FS_DATA: + * This symbol, if defined, indicates that the struct fs_data + * to do statfs() is supported. + */ +/*#define HAS_STRUCT_FS_DATA / **/ + +/* HAS_FSEEKO: + * This symbol, if defined, indicates that the fseeko routine is + * available to fseek beyond 32 bits (useful for ILP32 hosts). + */ +#define HAS_FSEEKO /**/ + +/* HAS_FSTATFS: + * This symbol, if defined, indicates that the fstatfs routine is + * available to stat filesystems by file descriptors. + */ +#define HAS_FSTATFS /**/ + +/* HAS_FSYNC: + * This symbol, if defined, indicates that the fsync routine is + * available to write a file's modified data and attributes to + * permanent storage. + */ +#define HAS_FSYNC /**/ + +/* HAS_FTELLO: + * This symbol, if defined, indicates that the ftello routine is + * available to ftell beyond 32 bits (useful for ILP32 hosts). + */ +#define HAS_FTELLO /**/ + +/* HAS_FUTIMES: + * This symbol, if defined, indicates that the futimes routine is + * available to change file descriptor time stamps with struct timevals. + */ +/*#define HAS_FUTIMES / **/ + +/* HAS_GETCWD: + * This symbol, if defined, indicates that the getcwd routine is + * available to get the current working directory. + */ +#define HAS_GETCWD /**/ + +/* HAS_GETESPWNAM: + * This symbol, if defined, indicates that the getespwnam system call is + * available to retrieve enchanced (shadow) password entries by name. + */ +/*#define HAS_GETESPWNAM / **/ + +/* HAS_GETFSSTAT: + * This symbol, if defined, indicates that the getfsstat routine is + * available to stat filesystems in bulk. + */ +/*#define HAS_GETFSSTAT / **/ + +/* HAS_GETITIMER: + * This symbol, if defined, indicates that the getitimer routine is + * available to return interval timers. + */ +#define HAS_GETITIMER /**/ + +/* HAS_GETMNT: + * This symbol, if defined, indicates that the getmnt routine is + * available to get filesystem mount info by filename. + */ +/*#define HAS_GETMNT / **/ + +/* HAS_GETMNTENT: + * This symbol, if defined, indicates that the getmntent routine is + * available to iterate through mounted file systems to get their info. + */ +#define HAS_GETMNTENT /**/ + +/* HAS_GETPRPWNAM: + * This symbol, if defined, indicates that the getprpwnam system call is + * available to retrieve protected (shadow) password entries by name. + */ +/*#define HAS_GETPRPWNAM / **/ + +/* HAS_GETSPNAM: + * This symbol, if defined, indicates that the getspnam system call is + * available to retrieve SysV shadow password entries by name. + */ +#define HAS_GETSPNAM /**/ + +/* HAS_HASMNTOPT: + * This symbol, if defined, indicates that the hasmntopt routine is + * available to query the mount options of file systems. + */ +#define HAS_HASMNTOPT /**/ + +/* HAS_ILOGBL: + * This symbol, if defined, indicates that the ilogbl routine is + * available. If scalbnl is also present we can emulate frexpl. + */ +/*#define HAS_ILOGBL / **/ + +/* HAS_INT64_T: + * This symbol will defined if the C compiler supports int64_t. + * Usually the <inttypes.h> needs to be included, but sometimes + * <sys/types.h> is enough. + */ +#define HAS_INT64_T /**/ + +/* HAS_ISFINITE: + * This symbol, if defined, indicates that the isfinite routine is + * available to check whether a double is finite (non-infinity non-NaN). + */ +/*#define HAS_ISFINITE / **/ + +/* HAS_ISINF: + * This symbol, if defined, indicates that the isinf routine is + * available to check whether a double is an infinity. + */ +/*#define HAS_ISINF / **/ + +/* HAS_ISNAN: + * This symbol, if defined, indicates that the isnan routine is + * available to check whether a double is a NaN. + */ +/*#define HAS_ISNAN / **/ + +/* HAS_ISNANL: + * This symbol, if defined, indicates that the isnanl routine is + * available to check whether a long double is a NaN. + */ +/*#define HAS_ISNANL / **/ + +/* HAS_LDBL_DIG: + * This symbol, if defined, indicates that this system's <float.h> + * or <limits.h> defines the symbol LDBL_DIG, which is the number + * of significant digits in a long double precision number. Unlike + * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined. + */ +#define HAS_LDBL_DIG /* */ + +/* LIBM_LIB_VERSION: + * This symbol, if defined, indicates that libm exports _LIB_VERSION + * and that math.h defines the enum to manipulate it. + */ +/*#define LIBM_LIB_VERSION / **/ + +/* HAS_MADVISE: + * This symbol, if defined, indicates that the madvise system call is + * available to map a file into memory. + */ +#define HAS_MADVISE /**/ + +/* HAS_MALLOC_SIZE: + * This symbol, if defined, indicates that the malloc_size + * routine is available for use. + */ +/*#define HAS_MALLOC_SIZE / **/ + +/* HAS_MALLOC_GOOD_SIZE: + * This symbol, if defined, indicates that the malloc_good_size + * routine is available for use. + */ +/*#define HAS_MALLOC_GOOD_SIZE / **/ + +/* HAS_MKDTEMP: + * This symbol, if defined, indicates that the mkdtemp routine is + * available to exclusively create a uniquely named temporary directory. + */ +#define HAS_MKDTEMP /**/ + +/* HAS_MKSTEMPS: + * This symbol, if defined, indicates that the mkstemps routine is + * available to excluslvely create and open a uniquely named + * (with a suffix) temporary file. + */ +/*#define HAS_MKSTEMPS / **/ + +/* HAS_MODFL: + * This symbol, if defined, indicates that the modfl routine is + * available to split a long double x into a fractional part f and + * an integer part i such that |f| < 1.0 and (f + i) = x. + */ +/* HAS_MODFL_PROTO: + * This symbol, if defined, indicates that the system provides + * a prototype for the modfl() function. Otherwise, it is up + * to the program to supply one. + */ +/* HAS_MODFL_POW32_BUG: + * This symbol, if defined, indicates that the modfl routine is + * broken for long doubles >= pow(2, 32). + * For example from 4294967303.150000 one would get 4294967302.000000 + * and 1.150000. The bug has been seen in certain versions of glibc, + * release 2.2.2 is known to be okay. + */ +/*#define HAS_MODFL / **/ +#define HAS_MODFL_PROTO /**/ +/*#define HAS_MODFL_POW32_BUG / **/ + +/* HAS_MPROTECT: + * This symbol, if defined, indicates that the mprotect system call is + * available to modify the access protection of a memory mapped file. + */ +#define HAS_MPROTECT /**/ + +/* HAS_STRUCT_MSGHDR: + * This symbol, if defined, indicates that the struct msghdr + * is supported. + */ +#define HAS_STRUCT_MSGHDR /**/ + +/* HAS_NL_LANGINFO: + * This symbol, if defined, indicates that the nl_langinfo routine is + * available to return local data. You will also need <langinfo.h> + * and therefore I_LANGINFO. + */ +#define HAS_NL_LANGINFO /**/ + +/* HAS_OFF64_T: + * This symbol will be defined if the C compiler supports off64_t. + */ +/*#define HAS_OFF64_T / **/ + +/* HAS_PROCSELFEXE: + * This symbol is defined if PROCSELFEXE_PATH is a symlink + * to the absolute pathname of the executing program. + */ +/* PROCSELFEXE_PATH: + * If HAS_PROCSELFEXE is defined this symbol is the filename + * of the symbolic link pointing to the absolute pathname of + * the executing program. + */ +/*#define HAS_PROCSELFEXE / **/ +#if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH) +#define PROCSELFEXE_PATH /**/ +#endif + +/* HAS_PTHREAD_ATTR_SETSCOPE: + * This symbol, if defined, indicates that the pthread_attr_setscope + * system call is available to set the contention scope attribute of + * a thread attribute object. + */ +#define HAS_PTHREAD_ATTR_SETSCOPE /**/ + +/* HAS_READV: + * This symbol, if defined, indicates that the readv routine is + * available to do gather reads. You will also need <sys/uio.h> + * and there I_SYSUIO. + */ +#define HAS_READV /**/ + +/* HAS_RECVMSG: + * This symbol, if defined, indicates that the recvmsg routine is + * available to send structured socket messages. + */ +#define HAS_RECVMSG /**/ + +/* HAS_SBRK_PROTO: + * This symbol, if defined, indicates that the system provides + * a prototype for the sbrk() function. Otherwise, it is up + * to the program to supply one. Good guesses are + * extern void* sbrk(int); + * extern void* sbrk(size_t); + */ +#define HAS_SBRK_PROTO /**/ + +/* HAS_SCALBNL: + * This symbol, if defined, indicates that the scalbnl routine is + * available. If ilogbl is also present we can emulate frexpl. + */ +/*#define HAS_SCALBNL / **/ + +/* HAS_SENDMSG: + * This symbol, if defined, indicates that the sendmsg routine is + * available to send structured socket messages. + */ +#define HAS_SENDMSG /**/ + +/* HAS_SETITIMER: + * This symbol, if defined, indicates that the setitimer routine is + * available to set interval timers. + */ +#define HAS_SETITIMER /**/ + +/* HAS_SETPROCTITLE: + * This symbol, if defined, indicates that the setproctitle routine is + * available to set process title. + */ +/*#define HAS_SETPROCTITLE / **/ + +/* USE_SFIO: + * This symbol, if defined, indicates that sfio should + * be used. + */ +/*#define USE_SFIO / **/ + +/* HAS_SIGNBIT: + * This symbol, if defined, indicates that the signbit routine is + * available to check if the given number has the sign bit set. + * This should include correct testing of -0.0. This will only be set + * if the signbit() routine is safe to use with the NV type used internally + * in perl. Users should call Perl_signbit(), which will be #defined to + * the system's signbit() function or macro if this symbol is defined. + */ +#define HAS_SIGNBIT /**/ + +/* HAS_SIGPROCMASK: + * This symbol, if defined, indicates that the sigprocmask + * system call is available to examine or change the signal mask + * of the calling process. + */ +#define HAS_SIGPROCMASK /**/ + +/* USE_SITECUSTOMIZE: + * This symbol, if defined, indicates that sitecustomize should + * be used. + */ +#ifndef USE_SITECUSTOMIZE +/*#define USE_SITECUSTOMIZE / **/ +#endif + +/* HAS_SNPRINTF: + * This symbol, if defined, indicates that the snprintf () library + * function is available for use. + */ +/* HAS_VSNPRINTF: + * This symbol, if defined, indicates that the vsnprintf () library + * function is available for use. + */ +#define HAS_SNPRINTF /**/ +#define HAS_VSNPRINTF /**/ + +/* HAS_SOCKATMARK: + * This symbol, if defined, indicates that the sockatmark routine is + * available to test whether a socket is at the out-of-band mark. + */ +/*#define HAS_SOCKATMARK / **/ + +/* HAS_SOCKATMARK_PROTO: + * This symbol, if defined, indicates that the system provides + * a prototype for the sockatmark() function. Otherwise, it is up + * to the program to supply one. A good guess is + * extern int sockatmark(int); + */ +/*#define HAS_SOCKATMARK_PROTO / **/ + +/* HAS_SOCKS5_INIT: + * This symbol, if defined, indicates that the socks5_init routine is + * available to initialize SOCKS 5. + */ +/*#define HAS_SOCKS5_INIT / **/ + +/* SPRINTF_RETURNS_STRLEN: + * This variable defines whether sprintf returns the length of the string + * (as per the ANSI spec). Some C libraries retain compatibility with + * pre-ANSI C and return a pointer to the passed in buffer; for these + * this variable will be undef. + */ +#define SPRINTF_RETURNS_STRLEN /**/ + +/* HAS_SQRTL: + * This symbol, if defined, indicates that the sqrtl routine is + * available to do long double square roots. + */ +/*#define HAS_SQRTL / **/ + +/* HAS_SETRESGID_PROTO: + * This symbol, if defined, indicates that the system provides + * a prototype for the setresgid() function. Otherwise, it is up + * to the program to supply one. Good guesses are + * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid); + */ +/*#define HAS_SETRESGID_PROTO / **/ + +/* HAS_SETRESUID_PROTO: + * This symbol, if defined, indicates that the system provides + * a prototype for the setresuid() function. Otherwise, it is up + * to the program to supply one. Good guesses are + * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid); + */ +/*#define HAS_SETRESUID_PROTO / **/ + +/* HAS_STRUCT_STATFS_F_FLAGS: + * This symbol, if defined, indicates that the struct statfs + * does have the f_flags member containing the mount flags of + * the filesystem containing the file. + * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), + * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not + * have statfs() and struct statfs, they have ustat() and getmnt() + * with struct ustat and struct fs_data. + */ +/*#define HAS_STRUCT_STATFS_F_FLAGS / **/ + +/* HAS_STRUCT_STATFS: + * This symbol, if defined, indicates that the struct statfs + * to do statfs() is supported. + */ +#define HAS_STRUCT_STATFS /**/ + +/* HAS_FSTATVFS: + * This symbol, if defined, indicates that the fstatvfs routine is + * available to stat filesystems by file descriptors. + */ +#define HAS_FSTATVFS /**/ + +/* HAS_STRFTIME: + * This symbol, if defined, indicates that the strftime routine is + * available to do time formatting. + */ +#define HAS_STRFTIME /**/ + +/* HAS_STRLCAT: + * This symbol, if defined, indicates that the strlcat () routine is + * available to do string concatenation. + */ +#define HAS_STRLCAT /**/ + +/* HAS_STRLCPY: + * This symbol, if defined, indicates that the strlcpy () routine is + * available to do string copying. + */ +/*#define HAS_STRLCPY / **/ + +/* HAS_STRTOLD: + * This symbol, if defined, indicates that the strtold routine is + * available to convert strings to long doubles. + */ +#define HAS_STRTOLD /**/ + +/* HAS_STRTOLL: + * This symbol, if defined, indicates that the strtoll routine is + * available to convert strings to long longs. + */ +#define HAS_STRTOLL /**/ + +/* HAS_STRTOQ: + * This symbol, if defined, indicates that the strtoq routine is + * available to convert strings to long longs (quads). + */ +/*#define HAS_STRTOQ / **/ + +/* HAS_STRTOULL: + * This symbol, if defined, indicates that the strtoull routine is + * available to convert strings to unsigned long longs. + */ +#define HAS_STRTOULL /**/ + +/* HAS_STRTOUQ: + * This symbol, if defined, indicates that the strtouq routine is + * available to convert strings to unsigned long longs (quads). + */ +/*#define HAS_STRTOUQ / **/ + +/* HAS_SYSCALL_PROTO: + * This symbol, if defined, indicates that the system provides + * a prototype for the syscall() function. Otherwise, it is up + * to the program to supply one. Good guesses are + * extern int syscall(int, ...); + * extern int syscall(long, ...); + */ +#define HAS_SYSCALL_PROTO /**/ + +/* HAS_TELLDIR_PROTO: + * This symbol, if defined, indicates that the system provides + * a prototype for the telldir() function. Otherwise, it is up + * to the program to supply one. A good guess is + * extern long telldir(DIR*); + */ +#define HAS_TELLDIR_PROTO /**/ + +/* U32_ALIGNMENT_REQUIRED: + * This symbol, if defined, indicates that you must access + * character data through U32-aligned pointers. + */ +#ifndef U32_ALIGNMENT_REQUIRED +#define U32_ALIGNMENT_REQUIRED /**/ +#endif + +/* HAS_UALARM: + * This symbol, if defined, indicates that the ualarm routine is + * available to do alarms with microsecond granularity. + */ +#define HAS_UALARM /**/ + +/* HAS_UNORDERED: + * This symbol, if defined, indicates that the unordered routine is + * available to check whether two doubles are unordered + * (effectively: whether either of them is NaN) + */ +/*#define HAS_UNORDERED / **/ + +/* HAS_UNSETENV: + * This symbol, if defined, indicates that the unsetenv () routine is + * available for use. + */ +#define HAS_UNSETENV /**/ + +/* HAS_USLEEP_PROTO: + * This symbol, if defined, indicates that the system provides + * a prototype for the usleep() function. Otherwise, it is up + * to the program to supply one. A good guess is + * extern int usleep(useconds_t); + */ +#define HAS_USLEEP_PROTO /**/ + +/* HAS_USTAT: + * This symbol, if defined, indicates that the ustat system call is + * available to query file system statistics by dev_t. + */ +/*#define HAS_USTAT / **/ + +/* HAS_WRITEV: + * This symbol, if defined, indicates that the writev routine is + * available to do scatter writes. + */ +#define HAS_WRITEV /**/ + +/* USE_DYNAMIC_LOADING: + * This symbol, if defined, indicates that dynamic loading of + * some sort is available. + */ +/*#define USE_DYNAMIC_LOADING / **/ + +/* FFLUSH_NULL: + * This symbol, if defined, tells that fflush(NULL) does flush + * all pending stdio output. + */ +/* FFLUSH_ALL: + * This symbol, if defined, tells that to flush + * all pending stdio output one must loop through all + * the stdio file handles stored in an array and fflush them. + * Note that if fflushNULL is defined, fflushall will not + * even be probed for and will be left undefined. + */ +/*#define FFLUSH_NULL / **/ +/*#define FFLUSH_ALL / **/ + +/* I_CRYPT: + * This symbol, if defined, indicates that <crypt.h> exists and + * should be included. + */ +#define I_CRYPT /**/ + +/* DB_Prefix_t: + * This symbol contains the type of the prefix structure element + * in the <db.h> header file. In older versions of DB, it was + * int, while in newer ones it is u_int32_t. + */ +/* DB_Hash_t: + * This symbol contains the type of the prefix structure element + * in the <db.h> header file. In older versions of DB, it was + * int, while in newer ones it is size_t. + */ +/* DB_VERSION_MAJOR_CFG: + * This symbol, if defined, defines the major version number of + * Berkeley DB found in the <db.h> header when Perl was configured. + */ +/* DB_VERSION_MINOR_CFG: + * This symbol, if defined, defines the minor version number of + * Berkeley DB found in the <db.h> header when Perl was configured. + * For DB version 1 this is always 0. + */ +/* DB_VERSION_PATCH_CFG: + * This symbol, if defined, defines the patch version number of + * Berkeley DB found in the <db.h> header when Perl was configured. + * For DB version 1 this is always 0. + */ +#define DB_Hash_t u_int32_t /**/ +#define DB_Prefix_t size_t /**/ +#define DB_VERSION_MAJOR_CFG /**/ +#define DB_VERSION_MINOR_CFG /**/ +#define DB_VERSION_PATCH_CFG /**/ + +/* I_FP: + * This symbol, if defined, indicates that <fp.h> exists and + * should be included. + */ +/*#define I_FP / **/ + +/* I_FP_CLASS: + * This symbol, if defined, indicates that <fp_class.h> exists and + * should be included. + */ +/*#define I_FP_CLASS / **/ + +/* I_IEEEFP: + * This symbol, if defined, indicates that <ieeefp.h> exists and + * should be included. + */ +/*#define I_IEEEFP / **/ + +/* I_INTTYPES: + * This symbol, if defined, indicates to the C program that it should + * include <inttypes.h>. + */ +#define I_INTTYPES /**/ + +/* I_LANGINFO: + * This symbol, if defined, indicates that <langinfo.h> exists and + * should be included. + */ +#define I_LANGINFO /**/ + +/* I_LIBUTIL: + * This symbol, if defined, indicates that <libutil.h> exists and + * should be included. + */ +/*#define I_LIBUTIL / **/ + +/* I_MNTENT: + * This symbol, if defined, indicates that <mntent.h> exists and + * should be included. + */ +#define I_MNTENT /**/ + +/* I_NETINET_TCP: + * This symbol, if defined, indicates to the C program that it should + * include <netinet/tcp.h>. + */ +#define I_NETINET_TCP /**/ + +/* I_POLL: + * This symbol, if defined, indicates that <poll.h> exists and + * should be included. (see also HAS_POLL) + */ +#define I_POLL /**/ + +/* I_PROT: + * This symbol, if defined, indicates that <prot.h> exists and + * should be included. + */ +/*#define I_PROT / **/ + +/* I_SHADOW: + * This symbol, if defined, indicates that <shadow.h> exists and + * should be included. + */ +#define I_SHADOW /**/ + +/* I_SOCKS: + * This symbol, if defined, indicates that <socks.h> exists and + * should be included. + */ +/*#define I_SOCKS / **/ + +/* I_SUNMATH: + * This symbol, if defined, indicates that <sunmath.h> exists and + * should be included. + */ +/*#define I_SUNMATH / **/ + +/* I_SYSLOG: + * This symbol, if defined, indicates that <syslog.h> exists and + * should be included. + */ +#define I_SYSLOG /**/ + +/* I_SYSMODE: + * This symbol, if defined, indicates that <sys/mode.h> exists and + * should be included. + */ +/*#define I_SYSMODE / **/ + +/* I_SYS_MOUNT: + * This symbol, if defined, indicates that <sys/mount.h> exists and + * should be included. + */ +#define I_SYS_MOUNT /**/ + +/* I_SYS_STATFS: + * This symbol, if defined, indicates that <sys/statfs.h> exists. + */ +#define I_SYS_STATFS /**/ + +/* I_SYS_STATVFS: + * This symbol, if defined, indicates that <sys/statvfs.h> exists and + * should be included. + */ +#define I_SYS_STATVFS /**/ + +/* I_SYSUTSNAME: + * This symbol, if defined, indicates that <sys/utsname.h> exists and + * should be included. + */ +#define I_SYSUTSNAME /**/ + +/* I_SYS_VFS: + * This symbol, if defined, indicates that <sys/vfs.h> exists and + * should be included. + */ +#define I_SYS_VFS /**/ + +/* I_USTAT: + * This symbol, if defined, indicates that <ustat.h> exists and + * should be included. + */ +/*#define I_USTAT / **/ + +/* PERL_PRIfldbl: + * This symbol, if defined, contains the string used by stdio to + * format long doubles (format 'f') for output. + */ +/* PERL_PRIgldbl: + * This symbol, if defined, contains the string used by stdio to + * format long doubles (format 'g') for output. + */ +/* PERL_PRIeldbl: + * This symbol, if defined, contains the string used by stdio to + * format long doubles (format 'e') for output. + */ +/* PERL_SCNfldbl: + * This symbol, if defined, contains the string used by stdio to + * format long doubles (format 'f') for input. + */ +#define PERL_PRIfldbl "Lf" /**/ +#define PERL_PRIgldbl "Lg" /**/ +#define PERL_PRIeldbl "Le" /**/ +#define PERL_SCNfldbl "Lf" /**/ + +/* PERL_MAD: + * This symbol, if defined, indicates that the Misc Attribution + * Declaration code should be conditionally compiled. + */ +/*#define PERL_MAD / **/ + +/* NEED_VA_COPY: + * This symbol, if defined, indicates that the system stores + * the variable argument list datatype, va_list, in a format + * that cannot be copied by simple assignment, so that some + * other means must be used when copying is required. + * As such systems vary in their provision (or non-provision) + * of copying mechanisms, handy.h defines a platform- + * independent macro, Perl_va_copy(src, dst), to do the job. + */ +#define NEED_VA_COPY /**/ + +/* IVTYPE: + * This symbol defines the C type used for Perl's IV. + */ +/* UVTYPE: + * This symbol defines the C type used for Perl's UV. + */ +/* I8TYPE: + * This symbol defines the C type used for Perl's I8. + */ +/* U8TYPE: + * This symbol defines the C type used for Perl's U8. + */ +/* I16TYPE: + * This symbol defines the C type used for Perl's I16. + */ +/* U16TYPE: + * This symbol defines the C type used for Perl's U16. + */ +/* I32TYPE: + * This symbol defines the C type used for Perl's I32. + */ +/* U32TYPE: + * This symbol defines the C type used for Perl's U32. + */ +/* I64TYPE: + * This symbol defines the C type used for Perl's I64. + */ +/* U64TYPE: + * This symbol defines the C type used for Perl's U64. + */ +/* NVTYPE: + * This symbol defines the C type used for Perl's NV. + */ +/* IVSIZE: + * This symbol contains the sizeof(IV). + */ +/* UVSIZE: + * This symbol contains the sizeof(UV). + */ +/* I8SIZE: + * This symbol contains the sizeof(I8). + */ +/* U8SIZE: + * This symbol contains the sizeof(U8). + */ +/* I16SIZE: + * This symbol contains the sizeof(I16). + */ +/* U16SIZE: + * This symbol contains the sizeof(U16). + */ +/* I32SIZE: + * This symbol contains the sizeof(I32). + */ +/* U32SIZE: + * This symbol contains the sizeof(U32). + */ +/* I64SIZE: + * This symbol contains the sizeof(I64). + */ +/* U64SIZE: + * This symbol contains the sizeof(U64). + */ +/* NVSIZE: + * This symbol contains the sizeof(NV). + */ +/* NV_PRESERVES_UV: + * This symbol, if defined, indicates that a variable of type NVTYPE + * can preserve all the bits of a variable of type UVTYPE. + */ +/* NV_PRESERVES_UV_BITS: + * This symbol contains the number of bits a variable of type NVTYPE + * can preserve of a variable of type UVTYPE. + */ +/* NV_ZERO_IS_ALLBITS_ZERO: + * This symbol, if defined, indicates that a variable of type NVTYPE + * stores 0.0 in memory as all bits zero. + */ +#define IVTYPE long /**/ +#define UVTYPE unsigned long /**/ +#define I8TYPE char /**/ +#define U8TYPE unsigned char /**/ +#define I16TYPE short /**/ +#define U16TYPE unsigned short /**/ +#define I32TYPE int /**/ +#define U32TYPE unsigned int /**/ +#ifdef HAS_QUAD +#define I64TYPE long /**/ +#define U64TYPE unsigned long /**/ +#endif +#define NVTYPE double /**/ +#define IVSIZE 8 /**/ +#define UVSIZE 8 /**/ +#define I8SIZE 1 /**/ +#define U8SIZE 1 /**/ +#define I16SIZE 2 /**/ +#define U16SIZE 2 /**/ +#define I32SIZE 4 /**/ +#define U32SIZE 4 /**/ +#ifdef HAS_QUAD +#define I64SIZE 8 /**/ +#define U64SIZE 8 /**/ +#endif +#define NVSIZE 8 /**/ +#undef NV_PRESERVES_UV +#define NV_PRESERVES_UV_BITS 53 +#define NV_ZERO_IS_ALLBITS_ZERO +#if UVSIZE == 8 +# ifdef BYTEORDER +# if BYTEORDER == 0x1234 +# undef BYTEORDER +# define BYTEORDER 0x12345678 +# else +# if BYTEORDER == 0x4321 +# undef BYTEORDER +# define BYTEORDER 0x87654321 +# endif +# endif +# endif +#endif + +/* IVdf: + * This symbol defines the format string used for printing a Perl IV + * as a signed decimal integer. + */ +/* UVuf: + * This symbol defines the format string used for printing a Perl UV + * as an unsigned decimal integer. + */ +/* UVof: + * This symbol defines the format string used for printing a Perl UV + * as an unsigned octal integer. + */ +/* UVxf: + * This symbol defines the format string used for printing a Perl UV + * as an unsigned hexadecimal integer in lowercase abcdef. + */ +/* UVXf: + * This symbol defines the format string used for printing a Perl UV + * as an unsigned hexadecimal integer in uppercase ABCDEF. + */ +/* NVef: + * This symbol defines the format string used for printing a Perl NV + * using %e-ish floating point format. + */ +/* NVff: + * This symbol defines the format string used for printing a Perl NV + * using %f-ish floating point format. + */ +/* NVgf: + * This symbol defines the format string used for printing a Perl NV + * using %g-ish floating point format. + */ +#define IVdf "ld" /**/ +#define UVuf "lu" /**/ +#define UVof "lo" /**/ +#define UVxf "lx" /**/ +#define UVXf "lX" /**/ +#define NVef "e" /**/ +#define NVff "f" /**/ +#define NVgf "g" /**/ + +/* SELECT_MIN_BITS: + * This symbol holds the minimum number of bits operated by select. + * That is, if you do select(n, ...), how many bits at least will be + * cleared in the masks if some activity is detected. Usually this + * is either n or 32*ceil(n/32), especially many little-endians do + * the latter. This is only useful if you have select(), naturally. + */ +#define SELECT_MIN_BITS 64 /**/ + +/* STARTPERL: + * This variable contains the string to put in front of a perl + * script to make sure (one hopes) that it runs with perl and not + * some shell. + */ +#define STARTPERL "#!/usr/bin/perl" /**/ + +/* HAS_STDIO_STREAM_ARRAY: + * This symbol, if defined, tells that there is an array + * holding the stdio streams. + */ +/* STDIO_STREAM_ARRAY: + * This symbol tells the name of the array holding the stdio streams. + * Usual values include _iob, __iob, and __sF. + */ +/*#define HAS_STDIO_STREAM_ARRAY / **/ +#define STDIO_STREAM_ARRAY + +/* USE_64_BIT_INT: + * This symbol, if defined, indicates that 64-bit integers should + * be used when available. If not defined, the native integers + * will be employed (be they 32 or 64 bits). The minimal possible + * 64-bitness is used, just enough to get 64-bit integers into Perl. + * This may mean using for example "long longs", while your memory + * may still be limited to 2 gigabytes. + */ +/* USE_64_BIT_ALL: + * This symbol, if defined, indicates that 64-bit integers should + * be used when available. If not defined, the native integers + * will be used (be they 32 or 64 bits). The maximal possible + * 64-bitness is employed: LP64 or ILP64, meaning that you will + * be able to use more than 2 gigabytes of memory. This mode is + * even more binary incompatible than USE_64_BIT_INT. You may not + * be able to run the resulting executable in a 32-bit CPU at all or + * you may need at least to reboot your OS to 64-bit mode. + */ +#ifndef USE_64_BIT_INT +#define USE_64_BIT_INT /**/ +#endif + +#ifndef USE_64_BIT_ALL +#define USE_64_BIT_ALL /**/ +#endif + +/* USE_FAST_STDIO: + * This symbol, if defined, indicates that Perl should + * be built to use 'fast stdio'. + * Defaults to define in Perls 5.8 and earlier, to undef later. + */ +#ifndef USE_FAST_STDIO +/*#define USE_FAST_STDIO / **/ +#endif + +/* USE_LARGE_FILES: + * This symbol, if defined, indicates that large file support + * should be used when available. + */ +#ifndef USE_LARGE_FILES +#define USE_LARGE_FILES /**/ +#endif + +/* USE_LONG_DOUBLE: + * This symbol, if defined, indicates that long doubles should + * be used when available. + */ +#ifndef USE_LONG_DOUBLE +/*#define USE_LONG_DOUBLE / **/ +#endif + +/* USE_MORE_BITS: + * This symbol, if defined, indicates that 64-bit interfaces and + * long doubles should be used when available. + */ +#ifndef USE_MORE_BITS +/*#define USE_MORE_BITS / **/ +#endif + +/* MULTIPLICITY: + * This symbol, if defined, indicates that Perl should + * be built to use multiplicity. + */ +#ifndef MULTIPLICITY +/*#define MULTIPLICITY / **/ +#endif + +/* USE_PERLIO: + * This symbol, if defined, indicates that the PerlIO abstraction should + * be used throughout. If not defined, stdio should be + * used in a fully backward compatible manner. + */ +#ifndef USE_PERLIO +/*#define USE_PERLIO / **/ +#endif + +/* USE_SOCKS: + * This symbol, if defined, indicates that Perl should + * be built to use socks. + */ +#ifndef USE_SOCKS +/*#define USE_SOCKS / **/ +#endif + +#endif diff --git a/package/motion/patches/patch-Makefile b/package/motion/patches/patch-Makefile new file mode 100644 index 000000000..8ff9fa531 --- /dev/null +++ b/package/motion/patches/patch-Makefile @@ -0,0 +1,47 @@ +--- motion-4.0.orig/Makefile 2011-09-18 22:49:29.000000000 +0200 ++++ motion-4.0/Makefile 2012-07-25 14:54:50.000000000 +0200 +@@ -10,18 +10,18 @@ + # http://www.lavrsen.dk/twiki/bin/view/Motion # + ################################################################################ + +-CC = gcc ++CC = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc + INSTALL = install + + ################################################################################ + # Install locations, controlled by setting configure flags. # + ################################################################################ +-prefix = /usr/local ++prefix = /usr + exec_prefix = ${prefix} +-bindir = ${exec_prefix}/bin +-mandir = ${datarootdir}/man +-sysconfdir = ${prefix}/etc +-datadir = ${datarootdir} ++bindir = /usr/bin ++mandir = /usr/share/man ++sysconfdir = /etc ++datadir = /usr/share + datarootdir = ${prefix}/share + docdir = $(datadir)/doc/motion-trunkREV528 + examplesdir = $(datadir)/motion-trunkREV528/examples +@@ -30,14 +30,14 @@ examplesdir = $(datadir)/motion-trunkREV + # These variables contain compiler flags, object files to build and files to # + # install. # + ################################################################################ +-CFLAGS = -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"trunkREV528\" -Dsysconfdir=\"$(sysconfdir)\" +-LDFLAGS = -L/usr/lib64 +-LIBS = -lm -lpthread -L/usr/lib -lSDL -ljpeg -L/usr/lib64 -lavformat -lavcodec -lavutil -lm -lz -lsqlite3 +-VIDEO_OBJ = video.o video2.o video_common.o ++CFLAGS = -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/sw/include -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -D_REENTRANT -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"trunkREV528\" -Dsysconfdir=\"$(sysconfdir)\" ++LDFLAGS = -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -L/sw/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib ++LIBS = -lm -L/sw/lib -lpthread -lSDL -lpthread -ljpeg -lsqlite3 ++VIDEO_OBJ = video_freebsd.o + OBJ = motion.o logger.o conf.o draw.o jpegutils.o vloopback_motion.o $(VIDEO_OBJ) \ + netcam.o netcam_ftp.o netcam_jpeg.o netcam_wget.o track.o \ + alg.o event.o picture.o rotate.o webhttpd.o \ +- stream.o md5.o ffmpeg.o sdl.o ++ stream.o md5.o sdl.o + SRC = $(OBJ:.o=.c) + DOC = CHANGELOG COPYING CREDITS INSTALL README motion_guide.html + EXAMPLES = *.conf motion.init-Debian motion.init-Fedora motion.init-FreeBSD.sh diff --git a/package/motion/patches/patch-config_h b/package/motion/patches/patch-config_h new file mode 100644 index 000000000..7c6d32ce8 --- /dev/null +++ b/package/motion/patches/patch-config_h @@ -0,0 +1,33 @@ +--- motion-4.0.orig/config.h 2011-09-18 22:49:29.000000000 +0200 ++++ motion-4.0/config.h 2012-07-25 14:54:50.000000000 +0200 +@@ -14,7 +14,7 @@ + #define HAVE_LINUX_VIDEODEV2_H 1 + + /* Define to 1 if you have the <linux/videodev.h> header file. */ +-#define HAVE_LINUX_VIDEODEV_H 1 ++/* #undef HAVE_LINUX_VIDEODEV_H */ + + /* Define to 1 if you have the <memory.h> header file. */ + #define HAVE_MEMORY_H 1 +@@ -89,10 +89,10 @@ + #define SIZEOF_INT 4 + + /* The size of `int *', as computed by sizeof. */ +-#define SIZEOF_INT_P 8 ++#define SIZEOF_INT_P 4 + + /* The size of `long int', as computed by sizeof. */ +-#define SIZEOF_LONG_INT 8 ++#define SIZEOF_LONG_INT 4 + + /* The size of `long long', as computed by sizeof. */ + #define SIZEOF_LONG_LONG 8 +@@ -101,7 +101,7 @@ + #define SIZEOF_SHORT 2 + + /* The size of `void *', as computed by sizeof. */ +-#define SIZEOF_VOID_P 8 ++#define SIZEOF_VOID_P 4 + + /* Define to 1 if you have the ANSI C header files. */ + #define STDC_HEADERS 1 diff --git a/package/motion/patches/patch-config_log b/package/motion/patches/patch-config_log new file mode 100644 index 000000000..20e784800 --- /dev/null +++ b/package/motion/patches/patch-config_log @@ -0,0 +1,2373 @@ +--- motion-4.0.orig/config.log 2011-09-18 22:49:29.000000000 +0200 ++++ motion-4.0/config.log 2012-07-25 15:28:19.000000000 +0200 +@@ -4,36 +4,52 @@ running configure, to aid debugging if c + It was created by motion configure trunkREV528, which was + generated by GNU Autoconf 2.67. Invocation command line was + +- $ ./configure ++ $ /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-motion-4.0-1/motion-4.0/configure --build=i686-apple-darwin10 --host=mipsel-openadk-linux --target=mipsel-openadk-linux --program-prefix= --program-suffix= --prefix=/usr --bindir=/usr/bin --datadir=/usr/share --mandir=/usr/share/man --libexecdir=/usr/libexec --localstatedir=/var --sysconfdir=/etc --enable-shared --enable-static --disable-dependency-tracking --disable-libtool-lock --disable-nls --without-ffmpeg --without-jpeg-mmx --without-optimizecpu --without-mysql --without-sqlite --without-pgsql --with-v4l + + ## --------- ## + ## Platform. ## + ## --------- ## + +-hostname = chrom +-uname -m = x86_64 +-uname -r = 2.6.32-33-server +-uname -s = Linux +-uname -v = #71-Ubuntu SMP Wed Jul 20 17:42:25 UTC 2011 ++hostname = neon.localdomain ++uname -m = i386 ++uname -r = 10.8.0 ++uname -s = Darwin ++uname -v = Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 + +-/usr/bin/uname -p = unknown ++/usr/bin/uname -p = i386 + /bin/uname -X = unknown + + /bin/arch = unknown + /usr/bin/arch -k = unknown + /usr/convex/getsysinfo = unknown +-/usr/bin/hostinfo = unknown ++/usr/bin/hostinfo = Mach kernel version: ++ Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 ++Kernel configured for up to 2 processors. ++2 processors are physically available. ++2 processors are logically available. ++Processor type: i486 (Intel 80486) ++Processors active: 0 1 ++Primary memory available: 4.00 gigabytes ++Default processor set: 81 tasks, 432 threads, 2 processors ++Load average: 2.19, Mach factor: 0.72 + /bin/machine = unknown + /usr/bin/oslevel = unknown + /bin/universe = unknown + +-PATH: /usr/local/sbin +-PATH: /usr/local/bin +-PATH: /usr/sbin ++PATH: /Volumes/adk/openadk/scripts ++PATH: /Volumes/adk/openadk/bin/tools ++PATH: /Volumes/adk/openadk/host_mipsel_uclibc/bin ++PATH: /Volumes/adk/openadk/host_mipsel_uclibc/usr/bin ++PATH: /Volumes/adk/openadk/target_mipsel_uclibc/scripts ++PATH: /opt/local/bin ++PATH: /opt/local/sbin + PATH: /usr/bin +-PATH: /sbin + PATH: /bin +-PATH: /usr/games ++PATH: /usr/sbin ++PATH: /sbin ++PATH: /usr/local/bin ++PATH: /usr/local/MacGPG2/bin ++PATH: /usr/X11/bin + + + ## ----------- ## +@@ -41,73 +57,75 @@ PATH: /usr/games + ## ----------- ## + + configure:2396: checking for Darwin +-configure:2401: result: no +-configure:2403: checking for *BSD +-configure:2408: result: no +-configure:2502: checking for gcc +-configure:2518: found /usr/bin/gcc +-configure:2529: result: gcc ++configure:2446: result: yes ++configure:2462: checking for mipsel-openadk-linux-gcc ++configure:2489: result: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc + configure:2758: checking for C compiler version +-configure:2767: gcc --version >&5 +-gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 +-Copyright (C) 2009 Free Software Foundation, Inc. ++configure:2767: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc --version >&5 ++mipsel-openadk-linux-uclibc-gcc (GCC) 4.6.3 ++Copyright (C) 2011 Free Software Foundation, Inc. + This is free software; see the source for copying conditions. There is NO + warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + configure:2778: $? = 0 +-configure:2767: gcc -v >&5 ++configure:2767: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -v >&5 + Using built-in specs. +-Target: x86_64-linux-gnu +-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu ++COLLECT_GCC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc ++COLLECT_LTO_WRAPPER=/Volumes/adk/openadk/host_mipsel_uclibc/libexec/gcc/mipsel-openadk-linux-uclibc/4.6.3/lto-wrapper ++Target: mipsel-openadk-linux-uclibc ++Configured with: /Volumes/adk/openadk/toolchain_build_mipsel_uclibc/w-gcc-4.6.3-1/gcc-4.6.3/configure --prefix=/Volumes/adk/openadk/host_mipsel_uclibc --build=i686-apple-darwin10 --host=i686-apple-darwin10 --target=mipsel-openadk-linux-uclibc --with-gmp=/Volumes/adk/openadk/host_mipsel_uclibc --with-mpfr=/Volumes/adk/openadk/host_mipsel_uclibc --with-libelf=/Volumes/adk/openadk/host_mipsel_uclibc --disable-__cxa_atexit --with-gnu-ld --disable-multilib --disable-libmudflap --disable-libgomp --disable-decimal-float --disable-libstdcxx-pch --disable-ppl-version-check --disable-cloog-version-check --without-ppl --without-cloog --disable-nls --disable-sjlj-exceptions --disable-biarch --enable-libssp --enable-lto --enable-tls --enable-target-optspace --enable-languages=c,c++ --with-sysroot='/Volumes/adk/openadk/host_mipsel_uclibc/../target_mipsel_uclibc' --with-slibdir=/Volumes/adk/openadk/target_mipsel_uclibc/lib --enable-shared + Thread model: posix +-gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ++gcc version 4.6.3 (GCC) + configure:2778: $? = 0 +-configure:2767: gcc -V >&5 +-gcc: '-V' option must have argument ++configure:2767: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -V >&5 ++mipsel-openadk-linux-uclibc-gcc: error: unrecognized option '-V' ++mipsel-openadk-linux-uclibc-gcc: fatal error: no input files ++compilation terminated. + configure:2778: $? = 1 +-configure:2767: gcc -qversion >&5 +-gcc: unrecognized option '-qversion' +-gcc: no input files ++configure:2767: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -qversion >&5 ++mipsel-openadk-linux-uclibc-gcc: error: unrecognized option '-qversion' ++mipsel-openadk-linux-uclibc-gcc: fatal error: no input files ++compilation terminated. + configure:2778: $? = 1 + configure:2798: checking whether the C compiler works +-configure:2820: gcc conftest.c >&5 ++configure:2820: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c >&5 + configure:2824: $? = 0 + configure:2872: result: yes + configure:2875: checking for C compiler default output file name + configure:2877: result: a.out + configure:2883: checking for suffix of executables +-configure:2890: gcc -o conftest conftest.c >&5 ++configure:2890: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c >&5 + configure:2894: $? = 0 + configure:2916: result: + configure:2938: checking whether we are cross compiling +-configure:2946: gcc -o conftest conftest.c >&5 +-configure:2950: $? = 0 +-configure:2957: ./conftest +-configure:2961: $? = 0 +-configure:2976: result: no ++configure:2976: result: yes + configure:2981: checking for suffix of object files +-configure:3003: gcc -c conftest.c >&5 ++configure:3003: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:3007: $? = 0 + configure:3028: result: o + configure:3032: checking whether we are using the GNU C compiler +-configure:3051: gcc -c conftest.c >&5 ++configure:3051: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:3051: $? = 0 + configure:3060: result: yes +-configure:3069: checking whether gcc accepts -g +-configure:3089: gcc -c -g conftest.c >&5 ++configure:3069: checking whether /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc accepts -g ++configure:3089: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -g -DNDEBUG conftest.c >&5 + configure:3089: $? = 0 + configure:3130: result: yes +-configure:3147: checking for gcc option to accept ISO C89 +-configure:3211: gcc -c -g -O2 conftest.c >&5 ++configure:3147: checking for /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc option to accept ISO C89 ++configure:3211: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:3211: $? = 0 + configure:3224: result: none needed + configure:3353: checking threads +-configure:3369: gcc -o conftest -g -O2 conftest.c >&5 +-/tmp/cc5lyeCj.o: In function `main': +-/home/wbx/adk/ibm/motion/conftest.c:13: undefined reference to `pthread_join' +-/home/wbx/adk/ibm/motion/conftest.c:14: undefined reference to `__pthread_register_cancel' +-/home/wbx/adk/ibm/motion/conftest.c:15: undefined reference to `pthread_create' +-/home/wbx/adk/ibm/motion/conftest.c:15: undefined reference to `__pthread_unregister_cancel' ++configure:3369: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c >&5 ++/var/folders/v7/v7rUSnywE5SYxctWLsie4++++TI/-Tmp-//cc0MA2Wd.o: In function `main': ++conftest.c:(.text.startup+0xc): undefined reference to `pthread_join' ++conftest.c:(.text.startup+0x1c): undefined reference to `pthread_join' ++conftest.c:(.text.startup+0x80): undefined reference to `__pthread_register_cancel' ++conftest.c:(.text.startup+0x88): undefined reference to `__pthread_register_cancel' ++conftest.c:(.text.startup+0x98): undefined reference to `pthread_create' ++conftest.c:(.text.startup+0xa4): undefined reference to `pthread_create' ++conftest.c:(.text.startup+0xb4): undefined reference to `__pthread_unregister_cancel' ++conftest.c:(.text.startup+0xbc): undefined reference to `__pthread_unregister_cancel' + collect2: ld returned 1 exit status + configure:3369: $? = 1 + configure: failed program was: +@@ -135,59 +153,25 @@ configure:3431: result: yes + configure:3462: checking for libjpeg-mmx + configure:3464: result: skipping + configure:3557: checking for jpeg_set_defaults in -ljpeg +-configure:3582: gcc -o conftest -g -O2 conftest.c -ljpeg >&5 ++configure:3582: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -L/sw/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c -ljpeg >&5 + configure:3582: $? = 0 + configure:3591: result: yes +-configure:3636: checking for ffmpeg autodetecting +-configure:3640: result: found in /usr/lib64 +-configure:3707: checking for ffmpeg headers in /usr +-configure:3723: result: found /usr/include/libavformat/avformat.h +-configure:3756: checking file_protocol is defined in ffmpeg ? +-configure:3774: gcc -c -I/usr/include -DFFMPEG_NEW_INCLUDES conftest.c >&5 +-conftest.c:11:25: error: avformat.h: No such file or directory +-conftest.c:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'test_file_protocol' +-conftest.c: In function 'main': +-conftest.c:14: error: 'test_file_protocol' undeclared (first use in this function) +-conftest.c:14: error: (Each undeclared identifier is reported only once +-conftest.c:14: error: for each function it appears in.) +-conftest.c:14: error: 'file_protocol' undeclared (first use in this function) +-configure:3774: $? = 1 +-configure: failed program was: +-| /* confdefs.h */ +-| #define PACKAGE_NAME "motion" +-| #define PACKAGE_TARNAME "motion" +-| #define PACKAGE_VERSION "trunkREV528" +-| #define PACKAGE_STRING "motion trunkREV528" +-| #define PACKAGE_BUGREPORT "" +-| #define PACKAGE_URL "" +-| #define HAVE_SDL 1 +-| /* end confdefs.h. */ +-| +-| #include <avformat.h> +-| URLProtocol test_file_protocol; +-| int main(void){ +-| test_file_protocol.url_read = file_protocol.url_read; +-| return 0; +-| } +-| +-configure:3779: result: no ++configure:3627: checking for ffmpeg ++configure:3629: result: skipping + configure:3816: checking for sqlite3_open in -lsqlite3 +-configure:3841: gcc -o conftest -g -O2 conftest.c -lsqlite3 >&5 ++configure:3841: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -L/sw/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c -lsqlite3 >&5 + configure:3841: $? = 0 + configure:3850: result: yes + configure:3878: checking for mysql support +-configure:3914: result: testing +-configure:3919: checking autodect mysql headers +-configure:3955: result: not found ++configure:3911: result: skipped + configure:4113: checking for PostgreSQL +-configure:4120: result: testing +-configure:4126: checking autodect pgsql headers +-configure:4152: result: not found ++configure:4117: result: skipped + configure:4278: checking how to run the C preprocessor +-configure:4309: gcc -E conftest.c ++configure:4309: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c + configure:4309: $? = 0 +-configure:4323: gcc -E conftest.c +-conftest.c:11:28: error: ac_nonexistent.h: No such file or directory ++configure:4323: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c ++conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory ++compilation terminated. + configure:4323: $? = 1 + configure: failed program was: + | /* confdefs.h */ +@@ -201,11 +185,12 @@ configure: failed program was: + | #define HAVE_SQLITE3 1 + | /* end confdefs.h. */ + | #include <ac_nonexistent.h> +-configure:4348: result: gcc -E +-configure:4368: gcc -E conftest.c ++configure:4348: result: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E ++configure:4368: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c + configure:4368: $? = 0 +-configure:4382: gcc -E conftest.c +-conftest.c:11:28: error: ac_nonexistent.h: No such file or directory ++configure:4382: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c ++conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory ++compilation terminated. + configure:4382: $? = 1 + configure: failed program was: + | /* confdefs.h */ +@@ -220,59 +205,55 @@ configure: failed program was: + | /* end confdefs.h. */ + | #include <ac_nonexistent.h> + configure:4411: checking for grep that handles long lines and -e +-configure:4469: result: /bin/grep ++configure:4469: result: /usr/bin/grep + configure:4474: checking for egrep +-configure:4536: result: /bin/grep -E ++configure:4536: result: /usr/bin/grep -E + configure:4541: checking for ANSI C header files +-configure:4561: gcc -c -g -O2 conftest.c >&5 ++configure:4561: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4561: $? = 0 +-configure:4634: gcc -o conftest -g -O2 conftest.c >&5 +-configure:4634: $? = 0 +-configure:4634: ./conftest +-configure:4634: $? = 0 + configure:4645: result: yes + configure:4658: checking for sys/types.h +-configure:4658: gcc -c -g -O2 conftest.c >&5 ++configure:4658: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4658: $? = 0 + configure:4658: result: yes + configure:4658: checking for sys/stat.h +-configure:4658: gcc -c -g -O2 conftest.c >&5 ++configure:4658: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4658: $? = 0 + configure:4658: result: yes + configure:4658: checking for stdlib.h +-configure:4658: gcc -c -g -O2 conftest.c >&5 ++configure:4658: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4658: $? = 0 + configure:4658: result: yes + configure:4658: checking for string.h +-configure:4658: gcc -c -g -O2 conftest.c >&5 ++configure:4658: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4658: $? = 0 + configure:4658: result: yes + configure:4658: checking for memory.h +-configure:4658: gcc -c -g -O2 conftest.c >&5 ++configure:4658: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4658: $? = 0 + configure:4658: result: yes + configure:4658: checking for strings.h +-configure:4658: gcc -c -g -O2 conftest.c >&5 ++configure:4658: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4658: $? = 0 + configure:4658: result: yes + configure:4658: checking for inttypes.h +-configure:4658: gcc -c -g -O2 conftest.c >&5 ++configure:4658: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4658: $? = 0 + configure:4658: result: yes + configure:4658: checking for stdint.h +-configure:4658: gcc -c -g -O2 conftest.c >&5 ++configure:4658: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4658: $? = 0 + configure:4658: result: yes + configure:4658: checking for unistd.h +-configure:4658: gcc -c -g -O2 conftest.c >&5 ++configure:4658: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4658: $? = 0 + configure:4658: result: yes + configure:4673: checking stdio.h usability +-configure:4673: gcc -c -g -O2 conftest.c >&5 ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking stdio.h presence +-configure:4673: gcc -E conftest.c ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking for stdio.h +@@ -282,81 +263,178 @@ configure:4673: result: yes + configure:4673: checking for stdint.h + configure:4673: result: yes + configure:4673: checking fcntl.h usability +-configure:4673: gcc -c -g -O2 conftest.c >&5 ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking fcntl.h presence +-configure:4673: gcc -E conftest.c ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking for fcntl.h + configure:4673: result: yes + configure:4673: checking time.h usability +-configure:4673: gcc -c -g -O2 conftest.c >&5 ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking time.h presence +-configure:4673: gcc -E conftest.c ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking for time.h + configure:4673: result: yes + configure:4673: checking signal.h usability +-configure:4673: gcc -c -g -O2 conftest.c >&5 ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking signal.h presence +-configure:4673: gcc -E conftest.c ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking for signal.h + configure:4673: result: yes + configure:4673: checking sys/ioctl.h usability +-configure:4673: gcc -c -g -O2 conftest.c >&5 ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking sys/ioctl.h presence +-configure:4673: gcc -E conftest.c ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking for sys/ioctl.h + configure:4673: result: yes + configure:4673: checking sys/mman.h usability +-configure:4673: gcc -c -g -O2 conftest.c >&5 ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking sys/mman.h presence +-configure:4673: gcc -E conftest.c ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking for sys/mman.h + configure:4673: result: yes + configure:4673: checking linux/videodev.h usability +-configure:4673: gcc -c -g -O2 conftest.c >&5 +-configure:4673: $? = 0 +-configure:4673: result: yes ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c:62:28: fatal error: linux/videodev.h: No such file or directory ++compilation terminated. ++configure:4673: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| #include <linux/videodev.h> ++configure:4673: result: no + configure:4673: checking linux/videodev.h presence +-configure:4673: gcc -E conftest.c +-configure:4673: $? = 0 +-configure:4673: result: yes ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c ++conftest.c:29:28: fatal error: linux/videodev.h: No such file or directory ++compilation terminated. ++configure:4673: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| /* end confdefs.h. */ ++| #include <linux/videodev.h> ++configure:4673: result: no + configure:4673: checking for linux/videodev.h +-configure:4673: result: yes ++configure:4673: result: no + configure:4673: checking linux/videodev2.h usability +-configure:4673: gcc -c -g -O2 conftest.c >&5 ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking linux/videodev2.h presence +-configure:4673: gcc -E conftest.c ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking for linux/videodev2.h + configure:4673: result: yes + configure:4673: checking sys/param.h usability +-configure:4673: gcc -c -g -O2 conftest.c >&5 ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking sys/param.h presence +-configure:4673: gcc -E conftest.c ++configure:4673: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c + configure:4673: $? = 0 + configure:4673: result: yes + configure:4673: checking for sys/param.h +@@ -364,15 +442,13 @@ configure:4673: result: yes + configure:4673: checking for sys/types.h + configure:4673: result: yes + configure:4686: checking for get_current_dir_name +-configure:4686: gcc -o conftest -g -O2 conftest.c >&5 ++configure:4686: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -L/sw/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c >&5 + configure:4686: $? = 0 + configure:4686: result: yes + configure:4706: checking for struct v4l2_buffer +-configure:4706: gcc -c -g -O2 conftest.c >&5 +-configure:4706: $? = 0 +-configure:4706: gcc -c -g -O2 conftest.c >&5 +-conftest.c: In function 'main': +-conftest.c:40: error: expected expression before ')' token ++configure:4706: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c:34:31: fatal error: linux/videodev.h: No such file or directory ++compilation terminated. + configure:4706: $? = 1 + configure: failed program was: + | /* confdefs.h */ +@@ -402,7 +478,6 @@ configure: failed program was: + | #define HAVE_SIGNAL_H 1 + | #define HAVE_SYS_IOCTL_H 1 + | #define HAVE_SYS_MMAN_H 1 +-| #define HAVE_LINUX_VIDEODEV_H 1 + | #define HAVE_LINUX_VIDEODEV2_H 1 + | #define HAVE_SYS_PARAM_H 1 + | #define HAVE_SYS_TYPES_H 1 +@@ -414,56 +489,1572 @@ configure: failed program was: + | int + | main () + | { +-| if (sizeof ((struct v4l2_buffer))) +-| return 0; ++| if (sizeof (struct v4l2_buffer)) ++| return 0; + | ; + | return 0; + | } +-configure:4706: result: yes ++configure:4706: result: no + configure:4716: checking for V42L support +-configure:4719: result: yes ++configure:4723: result: no ++configure:4729: checking for V42L *old* support ++configure:4731: result: testing ++configure:4735: checking for linux/videodev2.h ++configure:4735: result: yes + configure:4762: checking size of short +-configure:4767: gcc -o conftest -g -O2 conftest.c >&5 ++configure:4767: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4767: $? = 0 +-configure:4767: ./conftest ++configure:4767: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:70:12: error: size of array 'test_array' is negative ++configure:4767: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 0)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4767: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:70:12: error: size of array 'test_array' is negative ++configure:4767: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 1)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4767: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++configure:4767: $? = 0 ++configure:4767: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4767: $? = 0 + configure:4781: result: 2 + configure:4795: checking size of int +-configure:4800: gcc -o conftest -g -O2 conftest.c >&5 ++configure:4800: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4800: $? = 0 +-configure:4800: ./conftest ++configure:4800: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:71:12: error: size of array 'test_array' is negative ++configure:4800: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4800: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:71:12: error: size of array 'test_array' is negative ++configure:4800: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4800: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:71:12: error: size of array 'test_array' is negative ++configure:4800: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4800: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++configure:4800: $? = 0 ++configure:4800: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++configure:4800: $? = 0 ++configure:4800: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4800: $? = 0 + configure:4814: result: 4 + configure:4828: checking size of long int +-configure:4833: gcc -o conftest -g -O2 conftest.c >&5 ++configure:4833: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4833: $? = 0 +-configure:4833: ./conftest ++configure:4833: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:72:12: error: size of array 'test_array' is negative ++configure:4833: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| #define SIZEOF_INT 4 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (long int))) <= 0)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4833: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:72:12: error: size of array 'test_array' is negative ++configure:4833: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| #define SIZEOF_INT 4 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (long int))) <= 1)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4833: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:72:12: error: size of array 'test_array' is negative ++configure:4833: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| #define SIZEOF_INT 4 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (long int))) <= 3)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4833: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4833: $? = 0 +-configure:4847: result: 8 ++configure:4833: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++configure:4833: $? = 0 ++configure:4833: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++configure:4833: $? = 0 ++configure:4847: result: 4 + configure:4861: checking size of long long +-configure:4866: gcc -o conftest -g -O2 conftest.c >&5 ++configure:4866: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4866: $? = 0 +-configure:4866: ./conftest ++configure:4866: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:73:12: error: size of array 'test_array' is negative ++configure:4866: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| #define SIZEOF_INT 4 ++| #define SIZEOF_LONG_INT 4 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 0)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4866: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:73:12: error: size of array 'test_array' is negative ++configure:4866: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| #define SIZEOF_INT 4 ++| #define SIZEOF_LONG_INT 4 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 1)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4866: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:73:12: error: size of array 'test_array' is negative ++configure:4866: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| #define SIZEOF_INT 4 ++| #define SIZEOF_LONG_INT 4 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 3)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4866: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:73:12: error: size of array 'test_array' is negative ++configure:4866: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| #define SIZEOF_INT 4 ++| #define SIZEOF_LONG_INT 4 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 7)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4866: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++configure:4866: $? = 0 ++configure:4866: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++configure:4866: $? = 0 ++configure:4866: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++configure:4866: $? = 0 ++configure:4866: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4866: $? = 0 + configure:4880: result: 8 + configure:4894: checking size of int * +-configure:4899: gcc -o conftest -g -O2 conftest.c >&5 ++configure:4899: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4899: $? = 0 +-configure:4899: ./conftest ++configure:4899: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:74:12: error: size of array 'test_array' is negative ++configure:4899: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| #define SIZEOF_INT 4 ++| #define SIZEOF_LONG_INT 4 ++| #define SIZEOF_LONG_LONG 8 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (int *))) <= 0)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4899: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:74:12: error: size of array 'test_array' is negative ++configure:4899: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| #define SIZEOF_INT 4 ++| #define SIZEOF_LONG_INT 4 ++| #define SIZEOF_LONG_LONG 8 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (int *))) <= 1)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4899: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:74:12: error: size of array 'test_array' is negative ++configure:4899: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| #define SIZEOF_INT 4 ++| #define SIZEOF_LONG_INT 4 ++| #define SIZEOF_LONG_LONG 8 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (int *))) <= 3)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4899: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4899: $? = 0 +-configure:4913: result: 8 ++configure:4899: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++configure:4899: $? = 0 ++configure:4899: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++configure:4899: $? = 0 ++configure:4913: result: 4 + configure:4927: checking size of void * +-configure:4932: gcc -o conftest -g -O2 conftest.c >&5 ++configure:4932: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4932: $? = 0 +-configure:4932: ./conftest ++configure:4932: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:75:12: error: size of array 'test_array' is negative ++configure:4932: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| #define SIZEOF_INT 4 ++| #define SIZEOF_LONG_INT 4 ++| #define SIZEOF_LONG_LONG 8 ++| #define SIZEOF_INT_P 4 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 0)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4932: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:75:12: error: size of array 'test_array' is negative ++configure:4932: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| #define SIZEOF_INT 4 ++| #define SIZEOF_LONG_INT 4 ++| #define SIZEOF_LONG_LONG 8 ++| #define SIZEOF_INT_P 4 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 1)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4932: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++conftest.c: In function 'main': ++conftest.c:75:12: error: size of array 'test_array' is negative ++configure:4932: $? = 1 ++configure: failed program was: ++| /* confdefs.h */ ++| #define PACKAGE_NAME "motion" ++| #define PACKAGE_TARNAME "motion" ++| #define PACKAGE_VERSION "trunkREV528" ++| #define PACKAGE_STRING "motion trunkREV528" ++| #define PACKAGE_BUGREPORT "" ++| #define PACKAGE_URL "" ++| #define HAVE_SDL 1 ++| #define HAVE_SQLITE3 1 ++| #define STDC_HEADERS 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_SYS_STAT_H 1 ++| #define HAVE_STDLIB_H 1 ++| #define HAVE_STRING_H 1 ++| #define HAVE_MEMORY_H 1 ++| #define HAVE_STRINGS_H 1 ++| #define HAVE_INTTYPES_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDIO_H 1 ++| #define HAVE_UNISTD_H 1 ++| #define HAVE_STDINT_H 1 ++| #define HAVE_FCNTL_H 1 ++| #define HAVE_TIME_H 1 ++| #define HAVE_SIGNAL_H 1 ++| #define HAVE_SYS_IOCTL_H 1 ++| #define HAVE_SYS_MMAN_H 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define HAVE_SYS_PARAM_H 1 ++| #define HAVE_SYS_TYPES_H 1 ++| #define HAVE_GET_CURRENT_DIR_NAME 1 ++| #define HAVE_LINUX_VIDEODEV2_H 1 ++| #define SIZEOF_SHORT 2 ++| #define SIZEOF_INT 4 ++| #define SIZEOF_LONG_INT 4 ++| #define SIZEOF_LONG_LONG 8 ++| #define SIZEOF_INT_P 4 ++| /* end confdefs.h. */ ++| #include <stdio.h> ++| #ifdef HAVE_SYS_TYPES_H ++| # include <sys/types.h> ++| #endif ++| #ifdef HAVE_SYS_STAT_H ++| # include <sys/stat.h> ++| #endif ++| #ifdef STDC_HEADERS ++| # include <stdlib.h> ++| # include <stddef.h> ++| #else ++| # ifdef HAVE_STDLIB_H ++| # include <stdlib.h> ++| # endif ++| #endif ++| #ifdef HAVE_STRING_H ++| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++| # include <memory.h> ++| # endif ++| # include <string.h> ++| #endif ++| #ifdef HAVE_STRINGS_H ++| # include <strings.h> ++| #endif ++| #ifdef HAVE_INTTYPES_H ++| # include <inttypes.h> ++| #endif ++| #ifdef HAVE_STDINT_H ++| # include <stdint.h> ++| #endif ++| #ifdef HAVE_UNISTD_H ++| # include <unistd.h> ++| #endif ++| int ++| main () ++| { ++| static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= 3)]; ++| test_array [0] = 0 ++| ++| ; ++| return 0; ++| } ++configure:4932: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:4932: $? = 0 +-configure:4946: result: 8 ++configure:4932: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++configure:4932: $? = 0 ++configure:4932: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 ++configure:4932: $? = 0 ++configure:4946: result: 4 + configure:4991: checking for an ANSI C-conforming const +-configure:5056: gcc -c -g -O2 conftest.c >&5 ++configure:5056: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 + configure:5056: $? = 0 + configure:5063: result: yes + configure:5293: checking for bswap instruction +-configure:5310: gcc -o conftest -g -O2 conftest.c >&5 ++configure:5310: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -L/sw/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c >&5 + configure:5310: $? = 0 + configure:5313: result: yes + configure:5461: creating ./config.status +@@ -481,19 +2072,21 @@ generated by GNU Autoconf 2.67. Invocat + CONFIG_COMMANDS = + $ ./config.status + +-on chrom ++on neon.localdomain + +-config.status:841: creating thread1.conf +-config.status:841: creating thread2.conf +-config.status:841: creating thread3.conf +-config.status:841: creating thread4.conf +-config.status:841: creating motion-dist.conf +-config.status:841: creating motion.init-FreeBSD.sh +-config.status:841: creating motion.init-Debian +-config.status:841: creating motion.init-Fedora +-config.status:841: creating motion.spec +-config.status:841: creating Makefile +-config.status:841: creating config.h ++config.status:844: creating thread1.conf ++config.status:844: creating thread2.conf ++config.status:844: creating thread3.conf ++config.status:844: creating thread4.conf ++config.status:844: creating motion-dist.conf ++config.status:844: creating motion.init-FreeBSD.sh ++config.status:844: creating motion.init-Debian ++config.status:844: creating motion.init-Fedora ++config.status:844: creating motion.spec ++config.status:844: creating Makefile ++config.status:844: creating config.h ++config.status:1013: config.h is unchanged ++configure:6632: WARNING: unrecognized options: --enable-shared, --enable-static, --disable-dependency-tracking, --disable-libtool-lock, --disable-nls, --without-sqlite + + ## ---------------- ## + ## Cache variables. ## +@@ -501,29 +2094,31 @@ config.status:841: creating config.h + + ac_cv_c_compiler_gnu=yes + ac_cv_c_const=yes +-ac_cv_env_CC_set= +-ac_cv_env_CC_value= +-ac_cv_env_CFLAGS_set= +-ac_cv_env_CFLAGS_value= +-ac_cv_env_CPPFLAGS_set= +-ac_cv_env_CPPFLAGS_value= ++ac_cv_env_CC_set=set ++ac_cv_env_CC_value=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc ++ac_cv_env_CFLAGS_set=set ++ac_cv_env_CFLAGS_value='-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' ++ac_cv_env_CPPFLAGS_set=set ++ac_cv_env_CPPFLAGS_value=-DNDEBUG + ac_cv_env_CPP_set= + ac_cv_env_CPP_value= +-ac_cv_env_LDFLAGS_set= +-ac_cv_env_LDFLAGS_value= ++ac_cv_env_LDFLAGS_set=set ++ac_cv_env_LDFLAGS_value='-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' + ac_cv_env_LIBS_set= + ac_cv_env_LIBS_value= +-ac_cv_env_build_alias_set= +-ac_cv_env_build_alias_value= +-ac_cv_env_host_alias_set= +-ac_cv_env_host_alias_value= +-ac_cv_env_target_alias_set= +-ac_cv_env_target_alias_value= ++ac_cv_env_build_alias_set=set ++ac_cv_env_build_alias_value=i686-apple-darwin10 ++ac_cv_env_host_alias_set=set ++ac_cv_env_host_alias_value=mipsel-openadk-linux ++ac_cv_env_target_alias_set=set ++ac_cv_env_target_alias_value=mipsel-openadk-linux + ac_cv_func_get_current_dir_name=yes ++ac_cv_func_malloc_0_nonnull=yes ++ac_cv_func_realloc_0_nonnull=yes + ac_cv_header_fcntl_h=yes + ac_cv_header_inttypes_h=yes + ac_cv_header_linux_videodev2_h=yes +-ac_cv_header_linux_videodev_h=yes ++ac_cv_header_linux_videodev_h=no + ac_cv_header_memory_h=yes + ac_cv_header_signal_h=yes + ac_cv_header_stdc=yes +@@ -542,40 +2137,40 @@ ac_cv_header_unistd_h=yes + ac_cv_lib_jpeg_jpeg_set_defaults=yes + ac_cv_lib_sqlite3_sqlite3_open=yes + ac_cv_objext=o +-ac_cv_path_EGREP='/bin/grep -E' +-ac_cv_path_GREP=/bin/grep +-ac_cv_prog_CPP='gcc -E' +-ac_cv_prog_ac_ct_CC=gcc ++ac_cv_path_EGREP='/usr/bin/grep -E' ++ac_cv_path_GREP=/usr/bin/grep ++ac_cv_prog_CC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc ++ac_cv_prog_CPP='/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E' + ac_cv_prog_cc_c89= + ac_cv_prog_cc_g=yes + ac_cv_sizeof_int=4 +-ac_cv_sizeof_int_p=8 +-ac_cv_sizeof_long_int=8 ++ac_cv_sizeof_int_p=4 ++ac_cv_sizeof_long_int=4 + ac_cv_sizeof_long_long=8 + ac_cv_sizeof_short=2 +-ac_cv_sizeof_void_p=8 +-ac_cv_type_struct_v4l2_buffer=yes ++ac_cv_sizeof_void_p=4 ++ac_cv_type_struct_v4l2_buffer=no + + ## ----------------- ## + ## Output variables. ## + ## ----------------- ## + +-BIN_PATH='/usr/local/bin' +-CC='gcc' +-CFLAGS=' -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP ' +-CPP='gcc -E' +-CPPFLAGS='' ++BIN_PATH='/usr/bin' ++CC='/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc' ++CFLAGS='-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/sw/include -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -D_REENTRANT -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT="int" -DHAVE_BSWAP ' ++CPP='/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E' ++CPPFLAGS='-DNDEBUG' + DEFS='-DHAVE_CONFIG_H' + ECHO_C='' + ECHO_N='-n' + ECHO_T='' +-EGREP='/bin/grep -E' ++EGREP='/usr/bin/grep -E' + EXEEXT='' +-FFMPEG_OBJ='ffmpeg.o' +-GREP='/bin/grep' +-LDFLAGS=' -L/usr/lib64' ++FFMPEG_OBJ='' ++GREP='/usr/bin/grep' ++LDFLAGS='-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -L/sw/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' + LIBOBJS='' +-LIBS='-lm -lpthread -L/usr/lib -lSDL -ljpeg -L/usr/lib64 -lavformat -lavcodec -lavutil -lm -lz -lsqlite3' ++LIBS='-lm -L/sw/lib -lpthread -lSDL -lpthread -ljpeg -lsqlite3' + LTLIBOBJS='' + OBJEXT='o' + PACKAGE_BUGREPORT='' +@@ -586,34 +2181,34 @@ PACKAGE_URL='' + PACKAGE_VERSION='trunkREV528' + PATH_SEPARATOR=':' + SDL_OBJ='sdl.o' +-SHELL='/bin/sh' +-VIDEO='video.o video2.o video_common.o' +-ac_ct_CC='gcc' +-bindir='${exec_prefix}/bin' +-build_alias='' +-datadir='${datarootdir}' ++SHELL='/bin/bash' ++VIDEO='video_freebsd.o' ++ac_ct_CC='' ++bindir='/usr/bin' ++build_alias='i686-apple-darwin10' ++datadir='/usr/share' + datarootdir='${prefix}/share' + docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' + dvidir='${docdir}' + exec_prefix='${prefix}' +-host_alias='' ++host_alias='mipsel-openadk-linux' + htmldir='${docdir}' + includedir='${prefix}/include' + infodir='${datarootdir}/info' + libdir='${exec_prefix}/lib' +-libexecdir='${exec_prefix}/libexec' ++libexecdir='/usr/libexec' + localedir='${datarootdir}/locale' +-localstatedir='${prefix}/var' +-mandir='${datarootdir}/man' ++localstatedir='/var' ++mandir='/usr/share/man' + oldincludedir='/usr/include' + pdfdir='${docdir}' +-prefix='/usr/local' ++prefix='/usr' + program_transform_name='s,x,x,' + psdir='${docdir}' + sbindir='${exec_prefix}/sbin' + sharedstatedir='${prefix}/com' +-sysconfdir='${prefix}/etc' +-target_alias='' ++sysconfdir='/etc' ++target_alias='mipsel-openadk-linux' + + ## ----------- ## + ## confdefs.h. ## +@@ -646,16 +2241,16 @@ target_alias='' + #define HAVE_SIGNAL_H 1 + #define HAVE_SYS_IOCTL_H 1 + #define HAVE_SYS_MMAN_H 1 +-#define HAVE_LINUX_VIDEODEV_H 1 + #define HAVE_LINUX_VIDEODEV2_H 1 + #define HAVE_SYS_PARAM_H 1 + #define HAVE_SYS_TYPES_H 1 + #define HAVE_GET_CURRENT_DIR_NAME 1 ++#define HAVE_LINUX_VIDEODEV2_H 1 + #define SIZEOF_SHORT 2 + #define SIZEOF_INT 4 +-#define SIZEOF_LONG_INT 8 ++#define SIZEOF_LONG_INT 4 + #define SIZEOF_LONG_LONG 8 +-#define SIZEOF_INT_P 8 +-#define SIZEOF_VOID_P 8 ++#define SIZEOF_INT_P 4 ++#define SIZEOF_VOID_P 4 + + configure: exit 0 diff --git a/package/motion/patches/patch-config_status b/package/motion/patches/patch-config_status new file mode 100644 index 000000000..426fcc026 --- /dev/null +++ b/package/motion/patches/patch-config_status @@ -0,0 +1,171 @@ +--- motion-4.0.orig/config.status 2011-09-18 22:49:28.000000000 +0200 ++++ motion-4.0/config.status 2012-07-25 14:54:49.000000000 +0200 +@@ -1,4 +1,4 @@ +-#! /bin/sh ++#! /bin/bash + # Generated by configure. + # Run this file to recreate the current configuration. + # Compiler output produced by configure, useful for debugging +@@ -8,7 +8,7 @@ debug=false + ac_cs_recheck=false + ac_cs_silent=false + +-SHELL=${CONFIG_SHELL-/bin/sh} ++SHELL=${CONFIG_SHELL-/bin/bash} + export SHELL + ## -------------------- ## + ## M4sh Initialization. ## +@@ -434,17 +434,17 @@ $config_headers + + Report bugs to the package provider." + +-ac_cs_config="" ++ac_cs_config="'--build=i686-apple-darwin10' '--host=mipsel-openadk-linux' '--target=mipsel-openadk-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sysconfdir=/etc' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--disable-nls' '--without-ffmpeg' '--without-jpeg-mmx' '--without-optimizecpu' '--without-mysql' '--without-sqlite' '--without-pgsql' '--with-v4l' 'build_alias=i686-apple-darwin10' 'host_alias=mipsel-openadk-linux' 'target_alias=mipsel-openadk-linux' 'CC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc' 'CFLAGS=-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' 'LDFLAGS=-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' 'CPPFLAGS=-DNDEBUG'" + ac_cs_version="\ + motion config.status trunkREV528 +-configured by ./configure, generated by GNU Autoconf 2.67, ++configured by /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-motion-4.0-1/motion-4.0/configure, generated by GNU Autoconf 2.67, + with options \"$ac_cs_config\" + + Copyright (C) 2010 Free Software Foundation, Inc. + This config.status script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it." + +-ac_pwd='/home/wbx/adk/ibm/motion' ++ac_pwd='/Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-motion-4.0-1/motion-4.0' + srcdir='.' + test -n "$AWK" || AWK=awk + # The default lists apply if the user does not specify any file. +@@ -523,10 +523,10 @@ if $ac_cs_silent; then + fi + + if $ac_cs_recheck; then +- set X '/bin/sh' './configure' $ac_configure_extra_args --no-create --no-recursion ++ set X '/bin/bash' '/Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-motion-4.0-1/motion-4.0/configure' '--build=i686-apple-darwin10' '--host=mipsel-openadk-linux' '--target=mipsel-openadk-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sysconfdir=/etc' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--disable-nls' '--without-ffmpeg' '--without-jpeg-mmx' '--without-optimizecpu' '--without-mysql' '--without-sqlite' '--without-pgsql' '--with-v4l' 'build_alias=i686-apple-darwin10' 'host_alias=mipsel-openadk-linux' 'target_alias=mipsel-openadk-linux' 'CC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc' 'CFLAGS=-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' 'LDFLAGS=-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' 'CPPFLAGS=-DNDEBUG' $ac_configure_extra_args --no-create --no-recursion + shift +- $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 +- CONFIG_SHELL='/bin/sh' ++ $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 ++ CONFIG_SHELL='/bin/bash' + export CONFIG_SHELL + exec "$@" + fi +@@ -620,30 +620,33 @@ echo 'BEGIN {' >"$tmp/subs1.awk" && + cat >>"$tmp/subs1.awk" <<\_ACAWK && + S["LTLIBOBJS"]="" + S["LIBOBJS"]="" +-S["BIN_PATH"]="/usr/local/bin" +-S["EGREP"]="/bin/grep -E" +-S["GREP"]="/bin/grep" +-S["CPP"]="gcc -E" +-S["FFMPEG_OBJ"]="ffmpeg.o" ++S["BIN_PATH"]="/usr/bin" ++S["EGREP"]="/usr/bin/grep -E" ++S["GREP"]="/usr/bin/grep" ++S["CPP"]="/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E" ++S["FFMPEG_OBJ"]="" + S["SDL_OBJ"]="sdl.o" + S["OBJEXT"]="o" + S["EXEEXT"]="" +-S["ac_ct_CC"]="gcc" +-S["CPPFLAGS"]="" +-S["LDFLAGS"]=" -L/usr/lib64" +-S["CFLAGS"]=" -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V"\ +-"4L2 -DTYPE_32BIT=\"int\" -DHAVE_BSWAP " +-S["CC"]="gcc" +-S["VIDEO"]="video.o video2.o video_common.o" +-S["target_alias"]="" +-S["host_alias"]="" +-S["build_alias"]="" +-S["LIBS"]="-lm -lpthread -L/usr/lib -lSDL -ljpeg -L/usr/lib64 -lavformat -lavcodec -lavutil -lm -lz -lsqlite3" ++S["ac_ct_CC"]="" ++S["CPPFLAGS"]="-DNDEBUG" ++S["LDFLAGS"]="-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link "\ ++"-Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -L/sw/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel"\ ++"_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib" ++S["CFLAGS"]="-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -I/sw/include -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -D_R"\ ++"EENTRANT -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DMOTION_V4L2 -DMOTION_V4L2_OLD -DTYPE_32BIT=\"int\""\ ++" -DHAVE_BSWAP " ++S["CC"]="/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc" ++S["VIDEO"]="video_freebsd.o" ++S["target_alias"]="mipsel-openadk-linux" ++S["host_alias"]="mipsel-openadk-linux" ++S["build_alias"]="i686-apple-darwin10" ++S["LIBS"]="-lm -L/sw/lib -lpthread -lSDL -lpthread -ljpeg -lsqlite3" + S["ECHO_T"]="" + S["ECHO_N"]="-n" + S["ECHO_C"]="" + S["DEFS"]="-DHAVE_CONFIG_H" +-S["mandir"]="${datarootdir}/man" ++S["mandir"]="/usr/share/man" + S["localedir"]="${datarootdir}/locale" + S["libdir"]="${exec_prefix}/lib" + S["psdir"]="${docdir}" +@@ -654,16 +657,16 @@ S["infodir"]="${datarootdir}/info" + S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" + S["oldincludedir"]="/usr/include" + S["includedir"]="${prefix}/include" +-S["localstatedir"]="${prefix}/var" ++S["localstatedir"]="/var" + S["sharedstatedir"]="${prefix}/com" +-S["sysconfdir"]="${prefix}/etc" +-S["datadir"]="${datarootdir}" ++S["sysconfdir"]="/etc" ++S["datadir"]="/usr/share" + S["datarootdir"]="${prefix}/share" +-S["libexecdir"]="${exec_prefix}/libexec" ++S["libexecdir"]="/usr/libexec" + S["sbindir"]="${exec_prefix}/sbin" +-S["bindir"]="${exec_prefix}/bin" ++S["bindir"]="/usr/bin" + S["program_transform_name"]="s,x,x," +-S["prefix"]="/usr/local" ++S["prefix"]="/usr" + S["exec_prefix"]="${prefix}" + S["PACKAGE_URL"]="" + S["PACKAGE_BUGREPORT"]="" +@@ -672,7 +675,7 @@ S["PACKAGE_VERSION"]="trunkREV528" + S["PACKAGE_TARNAME"]="motion" + S["PACKAGE_NAME"]="motion" + S["PATH_SEPARATOR"]=":" +-S["SHELL"]="/bin/sh" ++S["SHELL"]="/bin/bash" + _ACAWK + cat >>"$tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 +@@ -740,17 +743,17 @@ D["HAVE_TIME_H"]=" 1" + D["HAVE_SIGNAL_H"]=" 1" + D["HAVE_SYS_IOCTL_H"]=" 1" + D["HAVE_SYS_MMAN_H"]=" 1" +-D["HAVE_LINUX_VIDEODEV_H"]=" 1" + D["HAVE_LINUX_VIDEODEV2_H"]=" 1" + D["HAVE_SYS_PARAM_H"]=" 1" + D["HAVE_SYS_TYPES_H"]=" 1" + D["HAVE_GET_CURRENT_DIR_NAME"]=" 1" ++D["HAVE_LINUX_VIDEODEV2_H"]=" 1" + D["SIZEOF_SHORT"]=" 2" + D["SIZEOF_INT"]=" 4" +-D["SIZEOF_LONG_INT"]=" 8" ++D["SIZEOF_LONG_INT"]=" 4" + D["SIZEOF_LONG_LONG"]=" 8" +-D["SIZEOF_INT_P"]=" 8" +-D["SIZEOF_VOID_P"]=" 8" ++D["SIZEOF_INT_P"]=" 4" ++D["SIZEOF_VOID_P"]=" 4" + for (key in D) D_is_set[key] = 1 + FS = "" + } +@@ -940,11 +943,11 @@ case `eval "sed -n \"\$ac_sed_dataroot\" + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 + $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + ac_datarootdir_hack=' +- s&@datadir@&${datarootdir}&g ++ s&@datadir@&/usr/share&g + s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g + s&@infodir@&${datarootdir}/info&g + s&@localedir@&${datarootdir}/locale&g +- s&@mandir@&${datarootdir}/man&g ++ s&@mandir@&/usr/share/man&g + s&\${datarootdir}&${prefix}/share&g' ;; + esac + ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ diff --git a/package/motion/patches/patch-configure b/package/motion/patches/patch-configure new file mode 100644 index 000000000..e4f923ce8 --- /dev/null +++ b/package/motion/patches/patch-configure @@ -0,0 +1,20 @@ +--- motion-4.0.orig/configure 2011-09-18 22:48:41.000000000 +0200 ++++ motion-4.0/configure 2012-07-25 15:29:03.000000000 +0200 +@@ -2395,7 +2395,7 @@ fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Darwin" >&5 + $as_echo_n "checking for Darwin... " >&6; } +-Darwin=`uname -a | grep "Darwin"` ++Darwin= + + if test "${Darwin}" = ""; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +@@ -2403,7 +2403,7 @@ $as_echo "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for *BSD" >&5 + $as_echo_n "checking for *BSD... " >&6; } + +- FreeBSD=`uname -a | grep "BSD"` ++ FreeBSD= + if test "${FreeBSD}" = ""; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } diff --git a/package/motion/patches/patch-motion_init-Debian b/package/motion/patches/patch-motion_init-Debian new file mode 100644 index 000000000..18f9ef1a3 --- /dev/null +++ b/package/motion/patches/patch-motion_init-Debian @@ -0,0 +1,11 @@ +--- motion-4.0.orig/motion.init-Debian 2011-09-18 22:49:29.000000000 +0200 ++++ motion-4.0/motion.init-Debian 2012-07-25 14:54:50.000000000 +0200 +@@ -6,7 +6,7 @@ + + NAME=motion + PATH=/bin:/usr/bin:/sbin:/usr/sbin +-DAEMON=/usr/local/bin/motion ++DAEMON=/usr/bin/motion + PIDFILE=/var/run/motion/$NAME.pid + + diff --git a/package/motion/patches/patch-motion_init-FreeBSD_sh b/package/motion/patches/patch-motion_init-FreeBSD_sh new file mode 100644 index 000000000..64a47fe11 --- /dev/null +++ b/package/motion/patches/patch-motion_init-FreeBSD_sh @@ -0,0 +1,11 @@ +--- motion-4.0.orig/motion.init-FreeBSD.sh 2011-09-18 22:49:29.000000000 +0200 ++++ motion-4.0/motion.init-FreeBSD.sh 2012-07-25 14:54:50.000000000 +0200 +@@ -18,7 +18,7 @@ motion_enable="${motion_enable-NO}" + name="motion" + rcvar=`set_rcvar` + +-command="/usr/local/bin/${name}" ++command="/usr/bin/${name}" + pidfile="/var/run/${name}.pid" + required_files="/usr/local/etc/${name}.conf" + diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile index 336f43e38..a4df8b3b4 100644 --- a/package/mplayer/Makefile +++ b/package/mplayer/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= mplayer -PKG_VERSION:= 1.0-34809 +PKG_VERSION:= 1.1 PKG_RELEASE:= 1 -PKG_MD5SUM:= d128a711c453b828faf623b981c39afe +PKG_MD5SUM:= ac7bf1cfedc1c5c24bfc83107eefb1d9 PKG_DESCR:= popular video player PKG_SECTION:= multimedia PKG_DEPENDS:= alsa-lib libjpeg libfaad2 libmad libncurses @@ -17,7 +17,10 @@ PKG_BUILDDEP:= alsa-lib libmad libvorbis faad2 ncurses zlib PKG_BUILDDEP+= libX11 libXv libpng libXext jpeg libtheora PKG_BUILDDEP+= xvidcore libvpx PKG_URL:= http://www.mplayerhq.hu/ -PKG_SITES:= http://openadk.org/distfiles/ +PKG_SITES:= http://www.mplayerhq.hu/MPlayer/releases/ + +DISTFILES:= MPlayer-$(PKG_VERSION).tar.xz +WRKDIST= ${WRKDIR}/MPlayer-${PKG_VERSION} PKG_ARCH_DEPENDS:= x86 mips arm diff --git a/package/mrd6/patches/patch-include_mrd_support_ptree_h b/package/mrd6/patches/patch-include_mrd_support_ptree_h new file mode 100644 index 000000000..6025836b2 --- /dev/null +++ b/package/mrd6/patches/patch-include_mrd_support_ptree_h @@ -0,0 +1,10 @@ +--- mrd6-0.9.6.orig/include/mrd/support/ptree.h 2007-03-21 09:51:27.000000000 +0100 ++++ mrd6-0.9.6/include/mrd/support/ptree.h 2012-07-25 17:21:57.000000000 +0200 +@@ -38,6 +38,7 @@ + #include <stdint.h> + #include <algorithm> + #include <mrd/log.h> ++using std::ptrdiff_t; + + /* Patricia nodes MUST derive from ptree_node */ + struct ptree_node { diff --git a/package/mxml/patches/patch-Makefile_in.orig b/package/mxml/patches/patch-Makefile_in.orig deleted file mode 100644 index efe63f91a..000000000 --- a/package/mxml/patches/patch-Makefile_in.orig +++ /dev/null @@ -1,91 +0,0 @@ ---- mxml-2.6.orig/Makefile.in 2008-12-06 05:20:38.000000000 +0100 -+++ mxml-2.6/Makefile.in 2011-05-10 13:05:50.000000000 +0200 -@@ -88,7 +88,7 @@ PUBLIBOBJS = mxml-attr.o mxml-entity.o m - mxml-node.o mxml-search.o mxml-set.o - LIBOBJS = $(PUBLIBOBJS) mxml-private.o mxml-string.o - OBJS = mxmldoc.o testmxml.o $(LIBOBJS) --TARGETS = $(LIBMXML) mxmldoc testmxml mxml.xml doc/mxml.man -+TARGETS = $(LIBMXML) - - - # -@@ -133,13 +133,13 @@ clang: - # Install everything... - # - --install: $(TARGETS) install-$(LIBMXML) install-libmxml.a -+install: $(TARGETS) install-$(LIBMXML) - $(INSTALL_DIR) $(BUILDROOT)$(bindir) -- $(INSTALL_BIN) mxmldoc $(BUILDROOT)$(bindir) -- $(INSTALL_DIR) $(BUILDROOT)$(docdir) -- for file in $(DOCFILES); do \ -- $(INSTALL_MAN) $$file $(BUILDROOT)$(docdir); \ -- done -+ #$(INSTALL_BIN) mxmldoc $(BUILDROOT)$(bindir) -+ #$(INSTALL_DIR) $(BUILDROOT)$(docdir) -+ #for file in $(DOCFILES); do \ -+ # $(INSTALL_MAN) $$file $(BUILDROOT)$(docdir); \ -+ #done - $(INSTALL_DIR) $(BUILDROOT)$(includedir) - $(INSTALL_DATA) mxml.h $(BUILDROOT)$(includedir) - $(INSTALL_DIR) $(BUILDROOT)$(libdir)/pkgconfig -@@ -294,7 +294,7 @@ mxmldoc: $(LIBMXML) mxmldoc.o - $(CC) -L. $(LDFLAGS) -o $@ mxmldoc.o -lmxml $(LIBS) - - mxmldoc-static: libmxml.a mxmldoc.o -- $(CC) $(LDFLAGS) -o $@ mxmldoc.o libmxml.a $(LIBS) -+ $(CC_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ mxmldoc.o libmxml.a $(LIBS) - - mxmldoc.o: mxml.h - -@@ -304,28 +304,7 @@ mxmldoc.o: mxml.h - # - - testmxml: libmxml.a testmxml.o -- $(CC) $(LDFLAGS) -o $@ testmxml.o libmxml.a $(LIBS) -- @echo Testing library... -- ./testmxml test.xml >temp1.xml 2>temp1s.xml -- ./testmxml temp1.xml >temp2.xml 2>temp2s.xml -- @if cmp temp1.xml temp2.xml; then \ -- echo Stdio file test passed!; \ -- $(RM) temp2.xml temp2s.xml; \ -- else \ -- echo Stdio file test failed!; \ -- fi -- @if cmp temp1.xml temp1s.xml; then \ -- echo String test passed!; \ -- $(RM) temp1.xml temp1s.xml; \ -- else \ -- echo String test failed!; \ -- fi -- @if cmp test.xml test.xmlfd; then \ -- echo File descriptor test passed!; \ -- $(RM) test.xmlfd; \ -- else \ -- echo File descriptor test failed!; \ -- fi -+ $(CC_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ testmxml.o libmxml.a $(LIBS) - - testmxml.o: mxml.h - -@@ -336,19 +315,7 @@ testmxml.o: mxml.h - - mxml.xml: mxmldoc-static mxml.h $(PUBLIBOBJS:.o=.c) - $(RM) mxml.xml -- ./mxmldoc-static --header doc/reference.heading mxml.xml mxml.h $(PUBLIBOBJS:.o=.c) >doc/reference.html -- if test "x`uname`" = xDarwin; then \ -- ./mxmldoc-static --docset org.minixml.docset \ -- --docversion @VERSION@ --feedname minixml.org \ -- --feedurl http://www.minixml.org/org.minixml.atom \ -- --header doc/docset.header --intro doc/docset.intro \ -- --css doc/docset.css --title "Mini-XML API Reference" \ -- mxml.xml || exit 1; \ -- /Developer/usr/bin/docsetutil package --output org.minixml.xar \ -- --atom org.minixml.atom \ -- --download-url http://www.minixml.org/org.minixml.xar \ -- org.minixml.docset || exit 1; \ -- fi -+ #./mxmldoc-static --header doc/reference.heading mxml.xml mxml.h $(PUBLIBOBJS:.o=.c) >doc/reference.html - - valgrind: mxmldoc-static - $(RM) valgrind.xml diff --git a/package/net-tools/patches/patch-Makefile.orig b/package/net-tools/patches/patch-Makefile.orig deleted file mode 100644 index 31c4b8ba3..000000000 --- a/package/net-tools/patches/patch-Makefile.orig +++ /dev/null @@ -1,34 +0,0 @@ ---- net-tools-1.60.orig/Makefile 2001-04-15 16:34:31.000000000 +0200 -+++ net-tools-1.60/Makefile 2011-11-15 11:30:19.227768488 +0100 -@@ -76,7 +76,7 @@ - NET_LIB_PATH = lib - NET_LIB_NAME = net-tools - --PROGS := ifconfig hostname arp netstat route rarp slattach plipconfig nameif -+PROGS := arp - - -include config.make - ifeq ($(HAVE_IP_TOOLS),1) -@@ -113,7 +113,9 @@ endif - - NET_LIB = $(NET_LIB_PATH)/lib$(NET_LIB_NAME).a - --CFLAGS = $(COPTS) -I. -idirafter ./include/ -I$(NET_LIB_PATH) -+CFLAGS ?= -+CFLAGS += $(COPTS) -I. -idirafter ./include/ -I$(NET_LIB_PATH) -+LDFLAGS ?= -lssp - LDFLAGS = $(LOPTS) -L$(NET_LIB_PATH) - - SUBDIRS = man/ $(NET_LIB_PATH)/ -@@ -160,11 +162,6 @@ dist: clobber - - - config.h: config.in Makefile -- @echo "Configuring the Linux net-tools (NET-3 Base Utilities)..." ; echo -- @if [ config.status -nt config.in ]; \ -- then ./configure.sh config.status; \ -- else ./configure.sh config.in; \ -- fi - - - version.h: Makefile diff --git a/package/nmap/Makefile b/package/nmap/Makefile index 6c8726a32..20f17289f 100644 --- a/package/nmap/Makefile +++ b/package/nmap/Makefile @@ -22,7 +22,7 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,NMAP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -LIBRARIES:=-nodefaultlibs -luClibc++ -lgcc -lm -lc +LIBRARIES:=-nodefaultlibs -luClibc++ -lgcc -lm -lc -lgcc_s ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y) LIBRARIES+=-lssp -lssp_nonshared endif diff --git a/package/openswan/Makefile b/package/openswan/Makefile index e63435c2c..22c52ea73 100644 --- a/package/openswan/Makefile +++ b/package/openswan/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= openswan -PKG_VERSION:= 2.6.37 +PKG_VERSION:= 2.6.38 PKG_RELEASE:= 1 -PKG_MD5SUM:= e5c948555088df06cfadcfbe6c13adfe +PKG_MD5SUM:= 13073eb5314b83a31be88e4117e8bbcd PKG_DESCR:= IPsec software PKG_SECTION:= net/security PKG_DEPENDS:= ip libgmp libpthread kmod-net-key kmod-xfrm-user diff --git a/package/openswan/patches/patch-Makefile_top b/package/openswan/patches/patch-Makefile_top index 7b47163e5..410670312 100644 --- a/package/openswan/patches/patch-Makefile_top +++ b/package/openswan/patches/patch-Makefile_top @@ -1,6 +1,6 @@ ---- openswan-2.6.37.orig/Makefile.top 2011-10-28 23:11:53.000000000 +0200 -+++ openswan-2.6.37/Makefile.top 2011-12-01 17:31:34.000000000 +0100 -@@ -29,7 +29,7 @@ ERRCHECK=${MAKEUTILS}/errcheck +--- openswan-2.6.38.orig/Makefile.top 2012-03-23 22:33:43.000000000 +0100 ++++ openswan-2.6.38/Makefile.top 2012-07-25 18:17:21.000000000 +0200 +@@ -26,7 +26,7 @@ ERRCHECK=${MAKEUTILS}/errcheck KVUTIL=${MAKEUTILS}/kernelversion KVSHORTUTIL=${MAKEUTILS}/kernelversion-short diff --git a/package/openswan/patches/patch-lib_liblwres_Makefile b/package/openswan/patches/patch-lib_liblwres_Makefile new file mode 100644 index 000000000..5aaa2112e --- /dev/null +++ b/package/openswan/patches/patch-lib_liblwres_Makefile @@ -0,0 +1,11 @@ +--- openswan-2.6.38.orig/lib/liblwres/Makefile 2012-03-23 22:33:43.000000000 +0100 ++++ openswan-2.6.38/lib/liblwres/Makefile 2012-07-25 18:21:02.000000000 +0200 +@@ -23,7 +23,7 @@ CINCLUDES = -I${srcdir}${ISCARCH}/includ + -I${srcdir}../libisc/include \ + -I. -I./include -I${srcdir}include + CDEFINES = +-CWARNINGS = -Werror ++#CWARNINGS = -Werror + + CFLAGS+=${USERCOMPILE} ${PORTINCLUDE} ${CINCLUDES} ${CDEFINES} ${CWARNINGS} + diff --git a/package/openswan/patches/patch-lib_libopenswan_alg_info_c b/package/openswan/patches/patch-lib_libopenswan_alg_info_c index 4f09f3030..3ac8e824b 100644 --- a/package/openswan/patches/patch-lib_libopenswan_alg_info_c +++ b/package/openswan/patches/patch-lib_libopenswan_alg_info_c @@ -1,7 +1,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- openswan-2.6.37.orig/lib/libopenswan/alg_info.c 2011-10-28 23:11:53.000000000 +0200 -+++ openswan-2.6.37/lib/libopenswan/alg_info.c 2011-12-01 17:30:31.000000000 +0100 -@@ -764,7 +764,7 @@ alg_info_discover_pfsgroup_hack(struct a +--- openswan-2.6.38.orig/lib/libopenswan/alg_info.c 2012-03-23 22:33:43.000000000 +0100 ++++ openswan-2.6.38/lib/libopenswan/alg_info.c 2012-07-25 18:17:21.000000000 +0200 +@@ -778,7 +778,7 @@ alg_info_discover_pfsgroup_hack(struct a static char err_buf[256]; int ret; diff --git a/package/openswan/patches/patch-programs__realsetup__realsetup_in b/package/openswan/patches/patch-programs__realsetup__realsetup_in deleted file mode 100644 index 2a1adecc9..000000000 --- a/package/openswan/patches/patch-programs__realsetup__realsetup_in +++ /dev/null @@ -1,27 +0,0 @@ ---- openswan-2.6.37.orig/programs/_realsetup/_realsetup.in 2011-10-28 23:11:53.000000000 +0200 -+++ openswan-2.6.37/programs/_realsetup/_realsetup.in 2011-12-01 17:35:27.000000000 +0100 -@@ -395,15 +395,15 @@ case "$1" in - "}" - - # When we exit we clean up (remove) the modules we are using, even the kame'ish ones -- if test -e ${kamepfkey}; then -- for mod in ipcomp ipcomp6 xfrm6_tunnel xfrm6_mode_tunnel xfrm6_mode_beet xfrm6_mode_ro \ -- xfrm6_mode_transport xfrm4_mode_transport xfrm4_mode_tunnel xfrm_user \ -- xfrm4_tunnel xfrm4_mode_beet esp4 esp6 ah4 ah6 af_key \ -- xfrm_ipcomp tunnel6 -- do -- lsmod 2>&1 | grep "^$mod" > /dev/null && rmmod $mod -- done -- fi -+ #if test -e ${kamepfkey}; then -+ # for mod in ipcomp ipcomp6 xfrm6_tunnel xfrm6_mode_tunnel xfrm6_mode_beet xfrm6_mode_ro \ -+ # xfrm6_mode_transport xfrm4_mode_transport xfrm4_mode_tunnel xfrm_user \ -+ # xfrm4_tunnel xfrm4_mode_beet esp4 esp6 ah4 ah6 af_key \ -+ # xfrm_ipcomp tunnel6 -+ # do -+ # lsmod 2>&1 | grep "^$mod" > /dev/null && rmmod $mod -+ # done -+ #fi - - if test -e ${ipsecversion}; then - lsmod 2>&1 | grep "ipsec" > /dev/null && rmmod ipsec diff --git a/package/openswan/patches/patch-programs_ikeping_ikeping_c b/package/openswan/patches/patch-programs_ikeping_ikeping_c index 98762b332..075963e51 100644 --- a/package/openswan/patches/patch-programs_ikeping_ikeping_c +++ b/package/openswan/patches/patch-programs_ikeping_ikeping_c @@ -1,6 +1,6 @@ ---- openswan-2.6.37.orig/programs/ikeping/ikeping.c 2011-10-28 23:11:53.000000000 +0200 -+++ openswan-2.6.37/programs/ikeping/ikeping.c 2011-12-01 17:33:23.000000000 +0100 -@@ -317,7 +317,7 @@ main(int argc, char **argv) +--- openswan-2.6.38.orig/programs/ikeping/ikeping.c 2012-03-23 22:33:43.000000000 +0100 ++++ openswan-2.6.38/programs/ikeping/ikeping.c 2012-07-25 18:17:21.000000000 +0200 +@@ -318,7 +318,7 @@ main(int argc, char **argv) verbose=0; natt=0; listen_only=0; diff --git a/package/openvpn/Makefile b/package/openvpn/Makefile index 526ada9dd..39fd53b23 100644 --- a/package/openvpn/Makefile +++ b/package/openvpn/Makefile @@ -4,9 +4,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:= openvpn -PKG_VERSION:= 2.2.1 -PKG_RELEASE:= 2 -PKG_MD5SUM:= 500bee5449b29906150569aaf2eb2730 +PKG_VERSION:= 2.2.2 +PKG_RELEASE:= 1 +PKG_MD5SUM:= c5181e27b7945fa6276d21873329c5c7 PKG_DESCR:= Open Source VPN solution using SSL PKG_SECTION:= net/security PKG_DEPENDS:= kmod-tun libopenssl ip diff --git a/package/oprofile/Makefile b/package/oprofile/Makefile index c5dbef626..78408fd7c 100644 --- a/package/oprofile/Makefile +++ b/package/oprofile/Makefile @@ -4,9 +4,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:= oprofile -PKG_VERSION:= 0.9.6 +PKG_VERSION:= 0.9.7 PKG_RELEASE:= 1 -PKG_MD5SUM:= 4e407093ac06200185d5a5e6437d7242 +PKG_MD5SUM:= 8b5d1d9b65f84420bcc3234777ad3be3 PKG_DESCR:= system-wide profiles PKG_SECTION:= debug PKG_DEPENDS:= libpopt kmod-oprofile libbfd libstdcxx diff --git a/package/oprofile/patches/patch-ltmain_sh b/package/oprofile/patches/patch-ltmain_sh deleted file mode 100644 index 734d4fee0..000000000 --- a/package/oprofile/patches/patch-ltmain_sh +++ /dev/null @@ -1,11 +0,0 @@ ---- oprofile-0.9.6.orig/ltmain.sh 2008-10-01 16:41:58.000000000 +0200 -+++ oprofile-0.9.6/ltmain.sh 2011-01-16 14:01:51.000000000 +0100 -@@ -1676,7 +1676,7 @@ EOF - # -F/path gives path to uninstalled frameworks, gcc on darwin - # @file GCC response files - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) -+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto) - - # Unknown arguments in both finalize_command and compile_command need - # to be aesthetically quoted because they are evaled later. diff --git a/package/pacemaker/Makefile b/package/pacemaker/Makefile index 5d2fe2959..7e22039fe 100644 --- a/package/pacemaker/Makefile +++ b/package/pacemaker/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= pacemaker -PKG_VERSION:= 1.0.11 +PKG_VERSION:= 1.1.7 PKG_RELEASE:= 1 PKG_MD5SUM:= bfe2127d31e5244d0106a5c290fd0dc2 PKG_DESCR:= scalable High-Availability cluster resource manager diff --git a/package/php/Makefile b/package/php/Makefile index e37ba548d..0453f5f57 100644 --- a/package/php/Makefile +++ b/package/php/Makefile @@ -4,9 +4,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:= php -PKG_VERSION:= 5.3.8 +PKG_VERSION:= 5.3.15 PKG_RELEASE:= 1 -PKG_MD5SUM:= f4ce40d5d156ca66a996dbb8a0e7666a +PKG_MD5SUM:= 7c885c79a611b89f3a1095fce6eae5c6 PKG_DESCR:= PHP language interpreter PKG_SECTION:= lang PKG_DEPENDS:= libopenssl zlib libpthread diff --git a/package/rtsp/src/nf_nat_rtsp.c b/package/rtsp/src/nf_nat_rtsp.c index 9683e3c75..7f1e73b6f 100644 --- a/package/rtsp/src/nf_nat_rtsp.c +++ b/package/rtsp/src/nf_nat_rtsp.c @@ -472,7 +472,7 @@ help(struct sk_buff *skb, enum ip_conntrack_info ctinfo, static void expected(struct nf_conn* ct, struct nf_conntrack_expect *exp) { - struct nf_nat_multi_range_compat mr; + struct nf_nat_ipv4_multi_range_compat mr; u_int32_t newdstip, newsrcip, newip; struct nf_conn *master = ct->master; @@ -488,10 +488,10 @@ static void expected(struct nf_conn* ct, struct nf_conntrack_expect *exp) mr.rangesize = 1; // We don't want to manip the per-protocol, just the IPs. - mr.range[0].flags = IP_NAT_RANGE_MAP_IPS; + mr.range[0].flags = NF_NAT_RANGE_MAP_IPS; mr.range[0].min_ip = mr.range[0].max_ip = newip; - nf_nat_setup_info(ct, &mr.range[0], IP_NAT_MANIP_DST); + nf_nat_setup_info(ct, &mr.range[0], NF_NAT_MANIP_DST); } diff --git a/package/tcpdump/Makefile b/package/tcpdump/Makefile index aadcf62a4..599271815 100644 --- a/package/tcpdump/Makefile +++ b/package/tcpdump/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= tcpdump -PKG_VERSION:= 4.2.1 +PKG_VERSION:= 4.3.0 PKG_RELEASE:= 1 -PKG_MD5SUM:= c202878c6db054767b52651041b9e60e +PKG_MD5SUM:= a3fe4d30ac85ff5467c889ff46b7e1e8 PKG_DESCR:= A tool for network monitoring and data acquisition PKG_SECTION:= net PKG_DEPENDS:= libpcap diff --git a/package/tinycdb/Makefile b/package/tinycdb/Makefile index 8befb7675..79fa6d43e 100644 --- a/package/tinycdb/Makefile +++ b/package/tinycdb/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= tinycdb PKG_VERSION:= 0.77 PKG_RELEASE:= 1 -PKG_MD5SUM:= 501ac8a2461eb00393e814155f3750eb +PKG_MD5SUM:= c00e5fb96c30356ac3b67b2ab5d5641b PKG_DESCR:= CDB implementation PKG_SECTION:= db PKG_URL:= http://www.corpit.ru/mjt/tinycdb/ diff --git a/package/tinycdb/patches/patch-Makefile b/package/tinycdb/patches/patch-Makefile index f539666f7..6a805a193 100644 --- a/package/tinycdb/patches/patch-Makefile +++ b/package/tinycdb/patches/patch-Makefile @@ -1,5 +1,5 @@ --- tinycdb-0.77.orig/Makefile 2009-01-31 18:12:21.000000000 +0100 -+++ tinycdb-0.77/Makefile 2011-12-04 11:35:29.779689052 +0100 ++++ tinycdb-0.77/Makefile 2012-07-26 13:52:51.000000000 +0200 @@ -7,7 +7,7 @@ VERSION = 0.77 @@ -9,7 +9,7 @@ exec_prefix=$(prefix) bindir=$(exec_prefix)/bin libdir=$(exec_prefix)/lib -@@ -18,8 +18,8 @@ mandir=$(prefix)/man +@@ -18,12 +18,12 @@ mandir=$(prefix)/man NSSCDB_DIR = $(sysconfdir) DESTDIR= @@ -18,5 +18,11 @@ +CC ?= cc +CFLAGS ?= -O - AR = ar +-AR = ar ++AR ?= ar ARFLAGS = rv +-RANLIB = ranlib ++RANLIB ?= ranlib + + NSS_CDB = libnss_cdb.so.2 + LIBBASE = libcdb diff --git a/package/tinycdb/patches/patch-Makefile.orig b/package/tinycdb/patches/patch-Makefile.orig deleted file mode 100644 index 73ae2cd10..000000000 --- a/package/tinycdb/patches/patch-Makefile.orig +++ /dev/null @@ -1,13 +0,0 @@ ---- tinycdb-0.77.orig/Makefile 2009-01-31 18:12:21.000000000 +0100 -+++ tinycdb-0.77/Makefile 2011-12-04 11:34:00.495686810 +0100 -@@ -18,8 +18,8 @@ mandir=$(prefix)/man - NSSCDB_DIR = $(sysconfdir) - DESTDIR= - --CC = cc --CFLAGS = -O -+CC ?= cc -+CFLAGS ?= -O - - AR = ar - ARFLAGS = rv diff --git a/package/tmsnc/patches/patch-Makefile b/package/tmsnc/patches/patch-Makefile index c0be7120d..a676d0fe9 100644 --- a/package/tmsnc/patches/patch-Makefile +++ b/package/tmsnc/patches/patch-Makefile @@ -1,18 +1,27 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ --- tmsnc-0.3.2.orig/Makefile 2006-10-17 13:14:22.000000000 +0200 -+++ tmsnc-0.3.2/Makefile 2009-06-02 01:13:53.000000000 +0200 ++++ tmsnc-0.3.2/Makefile 2012-07-26 13:54:39.000000000 +0200 +@@ -21,7 +21,7 @@ pkglibdir = $(libdir)/tmsnc + pkgincludedir = $(includedir)/tmsnc + top_builddir = . + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +-INSTALL = /usr/bin/install -c ++INSTALL = /Volumes/adk/openadk/scripts/install -c + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c + install_sh_SCRIPT = $(install_sh) -c @@ -33,8 +33,8 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -build_triplet = i686-pc-linux-gnu -host_triplet = i686-pc-linux-gnu -+build_triplet = x86_64-pc-linux-gnu -+host_triplet = i586-pc-linux-gnu ++build_triplet = i686-apple-darwin10 ++host_triplet = mipsel-openadk-linux-gnu DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in \ $(top_srcdir)/autopackage/default.apspec.in \ -@@ -76,21 +76,21 @@ DIST_ARCHIVES = $(distdir).tar.gz +@@ -76,41 +76,41 @@ DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print @@ -31,39 +40,47 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -CPPFLAGS = -CURSES_INCLUDEDIR = -CURSES_LIBS = -lncurses -lpanel -lform -+ACLOCAL = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9 ++ACLOCAL = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9 +AMDEP_FALSE = +AMDEP_TRUE = # -+AMTAR = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar -+AUTOCONF = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf -+AUTOHEADER = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader -+AUTOMAKE = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9 ++AMTAR = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar ++AUTOCONF = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf ++AUTOHEADER = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader ++AUTOMAKE = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9 +AWK = gawk -+CC = /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc ++CC = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc +CCDEPMODE = depmode=none -+CFLAGS = -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -+CPP = /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -E -+CPPFLAGS = -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -+CURSES_INCLUDEDIR = -I/home/wbx/alix1c/openadk/cross_i586/target/include -DRENAMED_NCURSES -+CURSES_LIBS = -L/home/wbx/alix1c/openadk/cross_i586/target/lib -lncurses -lpanel -lform ++CFLAGS = -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe ++CPP = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E ++CPPFLAGS = -DNDEBUG -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include ++CURSES_INCLUDEDIR = -I/Volumes/adk/openadk/target_mipsel_uclibc/include ++CURSES_LIBS = -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses -lpanel -lform CYGPATH_W = echo DEFS = -DHAVE_CONFIG_H DEPDIR = .deps -@@ -104,13 +104,13 @@ INSTALL_DATA = ${INSTALL} -m 644 + ECHO_C = + ECHO_N = -n + ECHO_T = +-EGREP = /bin/grep -E ++EGREP = /usr/bin/grep -E + EXEEXT = +-GREP = /bin/grep ++GREP = /usr/bin/grep + INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s -LDFLAGS = -LIBICONV = -+LDFLAGS = -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -+LIBICONV = /home/wbx/alix1c/openadk/cross_i586/target/usr/lib/libiconv.so -Wl,-rpath -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib ++LDFLAGS = -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib ++LIBICONV = /Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl,-rpath -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib LIBOBJS = LIBS = -LTLIBICONV = -+LTLIBICONV = -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -liconv -R/home/wbx/alix1c/openadk/cross_i586/target/usr/lib ++LTLIBICONV = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -liconv -R/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib LTLIBOBJS = -MAKEINFO = ${SHELL} /home/jonas/tmsnc/missing --run makeinfo -+MAKEINFO = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo ++MAKEINFO = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo OBJEXT = o OPENSSL_FALSE = # OPENSSL_TRUE = @@ -76,9 +93,9 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -SSLLIB = -lssl -lcrypto -STRIP = +SHELL = /bin/bash -+SSLINC = -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -+SSLLIB = -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -lssl -lcrypto -+STRIP = i586-linux-strip ++SSLINC = -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include ++SSLLIB = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -lssl -lcrypto ++STRIP = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-strip TALKFILTERS_FALSE = TALKFILTERS_TRUE = # TFLIB = @@ -94,16 +111,18 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ am__quote = am__tar = ${AMTAR} chof - "$$tardir" am__untar = ${AMTAR} xf - - bindir = ${exec_prefix}/bin +-bindir = ${exec_prefix}/bin -build = i686-pc-linux-gnu -build_alias = --build_cpu = i686 -+build = x86_64-pc-linux-gnu -+build_alias = x86_64-linux-gnu -+build_cpu = x86_64 - build_os = linux-gnu - build_vendor = pc ++bindir = /usr/bin ++build = i686-apple-darwin10 ++build_alias = i686-apple-darwin10 + build_cpu = i686 +-build_os = linux-gnu +-build_vendor = pc -datadir = ${datarootdir} ++build_os = darwin10 ++build_vendor = apple +datadir = /usr/share datarootdir = ${prefix}/share docdir = ${datarootdir}/doc/${PACKAGE} @@ -112,25 +131,27 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -host = i686-pc-linux-gnu -host_alias = -host_cpu = i686 -+host = i586-pc-linux-gnu -+host_alias = i586-linux -+host_cpu = i586 ++host = mipsel-openadk-linux-gnu ++host_alias = mipsel-openadk-linux ++host_cpu = mipsel host_os = linux-gnu - host_vendor = pc +-host_vendor = pc ++host_vendor = openadk htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = /home/jonas/tmsnc/install-sh -+install_sh = /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh ++install_sh = /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh libdir = ${exec_prefix}/lib -libexecdir = ${exec_prefix}/libexec -+libexecdir = /usr/sbin ++libexecdir = /usr/libexec localedir = ${datarootdir}/locale -localstatedir = ${prefix}/var -mandir = ${datarootdir}/man +-mkdir_p = mkdir -p -- +localstatedir = /var +mandir = /usr/share/man - mkdir_p = mkdir -p -- ++mkdir_p = $(mkinstalldirs) oldincludedir = /usr/include pdfdir = ${docdir} -prefix = /usr/local @@ -143,7 +164,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -sysconfdir = ${prefix}/etc -target_alias = +sysconfdir = /etc -+target_alias = i586-linux ++target_alias = mipsel-openadk-linux tmsnc_VERSION = 0.3.2 AUTOMAKE_OPTIONS = no-dependencies SUBDIRS = src doc diff --git a/package/tmsnc/patches/patch-config_log b/package/tmsnc/patches/patch-config_log index 519c7681e..21661b7ce 100644 --- a/package/tmsnc/patches/patch-config_log +++ b/package/tmsnc/patches/patch-config_log @@ -1,12 +1,12 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ --- tmsnc-0.3.2.orig/config.log 2006-10-17 13:14:23.000000000 +0200 -+++ tmsnc-0.3.2/config.log 2009-06-02 01:13:54.000000000 +0200 -@@ -4,22 +4,22 @@ running configure, to aid debugging if c ++++ tmsnc-0.3.2/config.log 2012-07-26 13:54:40.000000000 +0200 +@@ -4,34 +4,52 @@ running configure, to aid debugging if c It was created by configure, which was generated by GNU Autoconf 2.60a. Invocation command line was - $ ./configure -+ $ /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/configure --build=x86_64-linux-gnu --host=i586-linux --target=i586-linux --program-prefix= --program-suffix= --prefix=/usr --datadir=/usr/share --mandir=/usr/share/man --libexecdir=/usr/sbin --localstatedir=/var --sysconfdir=/etc --disable-nls --enable-shared --enable-static --disable-dependency-tracking --disable-libtool-lock --disable-debug --enable-ipv6 --with-libiconv-prefix=/home/wbx/alix1c/openadk/cross_i586/target/usr --with-openssl=/home/wbx/alix1c/openadk/cross_i586/target/usr --with-ncurses=/home/wbx/alix1c/openadk/cross_i586/target ++ $ /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/configure --build=i686-apple-darwin10 --host=mipsel-openadk-linux --target=mipsel-openadk-linux --program-prefix= --program-suffix= --prefix=/usr --bindir=/usr/bin --datadir=/usr/share --mandir=/usr/share/man --libexecdir=/usr/libexec --localstatedir=/var --sysconfdir=/etc --enable-shared --enable-static --disable-dependency-tracking --disable-libtool-lock --disable-nls --with-libiconv-prefix=/Volumes/adk/openadk/target_mipsel_uclibc/usr --with-openssl=/Volumes/adk/openadk/target_mipsel_uclibc/usr --with-ncurses=/Volumes/adk/openadk/target_mipsel_uclibc ## --------- ## ## Platform. ## @@ -15,36 +15,63 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -hostname = prophet -uname -m = i686 -uname -r = 2.6.18-mactel -+hostname = natrium -+uname -m = x86_64 -+uname -r = 2.6.26-2-amd64 - uname -s = Linux +-uname -s = Linux -uname -v = #1 SMP Tue Oct 10 12:17:51 CEST 2006 -+uname -v = #1 SMP Fri Mar 27 04:02:59 UTC 2009 ++hostname = neon.localdomain ++uname -m = i386 ++uname -r = 10.8.0 ++uname -s = Darwin ++uname -v = Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 - /usr/bin/uname -p = unknown +-/usr/bin/uname -p = unknown ++/usr/bin/uname -p = i386 /bin/uname -X = unknown -/bin/arch = i686 +/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown - /usr/bin/hostinfo = unknown -@@ -27,10 +27,12 @@ uname -v = #1 SMP Tue Oct 10 12:17:51 CE +-/usr/bin/hostinfo = unknown ++/usr/bin/hostinfo = Mach kernel version: ++ Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 ++Kernel configured for up to 2 processors. ++2 processors are physically available. ++2 processors are logically available. ++Processor type: i486 (Intel 80486) ++Processors active: 0 1 ++Primary memory available: 4.00 gigabytes ++Default processor set: 87 tasks, 378 threads, 2 processors ++Load average: 1.56, Mach factor: 0.88 + /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown -+PATH: /home/wbx/alix1c/openadk/scripts -+PATH: /home/wbx/alix1c/openadk/cross_i586/host/bin -+PATH: /home/wbx/alix1c/openadk/cross_i586/target/scripts - PATH: /usr/local/bin +-PATH: /usr/local/bin ++PATH: /Volumes/adk/openadk/scripts ++PATH: /Volumes/adk/openadk/bin/tools ++PATH: /Volumes/adk/openadk/host_mipsel_uclibc/bin ++PATH: /Volumes/adk/openadk/host_mipsel_uclibc/usr/bin ++PATH: /Volumes/adk/openadk/target_mipsel_uclibc/scripts ++PATH: /opt/local/bin ++PATH: /opt/local/sbin PATH: /usr/bin PATH: /bin -PATH: /usr/bin/X11 - PATH: /usr/games +-PATH: /usr/games ++PATH: /usr/sbin ++PATH: /sbin ++PATH: /usr/local/bin ++PATH: /usr/local/MacGPG2/bin ++PATH: /usr/X11/bin -@@ -43,87 +45,85 @@ configure:1845: result: /usr/bin/install + ## ----------- ## +@@ -39,73 +57,74 @@ PATH: /usr/games + ## ----------- ## + + configure:1789: checking for a BSD-compatible install +-configure:1845: result: /usr/bin/install -c ++configure:1845: result: /Volumes/adk/openadk/scripts/install -c configure:1856: checking whether build environment is sane configure:1899: result: yes configure:1964: checking for gawk @@ -52,49 +79,51 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -configure:1964: checking for mawk -configure:1980: found /usr/bin/mawk -configure:1991: result: mawk --configure:2002: checking whether make sets $(MAKE) -+configure:1980: found /usr/bin/gawk ++configure:1980: found /opt/local/bin/gawk +configure:1991: result: gawk -+configure:2002: checking whether /usr/bin/make sets $(MAKE) + configure:2002: checking whether make sets $(MAKE) configure:2023: result: yes -configure:2258: checking for gcc -configure:2274: found /usr/bin/gcc -configure:2285: result: gcc -+configure:2099: checking for i586-linux-strip -+configure:2115: found /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-strip -+configure:2126: result: i586-linux-strip -+configure:2218: checking for i586-linux-gcc -+configure:2245: result: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc ++configure:2099: checking for mipsel-openadk-linux-strip ++configure:2126: result: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-strip ++configure:2218: checking for mipsel-openadk-linux-gcc ++configure:2245: result: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc configure:2523: checking for C compiler version -configure:2530: gcc --version >&5 -gcc (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13) -Copyright (C) 2006 Free Software Foundation, Inc. -+configure:2530: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc --version >&5 -+i586-linux-gnu-gcc (GCC) 4.4.0 -+Copyright (C) 2009 Free Software Foundation, Inc. ++configure:2530: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc --version >&5 ++mipsel-openadk-linux-uclibc-gcc (GCC) 4.6.3 ++Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2533: $? = 0 -configure:2540: gcc -v >&5 -+configure:2540: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -v >&5 ++configure:2540: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -v >&5 Using built-in specs. -Target: i486-linux-gnu -Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu -+Target: i586-linux-gnu -+Configured with: /home/wbx/alix1c/openadk/toolchain_build_i586/gcc-4.4.0/configure --prefix=/home/wbx/alix1c/openadk/cross_i586/host --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=i586-linux-gnu --with-gmp=/home/wbx/alix1c/openadk/cross_i586/host --with-mpfr=/home/wbx/alix1c/openadk/cross_i586/host --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --without-headers --disable-libmudflap --disable-libgomp --disable-biarch --disable-multilib --disable-nls --enable-libssp --enable-languages=c,c++ --with-sysroot=/home/wbx/alix1c/openadk/cross_i586/target --with-slibdir=/home/wbx/alix1c/openadk/cross_i586/target/lib --enable-shared ++COLLECT_GCC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc ++COLLECT_LTO_WRAPPER=/Volumes/adk/openadk/host_mipsel_uclibc/libexec/gcc/mipsel-openadk-linux-uclibc/4.6.3/lto-wrapper ++Target: mipsel-openadk-linux-uclibc ++Configured with: /Volumes/adk/openadk/toolchain_build_mipsel_uclibc/w-gcc-4.6.3-1/gcc-4.6.3/configure --prefix=/Volumes/adk/openadk/host_mipsel_uclibc --build=i686-apple-darwin10 --host=i686-apple-darwin10 --target=mipsel-openadk-linux-uclibc --with-gmp=/Volumes/adk/openadk/host_mipsel_uclibc --with-mpfr=/Volumes/adk/openadk/host_mipsel_uclibc --with-libelf=/Volumes/adk/openadk/host_mipsel_uclibc --disable-__cxa_atexit --with-gnu-ld --disable-multilib --disable-libmudflap --disable-libgomp --disable-decimal-float --disable-libstdcxx-pch --disable-ppl-version-check --disable-cloog-version-check --without-ppl --without-cloog --disable-nls --disable-sjlj-exceptions --disable-biarch --enable-libssp --enable-lto --enable-tls --enable-target-optspace --enable-languages=c,c++ --with-sysroot='/Volumes/adk/openadk/host_mipsel_uclibc/../target_mipsel_uclibc' --with-slibdir=/Volumes/adk/openadk/target_mipsel_uclibc/lib --enable-shared Thread model: posix -gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13) -+gcc version 4.4.0 (GCC) ++gcc version 4.6.3 (GCC) configure:2543: $? = 0 -configure:2550: gcc -V >&5 -gcc: '-V' option must have argument -+configure:2550: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -V >&5 -+i586-linux-gnu-gcc: '-V' option must have argument ++configure:2550: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -V >&5 ++mipsel-openadk-linux-uclibc-gcc: error: unrecognized option '-V' ++mipsel-openadk-linux-uclibc-gcc: fatal error: no input files ++compilation terminated. configure:2553: $? = 1 configure:2576: checking for C compiler default output file name -configure:2603: gcc conftest.c >&5 -+configure:2603: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib conftest.c >&5 ++configure:2603: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c >&5 configure:2606: $? = 0 configure:2644: result: a.out configure:2661: checking whether the C compiler works @@ -106,17 +135,17 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +configure:2700: result: yes configure:2703: checking for suffix of executables -configure:2710: gcc -o conftest conftest.c >&5 -+configure:2710: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -o conftest -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib conftest.c >&5 ++configure:2710: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c >&5 configure:2713: $? = 0 configure:2737: result: configure:2743: checking for suffix of object files -configure:2769: gcc -c conftest.c >&5 -+configure:2769: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:2769: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:2772: $? = 0 configure:2795: result: o configure:2799: checking whether we are using the GNU C compiler -configure:2828: gcc -c conftest.c >&5 -+configure:2828: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:2828: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:2834: $? = 0 configure:2841: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:2844: $? = 0 @@ -125,8 +154,8 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ configure:2868: result: yes -configure:2873: checking whether gcc accepts -g -configure:2903: gcc -c -g conftest.c >&5 -+configure:2873: checking whether /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc accepts -g -+configure:2903: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -g -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:2873: checking whether /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc accepts -g ++configure:2903: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -g -DNDEBUG conftest.c >&5 configure:2909: $? = 0 configure:2916: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:2919: $? = 0 @@ -135,55 +164,65 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ configure:3059: result: yes -configure:3076: checking for gcc option to accept ISO C89 -configure:3150: gcc -c -g -O2 conftest.c >&5 -+configure:3076: checking for /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc option to accept ISO C89 -+configure:3150: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:3076: checking for /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc option to accept ISO C89 ++configure:3150: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:3156: $? = 0 configure:3163: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:3166: $? = 0 - configure:3173: test -s conftest.o - configure:3176: $? = 0 +@@ -114,17 +133,18 @@ configure:3176: $? = 0 configure:3196: result: none needed --configure:3225: checking for style of include used by make -+configure:3225: checking for style of include used by /usr/bin/make + configure:3225: checking for style of include used by make configure:3253: result: GNU -configure:3281: checking dependency style of gcc -configure:3371: result: gcc3 -+configure:3281: checking dependency style of /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc ++configure:3281: checking dependency style of /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc +configure:3371: result: none configure:3401: checking for a BSD-compatible install - configure:3457: result: /usr/bin/install -c --configure:3468: checking whether make sets $(MAKE) -+configure:3468: checking whether /usr/bin/make sets $(MAKE) +-configure:3457: result: /usr/bin/install -c ++configure:3457: result: /Volumes/adk/openadk/scripts/install -c + configure:3468: checking whether make sets $(MAKE) configure:3489: result: yes configure:3506: checking how to run the C preprocessor -configure:3546: gcc -E conftest.c -+configure:3546: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -E -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c ++configure:3546: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c configure:3552: $? = 0 -configure:3590: gcc -E conftest.c -+configure:3590: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -E -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c - conftest.c:10:28: error: ac_nonexistent.h: No such file or directory +-conftest.c:10:28: error: ac_nonexistent.h: No such file or directory ++configure:3590: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c ++conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory ++compilation terminated. configure:3596: $? = 1 configure: failed program was: -@@ -137,10 +137,10 @@ configure: failed program was: + | /* confdefs.h. */ +@@ -137,11 +157,12 @@ configure: failed program was: | #define VERSION "0.3.2" | /* end confdefs.h. */ | #include <ac_nonexistent.h> -configure:3636: result: gcc -E -configure:3665: gcc -E conftest.c -+configure:3636: result: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -E -+configure:3665: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -E -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c ++configure:3636: result: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E ++configure:3665: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c configure:3671: $? = 0 -configure:3709: gcc -E conftest.c -+configure:3709: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -E -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c - conftest.c:10:28: error: ac_nonexistent.h: No such file or directory +-conftest.c:10:28: error: ac_nonexistent.h: No such file or directory ++configure:3709: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E -DNDEBUG conftest.c ++conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory ++compilation terminated. configure:3715: $? = 1 configure: failed program was: -@@ -159,19 +159,15 @@ configure:3834: result: /bin/grep + | /* confdefs.h. */ +@@ -155,23 +176,19 @@ configure: failed program was: + | /* end confdefs.h. */ + | #include <ac_nonexistent.h> + configure:3760: checking for grep that handles long lines and -e +-configure:3834: result: /bin/grep ++configure:3834: result: /usr/bin/grep configure:3839: checking for egrep - configure:3917: result: /bin/grep -E +-configure:3917: result: /bin/grep -E ++configure:3917: result: /usr/bin/grep -E configure:3922: checking for ANSI C header files -configure:3952: gcc -c -g -O2 conftest.c >&5 -+configure:3952: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:3952: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:3958: $? = 0 configure:3965: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:3968: $? = 0 @@ -196,133 +235,133 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ configure:4103: result: yes configure:4129: checking for sys/types.h -configure:4150: gcc -c -g -O2 conftest.c >&5 -+configure:4150: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:4150: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:4156: $? = 0 configure:4163: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4166: $? = 0 -@@ -179,7 +175,7 @@ configure:4173: test -s conftest.o +@@ -179,7 +196,7 @@ configure:4173: test -s conftest.o configure:4176: $? = 0 configure:4189: result: yes configure:4129: checking for sys/stat.h -configure:4150: gcc -c -g -O2 conftest.c >&5 -+configure:4150: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:4150: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:4156: $? = 0 configure:4163: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4166: $? = 0 -@@ -187,7 +183,7 @@ configure:4173: test -s conftest.o +@@ -187,7 +204,7 @@ configure:4173: test -s conftest.o configure:4176: $? = 0 configure:4189: result: yes configure:4129: checking for stdlib.h -configure:4150: gcc -c -g -O2 conftest.c >&5 -+configure:4150: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:4150: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:4156: $? = 0 configure:4163: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4166: $? = 0 -@@ -195,7 +191,7 @@ configure:4173: test -s conftest.o +@@ -195,7 +212,7 @@ configure:4173: test -s conftest.o configure:4176: $? = 0 configure:4189: result: yes configure:4129: checking for string.h -configure:4150: gcc -c -g -O2 conftest.c >&5 -+configure:4150: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:4150: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:4156: $? = 0 configure:4163: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4166: $? = 0 -@@ -203,7 +199,7 @@ configure:4173: test -s conftest.o +@@ -203,7 +220,7 @@ configure:4173: test -s conftest.o configure:4176: $? = 0 configure:4189: result: yes configure:4129: checking for memory.h -configure:4150: gcc -c -g -O2 conftest.c >&5 -+configure:4150: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:4150: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:4156: $? = 0 configure:4163: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4166: $? = 0 -@@ -211,7 +207,7 @@ configure:4173: test -s conftest.o +@@ -211,7 +228,7 @@ configure:4173: test -s conftest.o configure:4176: $? = 0 configure:4189: result: yes configure:4129: checking for strings.h -configure:4150: gcc -c -g -O2 conftest.c >&5 -+configure:4150: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:4150: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:4156: $? = 0 configure:4163: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4166: $? = 0 -@@ -219,7 +215,7 @@ configure:4173: test -s conftest.o +@@ -219,7 +236,7 @@ configure:4173: test -s conftest.o configure:4176: $? = 0 configure:4189: result: yes configure:4129: checking for inttypes.h -configure:4150: gcc -c -g -O2 conftest.c >&5 -+configure:4150: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:4150: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:4156: $? = 0 configure:4163: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4166: $? = 0 -@@ -227,7 +223,7 @@ configure:4173: test -s conftest.o +@@ -227,7 +244,7 @@ configure:4173: test -s conftest.o configure:4176: $? = 0 configure:4189: result: yes configure:4129: checking for stdint.h -configure:4150: gcc -c -g -O2 conftest.c >&5 -+configure:4150: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:4150: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:4156: $? = 0 configure:4163: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4166: $? = 0 -@@ -235,7 +231,7 @@ configure:4173: test -s conftest.o +@@ -235,7 +252,7 @@ configure:4173: test -s conftest.o configure:4176: $? = 0 configure:4189: result: yes configure:4129: checking for unistd.h -configure:4150: gcc -c -g -O2 conftest.c >&5 -+configure:4150: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:4150: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:4156: $? = 0 configure:4163: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4166: $? = 0 -@@ -243,7 +239,7 @@ configure:4173: test -s conftest.o +@@ -243,7 +260,7 @@ configure:4173: test -s conftest.o configure:4176: $? = 0 configure:4189: result: yes configure:4201: checking for pid_t -configure:4231: gcc -c -g -O2 conftest.c >&5 -+configure:4231: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:4231: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:4237: $? = 0 configure:4244: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4247: $? = 0 -@@ -251,7 +247,7 @@ configure:4254: test -s conftest.o +@@ -251,7 +268,7 @@ configure:4254: test -s conftest.o configure:4257: $? = 0 configure:4269: result: yes configure:4281: checking for size_t -configure:4311: gcc -c -g -O2 conftest.c >&5 -+configure:4311: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:4311: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:4317: $? = 0 configure:4324: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4327: $? = 0 -@@ -259,7 +255,7 @@ configure:4334: test -s conftest.o +@@ -259,7 +276,7 @@ configure:4334: test -s conftest.o configure:4337: $? = 0 configure:4349: result: yes configure:4361: checking whether time.h and sys/time.h may both be included -configure:4391: gcc -c -g -O2 conftest.c >&5 -+configure:4391: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:4391: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:4397: $? = 0 configure:4404: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4407: $? = 0 -@@ -267,7 +263,7 @@ configure:4414: test -s conftest.o +@@ -267,7 +284,7 @@ configure:4414: test -s conftest.o configure:4417: $? = 0 configure:4429: result: yes configure:4439: checking whether struct tm is in sys/time.h or time.h -configure:4467: gcc -c -g -O2 conftest.c >&5 -+configure:4467: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:4467: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG conftest.c >&5 configure:4473: $? = 0 configure:4480: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4483: $? = 0 -@@ -275,7 +271,7 @@ configure:4490: test -s conftest.o +@@ -275,7 +292,7 @@ configure:4490: test -s conftest.o configure:4493: $? = 0 configure:4505: result: time.h configure:4516: checking for library containing gethostbyname -configure:4557: gcc -o conftest -g -O2 conftest.c >&5 -+configure:4557: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -o conftest -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib conftest.c >&5 ++configure:4557: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c >&5 configure:4563: $? = 0 configure:4570: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4573: $? = 0 -@@ -283,17 +279,15 @@ configure:4580: test -s conftest +@@ -283,17 +300,15 @@ configure:4580: test -s conftest configure:4583: $? = 0 configure:4607: result: none required configure:4615: checking for socket -configure:4671: gcc -o conftest -g -O2 conftest.c >&5 -+configure:4671: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -o conftest -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib conftest.c >&5 ++configure:4671: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c >&5 configure:4677: $? = 0 configure:4684: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:4687: $? = 0 @@ -333,42 +372,43 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -configure:5092: result: Found ncurses on /usr/include/ncurses.h configure:5367: checking for use_default_colors -configure:5423: gcc -o conftest -g -O2 conftest.c -lncurses >&5 -+configure:5423: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -o conftest -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib conftest.c -L/home/wbx/alix1c/openadk/cross_i586/target/lib -lncurses >&5 ++configure:5423: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses >&5 configure:5429: $? = 0 configure:5436: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:5439: $? = 0 -@@ -301,7 +295,7 @@ configure:5446: test -s conftest +@@ -301,7 +316,7 @@ configure:5446: test -s conftest configure:5449: $? = 0 configure:5463: result: yes configure:5367: checking for resizeterm -configure:5423: gcc -o conftest -g -O2 conftest.c -lncurses >&5 -+configure:5423: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -o conftest -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib conftest.c -L/home/wbx/alix1c/openadk/cross_i586/target/lib -lncurses >&5 ++configure:5423: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses >&5 configure:5429: $? = 0 configure:5436: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:5439: $? = 0 -@@ -309,7 +303,7 @@ configure:5446: test -s conftest +@@ -309,7 +324,7 @@ configure:5446: test -s conftest configure:5449: $? = 0 configure:5463: result: yes configure:5367: checking for resize_term -configure:5423: gcc -o conftest -g -O2 conftest.c -lncurses >&5 -+configure:5423: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -o conftest -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib conftest.c -L/home/wbx/alix1c/openadk/cross_i586/target/lib -lncurses >&5 ++configure:5423: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses >&5 configure:5429: $? = 0 configure:5436: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:5439: $? = 0 -@@ -317,9 +311,9 @@ configure:5446: test -s conftest +@@ -317,9 +332,10 @@ configure:5446: test -s conftest configure:5449: $? = 0 configure:5463: result: yes configure:5367: checking for wadd_wch -configure:5423: gcc -o conftest -g -O2 conftest.c -lncurses >&5 -/tmp/cciXPB1b.o: In function `main': -/home/jonas/tmsnc/conftest.c:60: undefined reference to `wadd_wch' -+configure:5423: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -o conftest -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib conftest.c -L/home/wbx/alix1c/openadk/cross_i586/target/lib -lncurses >&5 -+/tmp/ccezoIMb.o: In function `main': -+conftest.c:(.text+0x1d): undefined reference to `wadd_wch' ++configure:5423: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses >&5 ++/var/folders/v7/v7rUSnywE5SYxctWLsie4++++TI/-Tmp-//ccPE2bt6.o: In function `main': ++conftest.c:(.text.startup+0xc): undefined reference to `wadd_wch' ++conftest.c:(.text.startup+0x18): undefined reference to `wadd_wch' collect2: ld returned 1 exit status configure:5429: $? = 1 configure: failed program was: -@@ -342,8 +336,8 @@ configure: failed program was: +@@ -342,8 +358,8 @@ configure: failed program was: | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define TIME_WITH_SYS_TIME 1 @@ -378,20 +418,20 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_RESIZETERM 1 | #define HAVE_RESIZE_TERM 1 -@@ -388,25 +382,71 @@ configure: failed program was: +@@ -388,25 +404,74 @@ configure: failed program was: | } configure:5463: result: no configure:5515: checking build system type -configure:5533: result: i686-pc-linux-gnu -+configure:5533: result: x86_64-pc-linux-gnu ++configure:5533: result: i686-apple-darwin10 configure:5555: checking host system type -configure:5570: result: i686-pc-linux-gnu -+configure:5570: result: i586-pc-linux-gnu ++configure:5570: result: mipsel-openadk-linux-gnu configure:5616: checking for ld used by GCC -configure:5680: result: /usr/bin/ld -configure:5689: checking if the linker (/usr/bin/ld) is GNU ld -+configure:5680: result: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-ld -+configure:5689: checking if the linker (/home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-ld) is GNU ld ++configure:5680: result: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-ld ++configure:5689: checking if the linker (/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-ld) is GNU ld configure:5702: result: yes configure:5709: checking for shared library run path origin configure:5722: result: done @@ -402,11 +442,14 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -configure:6200: $? = 0 -configure:6207: test -s conftest -configure:6210: $? = 0 -+configure:6184: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -o conftest -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib conftest.c >&5 -+/tmp/ccwM6z8w.o: In function `main': -+conftest.c:(.text+0x28): undefined reference to `libiconv_open' -+conftest.c:(.text+0x3d): undefined reference to `libiconv' -+conftest.c:(.text+0x46): undefined reference to `libiconv_close' ++configure:6184: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c >&5 ++/var/folders/v7/v7rUSnywE5SYxctWLsie4++++TI/-Tmp-//ccM3dqcv.o: In function `main': ++conftest.c:(.text.startup+0x10): undefined reference to `libiconv_open' ++conftest.c:(.text.startup+0x24): undefined reference to `libiconv_open' ++conftest.c:(.text.startup+0x34): undefined reference to `libiconv' ++conftest.c:(.text.startup+0x48): undefined reference to `libiconv' ++conftest.c:(.text.startup+0x58): undefined reference to `libiconv_close' ++conftest.c:(.text.startup+0x60): undefined reference to `libiconv_close' +collect2: ld returned 1 exit status +configure:6190: $? = 1 +configure: failed program was: @@ -446,7 +489,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +| ; +| return 0; +| } -+configure:6249: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -o conftest -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib conftest.c /home/wbx/alix1c/openadk/cross_i586/target/usr/lib/libiconv.so -Wl,-rpath -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib >&5 ++configure:6249: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c /Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl,-rpath -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib >&5 +configure:6255: $? = 0 +configure:6262: test -z "$ac_c_werror_flag" || test ! -s conftest.err +configure:6265: $? = 0 @@ -454,28 +497,28 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +configure:6275: $? = 0 configure:6292: result: yes +configure:6302: checking how to link with libiconv -+configure:6304: result: /home/wbx/alix1c/openadk/cross_i586/target/usr/lib/libiconv.so -Wl,-rpath -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib ++configure:6304: result: /Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl,-rpath -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib configure:6315: checking for iconv declaration -configure:6354: gcc -c -g -O2 conftest.c >&5 -+configure:6354: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -c -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG conftest.c >&5 ++configure:6354: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -c -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include conftest.c >&5 configure:6360: $? = 0 configure:6367: test -z "$ac_c_werror_flag" || test ! -s conftest.err configure:6370: $? = 0 -@@ -415,10 +455,10 @@ configure:6380: $? = 0 +@@ -415,10 +480,10 @@ configure:6380: $? = 0 configure:6396: result: extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); configure:6424: checking for openssl -configure:6494: result: yes -+configure:6447: result: /home/wbx/alix1c/openadk/cross_i586/target/usr ++configure:6447: result: /Volumes/adk/openadk/target_mipsel_uclibc/usr configure:6521: checking for gtf_filter_warez in -ltalkfilters -configure:6556: gcc -o conftest -g -O2 conftest.c -ltalkfilters >&5 -/usr/bin/ld: cannot find -ltalkfilters -+configure:6556: /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -o conftest -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib conftest.c -ltalkfilters >&5 -+/home/wbx/alix1c/openadk/cross_i586/host/lib/gcc/i586-linux-gnu/4.4.0/../../../../i586-linux-gnu/bin/ld: cannot find -ltalkfilters ++configure:6556: /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -o conftest -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe -DNDEBUG -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib conftest.c -ltalkfilters >&5 ++/Volumes/adk/openadk/host_mipsel_uclibc/lib/gcc/mipsel-openadk-linux-uclibc/4.6.3/../../../../mipsel-openadk-linux-uclibc/bin/ld: cannot find -ltalkfilters collect2: ld returned 1 exit status configure:6562: $? = 1 configure: failed program was: -@@ -441,8 +481,8 @@ configure: failed program was: +@@ -441,8 +506,8 @@ configure: failed program was: | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define TIME_WITH_SYS_TIME 1 @@ -485,12 +528,12 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_RESIZETERM 1 | #define HAVE_RESIZE_TERM 1 -@@ -481,37 +521,40 @@ generated by GNU Autoconf 2.60a. Invoca +@@ -481,37 +546,40 @@ generated by GNU Autoconf 2.60a. Invoca CONFIG_COMMANDS = $ ./config.status -on prophet -+on natrium ++on neon.localdomain config.status:646: creating Makefile config.status:646: creating doc/Makefile @@ -505,7 +548,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ## ---------------- ## -ac_cv_build=i686-pc-linux-gnu -+ac_cv_build=x86_64-pc-linux-gnu ++ac_cv_build=i686-apple-darwin10 ac_cv_c_compiler_gnu=yes -ac_cv_env_CC_set= -ac_cv_env_CC_value= @@ -514,11 +557,11 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -ac_cv_env_CPPFLAGS_set= -ac_cv_env_CPPFLAGS_value= +ac_cv_env_CC_set=set -+ac_cv_env_CC_value=/home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc ++ac_cv_env_CC_value=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc +ac_cv_env_CFLAGS_set=set -+ac_cv_env_CFLAGS_value='-fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all' ++ac_cv_env_CFLAGS_value='-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' +ac_cv_env_CPPFLAGS_set=set -+ac_cv_env_CPPFLAGS_value='-I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG' ++ac_cv_env_CPPFLAGS_value=-DNDEBUG ac_cv_env_CPP_set= ac_cv_env_CPP_value= -ac_cv_env_LDFLAGS_set= @@ -530,49 +573,48 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -ac_cv_env_target_alias_set= -ac_cv_env_target_alias_value= +ac_cv_env_LDFLAGS_set=set -+ac_cv_env_LDFLAGS_value='-Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib' ++ac_cv_env_LDFLAGS_value='-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' +ac_cv_env_build_alias_set=set -+ac_cv_env_build_alias_value=x86_64-linux-gnu ++ac_cv_env_build_alias_value=i686-apple-darwin10 +ac_cv_env_host_alias_set=set -+ac_cv_env_host_alias_value=i586-linux ++ac_cv_env_host_alias_value=mipsel-openadk-linux +ac_cv_env_target_alias_set=set -+ac_cv_env_target_alias_value=i586-linux ++ac_cv_env_target_alias_value=mipsel-openadk-linux +ac_cv_func_malloc_0_nonnull=yes +ac_cv_func_realloc_0_nonnull=yes ac_cv_func_resize_term=yes ac_cv_func_resizeterm=yes ac_cv_func_socket=yes -@@ -528,18 +571,19 @@ ac_cv_header_sys_stat_h=yes +@@ -528,15 +596,16 @@ ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_time=yes ac_cv_header_unistd_h=yes -ac_cv_host=i686-pc-linux-gnu -+ac_cv_host=i586-pc-linux-gnu ++ac_cv_host=mipsel-openadk-linux-gnu ac_cv_lib_talkfilters_gtf_filter_warez=no ac_cv_objext=o - ac_cv_path_EGREP='/bin/grep -E' - ac_cv_path_GREP=/bin/grep - ac_cv_path_install='/usr/bin/install -c' +-ac_cv_path_EGREP='/bin/grep -E' +-ac_cv_path_GREP=/bin/grep +-ac_cv_path_install='/usr/bin/install -c' -ac_cv_prog_AWK=mawk -ac_cv_prog_CPP='gcc -E' -ac_cv_prog_ac_ct_CC=gcc ++ac_cv_path_EGREP='/usr/bin/grep -E' ++ac_cv_path_GREP=/usr/bin/grep ++ac_cv_path_install='/Volumes/adk/openadk/scripts/install -c' +ac_cv_prog_AWK=gawk -+ac_cv_prog_CC=/home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -+ac_cv_prog_CPP='/home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -E' -+ac_cv_prog_STRIP=i586-linux-strip ++ac_cv_prog_CC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc ++ac_cv_prog_CPP='/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E' ++ac_cv_prog_STRIP=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes --ac_cv_prog_make_make_set=yes -+ac_cv_prog_make__usr_bin_make_set=yes - ac_cv_search_gethostbyname='none required' - ac_cv_struct_tm=time.h - ac_cv_type_pid_t=yes -@@ -549,14 +593,14 @@ acl_cv_hardcode_libdir_flag_spec='${wl}- + ac_cv_prog_make_make_set=yes +@@ -549,14 +618,14 @@ acl_cv_hardcode_libdir_flag_spec='${wl}- acl_cv_hardcode_libdir_separator= acl_cv_hardcode_minus_L=no acl_cv_libext=a -acl_cv_path_LD=/usr/bin/ld -+acl_cv_path_LD=/home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-ld ++acl_cv_path_LD=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-ld acl_cv_prog_gnu_ld=yes acl_cv_rpath=done acl_cv_shlibext=so @@ -585,7 +627,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);' am_cv_proto_iconv_arg1= -@@ -564,22 +608,22 @@ am_cv_proto_iconv_arg1= +@@ -564,42 +633,42 @@ am_cv_proto_iconv_arg1= ## Output variables. ## ## ----------------- ## @@ -605,44 +647,52 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -CPPFLAGS='' -CURSES_INCLUDEDIR='' -CURSES_LIBS='-lncurses -lpanel -lform' -+ACLOCAL='${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9' ++ACLOCAL='${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9' +AMDEPBACKSLASH='' +AMDEP_FALSE='' +AMDEP_TRUE='#' -+AMTAR='${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar' -+AUTOCONF='${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf' -+AUTOHEADER='${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader' -+AUTOMAKE='${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9' ++AMTAR='${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar' ++AUTOCONF='${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf' ++AUTOHEADER='${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader' ++AUTOMAKE='${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9' +AWK='gawk' -+CC='/home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc' ++CC='/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc' +CCDEPMODE='depmode=none' -+CFLAGS='-fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all' -+CPP='/home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -E' -+CPPFLAGS='-I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG' -+CURSES_INCLUDEDIR='-I/home/wbx/alix1c/openadk/cross_i586/target/include -DRENAMED_NCURSES' -+CURSES_LIBS=' -L/home/wbx/alix1c/openadk/cross_i586/target/lib -lncurses -lpanel -lform' ++CFLAGS='-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' ++CPP='/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E' ++CPPFLAGS='-DNDEBUG -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include' ++CURSES_INCLUDEDIR='-I/Volumes/adk/openadk/target_mipsel_uclibc/include' ++CURSES_LIBS=' -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses -lpanel -lform' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' -@@ -593,13 +637,13 @@ INSTALL_DATA='${INSTALL} -m 644' + ECHO_C='' + ECHO_N='-n' + ECHO_T='' +-EGREP='/bin/grep -E' ++EGREP='/usr/bin/grep -E' + EXEEXT='' +-GREP='/bin/grep' ++GREP='/usr/bin/grep' + INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' -LDFLAGS='' -LIBICONV='' -+LDFLAGS='-Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib' -+LIBICONV='/home/wbx/alix1c/openadk/cross_i586/target/usr/lib/libiconv.so -Wl,-rpath -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib' ++LDFLAGS='-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' ++LIBICONV='/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl,-rpath -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' LIBOBJS='' LIBS='' -LTLIBICONV='' -+LTLIBICONV='-L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -liconv -R/home/wbx/alix1c/openadk/cross_i586/target/usr/lib' ++LTLIBICONV='-L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -liconv -R/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' LTLIBOBJS='' -MAKEINFO='${SHELL} /home/jonas/tmsnc/missing --run makeinfo' -+MAKEINFO='${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo' ++MAKEINFO='${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo' OBJEXT='o' OPENSSL_FALSE='#' OPENSSL_TRUE='' -@@ -611,57 +655,57 @@ PACKAGE_TARNAME='' +@@ -611,57 +680,57 @@ PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' SET_MAKE='' @@ -651,9 +701,9 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -SSLLIB='-lssl -lcrypto' -STRIP='' +SHELL='/bin/bash' -+SSLINC='-I/home/wbx/alix1c/openadk/cross_i586/target/usr/include' -+SSLLIB='-L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -lssl -lcrypto' -+STRIP='i586-linux-strip' ++SSLINC='-I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include' ++SSLLIB='-L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -lssl -lcrypto' ++STRIP='/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-strip' TALKFILTERS_FALSE='' TALKFILTERS_TRUE='#' TFLIB='' @@ -669,16 +719,18 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' - bindir='${exec_prefix}/bin' +-bindir='${exec_prefix}/bin' -build='i686-pc-linux-gnu' -build_alias='' --build_cpu='i686' -+build='x86_64-pc-linux-gnu' -+build_alias='x86_64-linux-gnu' -+build_cpu='x86_64' - build_os='linux-gnu' - build_vendor='pc' ++bindir='/usr/bin' ++build='i686-apple-darwin10' ++build_alias='i686-apple-darwin10' + build_cpu='i686' +-build_os='linux-gnu' +-build_vendor='pc' -datadir='${datarootdir}' ++build_os='darwin10' ++build_vendor='apple' +datadir='/usr/share' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' @@ -687,25 +739,27 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -host='i686-pc-linux-gnu' -host_alias='' -host_cpu='i686' -+host='i586-pc-linux-gnu' -+host_alias='i586-linux' -+host_cpu='i586' ++host='mipsel-openadk-linux-gnu' ++host_alias='mipsel-openadk-linux' ++host_cpu='mipsel' host_os='linux-gnu' - host_vendor='pc' +-host_vendor='pc' ++host_vendor='openadk' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' -install_sh='/home/jonas/tmsnc/install-sh' -+install_sh='/home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh' ++install_sh='/Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh' libdir='${exec_prefix}/lib' -libexecdir='${exec_prefix}/libexec' -+libexecdir='/usr/sbin' ++libexecdir='/usr/libexec' localedir='${datarootdir}/locale' -localstatedir='${prefix}/var' -mandir='${datarootdir}/man' +-mkdir_p='mkdir -p --' +localstatedir='/var' +mandir='/usr/share/man' - mkdir_p='mkdir -p --' ++mkdir_p='$(mkinstalldirs)' oldincludedir='/usr/include' pdfdir='${docdir}' -prefix='/usr/local' @@ -718,11 +772,11 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -sysconfdir='${prefix}/etc' -target_alias='' +sysconfdir='/etc' -+target_alias='i586-linux' ++target_alias='mipsel-openadk-linux' tmsnc_VERSION='0.3.2' ## ----------- ## -@@ -686,8 +730,8 @@ tmsnc_VERSION='0.3.2' +@@ -686,8 +755,8 @@ tmsnc_VERSION='0.3.2' #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define TIME_WITH_SYS_TIME 1 @@ -732,25 +786,12 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ #define HAVE_USE_DEFAULT_COLORS 1 #define HAVE_RESIZETERM 1 #define HAVE_RESIZE_TERM 1 -@@ -696,21 +740,3 @@ tmsnc_VERSION='0.3.2' - #define HAVE_OPENSSL 1 +@@ -710,7 +779,6 @@ generated by GNU Autoconf 2.60a. Invoca + CONFIG_COMMANDS = + $ ./config.status src/config.h - configure: exit 0 -- --## ---------------------- ## --## Running config.status. ## --## ---------------------- ## -- --This file was extended by config.status, which was --generated by GNU Autoconf 2.60a. Invocation command line was -- -- CONFIG_FILES = -- CONFIG_HEADERS = -- CONFIG_LINKS = -- CONFIG_COMMANDS = -- $ ./config.status src/config.h -- -on prophet -- --config.status:646: creating src/config.h ++on neon.localdomain + + config.status:646: creating src/config.h -config.status:875: src/config.h is unchanged diff --git a/package/tmsnc/patches/patch-config_status b/package/tmsnc/patches/patch-config_status index 36bd2d279..42973cc70 100644 --- a/package/tmsnc/patches/patch-config_status +++ b/package/tmsnc/patches/patch-config_status @@ -1,6 +1,6 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ --- tmsnc-0.3.2.orig/config.status 2006-10-17 13:14:22.000000000 +0200 -+++ tmsnc-0.3.2/config.status 2009-06-02 01:13:53.000000000 +0200 ++++ tmsnc-0.3.2/config.status 2012-07-26 13:54:39.000000000 +0200 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash @@ -16,35 +16,38 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## -@@ -321,14 +321,14 @@ Report bugs to <bug-autoconf@gnu.org>." +@@ -321,16 +321,16 @@ Report bugs to <bug-autoconf@gnu.org>." ac_cs_version="\ config.status -configured by ./configure, generated by GNU Autoconf 2.60a, - with options \"\" -+configured by /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/configure, generated by GNU Autoconf 2.60a, -+ with options \"'--build=x86_64-linux-gnu' '--host=i586-linux' '--target=i586-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/sbin' '--localstatedir=/var' '--sysconfdir=/etc' '--disable-nls' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--disable-debug' '--enable-ipv6' '--with-libiconv-prefix=/home/wbx/alix1c/openadk/cross_i586/target/usr' '--with-openssl=/home/wbx/alix1c/openadk/cross_i586/target/usr' '--with-ncurses=/home/wbx/alix1c/openadk/cross_i586/target' 'build_alias=x86_64-linux-gnu' 'host_alias=i586-linux' 'target_alias=i586-linux' 'CC=/home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc' 'CFLAGS=-fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all' 'LDFLAGS=-Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib' 'CPPFLAGS=-I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG'\" ++configured by /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/configure, generated by GNU Autoconf 2.60a, ++ with options \"'--build=i686-apple-darwin10' '--host=mipsel-openadk-linux' '--target=mipsel-openadk-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sysconfdir=/etc' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--disable-nls' '--with-libiconv-prefix=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-openssl=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-ncurses=/Volumes/adk/openadk/target_mipsel_uclibc' 'build_alias=i686-apple-darwin10' 'host_alias=mipsel-openadk-linux' 'target_alias=mipsel-openadk-linux' 'CC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc' 'CFLAGS=-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' 'LDFLAGS=-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' 'CPPFLAGS=-DNDEBUG'\" Copyright (C) 2006 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." -ac_pwd='/home/jonas/tmsnc' -+ac_pwd='/home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2' ++ac_pwd='/Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2' srcdir='.' - INSTALL='/usr/bin/install -c' +-INSTALL='/usr/bin/install -c' ++INSTALL='/Volumes/adk/openadk/scripts/install -c' # If no file are specified by the user, then we need to provide default + # value. By we need to know if files were specified by the user. + ac_need_defaults=: @@ -396,10 +396,10 @@ if $ac_cs_silent; then fi if $ac_cs_recheck; then - echo "running CONFIG_SHELL=/bin/sh /bin/sh ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6 - CONFIG_SHELL=/bin/sh -+ echo "running CONFIG_SHELL=/bin/bash /bin/bash /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/configure " '--build=x86_64-linux-gnu' '--host=i586-linux' '--target=i586-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/sbin' '--localstatedir=/var' '--sysconfdir=/etc' '--disable-nls' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--disable-debug' '--enable-ipv6' '--with-libiconv-prefix=/home/wbx/alix1c/openadk/cross_i586/target/usr' '--with-openssl=/home/wbx/alix1c/openadk/cross_i586/target/usr' '--with-ncurses=/home/wbx/alix1c/openadk/cross_i586/target' 'build_alias=x86_64-linux-gnu' 'host_alias=i586-linux' 'target_alias=i586-linux' 'CC=/home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc' 'CFLAGS=-fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all' 'LDFLAGS=-Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib' 'CPPFLAGS=-I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG' $ac_configure_extra_args " --no-create --no-recursion" >&6 ++ echo "running CONFIG_SHELL=/bin/bash /bin/bash /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/configure " '--build=i686-apple-darwin10' '--host=mipsel-openadk-linux' '--target=mipsel-openadk-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sysconfdir=/etc' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--disable-nls' '--with-libiconv-prefix=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-openssl=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-ncurses=/Volumes/adk/openadk/target_mipsel_uclibc' 'build_alias=i686-apple-darwin10' 'host_alias=mipsel-openadk-linux' 'target_alias=mipsel-openadk-linux' 'CC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc' 'CFLAGS=-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' 'LDFLAGS=-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' 'CPPFLAGS=-DNDEBUG' $ac_configure_extra_args " --no-create --no-recursion" >&6 + CONFIG_SHELL=/bin/bash export CONFIG_SHELL - exec /bin/sh "./configure" $ac_configure_extra_args --no-create --no-recursion -+ exec /bin/bash "/home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/configure" '--build=x86_64-linux-gnu' '--host=i586-linux' '--target=i586-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/sbin' '--localstatedir=/var' '--sysconfdir=/etc' '--disable-nls' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--disable-debug' '--enable-ipv6' '--with-libiconv-prefix=/home/wbx/alix1c/openadk/cross_i586/target/usr' '--with-openssl=/home/wbx/alix1c/openadk/cross_i586/target/usr' '--with-ncurses=/home/wbx/alix1c/openadk/cross_i586/target' 'build_alias=x86_64-linux-gnu' 'host_alias=i586-linux' 'target_alias=i586-linux' 'CC=/home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc' 'CFLAGS=-fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all' 'LDFLAGS=-Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib' 'CPPFLAGS=-I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG' $ac_configure_extra_args --no-create --no-recursion ++ exec /bin/bash "/Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/configure" '--build=i686-apple-darwin10' '--host=mipsel-openadk-linux' '--target=mipsel-openadk-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sysconfdir=/etc' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--disable-nls' '--with-libiconv-prefix=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-openssl=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-ncurses=/Volumes/adk/openadk/target_mipsel_uclibc' 'build_alias=i686-apple-darwin10' 'host_alias=mipsel-openadk-linux' 'target_alias=mipsel-openadk-linux' 'CC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc' 'CFLAGS=-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' 'LDFLAGS=-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' 'CPPFLAGS=-DNDEBUG' $ac_configure_extra_args --no-create --no-recursion fi exec 5>>config.log @@ -72,12 +75,13 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ s,@exec_prefix@,|#_!!_#|${prefix},g -s,@prefix@,|#_!!_#|/usr/local,g -s,@program_transform_name@,|#_!!_#|s\,x\,x\,,g +-s,@bindir@,|#_!!_#|${exec_prefix}/bin,g +s,@prefix@,|#_!!_#|/usr,g +s,@program_transform_name@,|#_!!_#|s\&$$\&\&;s\&^\&\&,g - s,@bindir@,|#_!!_#|${exec_prefix}/bin,g ++s,@bindir@,|#_!!_#|/usr/bin,g s,@sbindir@,|#_!!_#|${exec_prefix}/sbin,g -s,@libexecdir@,|#_!!_#|${exec_prefix}/libexec,g -+s,@libexecdir@,|#_!!_#|/usr/sbin,g ++s,@libexecdir@,|#_!!_#|/usr/libexec,g s,@datarootdir@,|#_!!_#|${prefix}/share,g -s,@datadir@,|#_!!_#|${datarootdir},g -s,@sysconfdir@,|#_!!_#|${prefix}/etc,g @@ -103,9 +107,9 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -s,@build_alias@,|#_!!_#|,g -s,@host_alias@,|#_!!_#|,g -s,@target_alias@,|#_!!_#|,g -+s,@build_alias@,|#_!!_#|x86_64-linux-gnu,g -+s,@host_alias@,|#_!!_#|i586-linux,g -+s,@target_alias@,|#_!!_#|i586-linux,g ++s,@build_alias@,|#_!!_#|i686-apple-darwin10,g ++s,@host_alias@,|#_!!_#|mipsel-openadk-linux,g ++s,@target_alias@,|#_!!_#|mipsel-openadk-linux,g s,@tmsnc_VERSION@,|#_!!_#|0.3.2,g s,@INSTALL_PROGRAM@,|#_!!_#|${INSTALL},g s,@INSTALL_SCRIPT@,|#_!!_#|${INSTALL},g @@ -120,21 +124,22 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -s,@MAKEINFO@,|#_!!_#|${SHELL} /home/jonas/tmsnc/missing --run makeinfo,g -s,@install_sh@,|#_!!_#|/home/jonas/tmsnc/install-sh,g -s,@STRIP@,|#_!!_#|,g -+s,@ACLOCAL@,|#_!!_#|${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9,g -+s,@AUTOCONF@,|#_!!_#|${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf,g -+s,@AUTOMAKE@,|#_!!_#|${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9,g -+s,@AUTOHEADER@,|#_!!_#|${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader,g -+s,@MAKEINFO@,|#_!!_#|${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo,g -+s,@install_sh@,|#_!!_#|/home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh,g -+s,@STRIP@,|#_!!_#|i586-linux-strip,g ++s,@ACLOCAL@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9,g ++s,@AUTOCONF@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf,g ++s,@AUTOMAKE@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9,g ++s,@AUTOHEADER@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader,g ++s,@MAKEINFO@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo,g ++s,@install_sh@,|#_!!_#|/Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh,g ++s,@STRIP@,|#_!!_#|/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-strip,g s,@INSTALL_STRIP_PROGRAM@,|#_!!_#|${SHELL} $(install_sh) -c -s,g - s,@mkdir_p@,|#_!!_#|mkdir -p --,g +-s,@mkdir_p@,|#_!!_#|mkdir -p --,g -s,@AWK@,|#_!!_#|mawk,g ++s,@mkdir_p@,|#_!!_#|$(mkinstalldirs),g +s,@AWK@,|#_!!_#|gawk,g s,@SET_MAKE@,|#_!!_#|,g s,@am__leading_dot@,|#_!!_#|.,g -s,@AMTAR@,|#_!!_#|${SHELL} /home/jonas/tmsnc/missing --run tar,g -+s,@AMTAR@,|#_!!_#|${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar,g ++s,@AMTAR@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar,g s,@am__tar@,|#_!!_#|${AMTAR} chof - "$$tardir",g s,@am__untar@,|#_!!_#|${AMTAR} xf -,g -s,@CC@,|#_!!_#|gcc,g @@ -142,10 +147,10 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -s,@LDFLAGS@,|#_!!_#|,g -s,@CPPFLAGS@,|#_!!_#|,g -s,@ac_ct_CC@,|#_!!_#|gcc,g -+s,@CC@,|#_!!_#|/home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc,g -+s,@CFLAGS@,|#_!!_#|-fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all,g -+s,@LDFLAGS@,|#_!!_#|-Wl\,-O2 -Wl\,-rpath -Wl\,/usr/lib -Wl\,-rpath-link -Wl\,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib,g -+s,@CPPFLAGS@,|#_!!_#|-I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG,g ++s,@CC@,|#_!!_#|/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc,g ++s,@CFLAGS@,|#_!!_#|-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe,g ++s,@LDFLAGS@,|#_!!_#|-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl\,-O2 -Wl\,-rpath -Wl\,/usr/lib -Wl\,-rpath-link -Wl\,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib,g ++s,@CPPFLAGS@,|#_!!_#|-DNDEBUG -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include,g +s,@ac_ct_CC@,|#_!!_#|,g s,@EXEEXT@,|#_!!_#|,g s,@OBJEXT@,|#_!!_#|o,g @@ -159,41 +164,45 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -s,@am__fastdepCC_TRUE@,|#_!!_#|,g -s,@am__fastdepCC_FALSE@,|#_!!_#|#,g -s,@CPP@,|#_!!_#|gcc -E,g +-s,@GREP@,|#_!!_#|/bin/grep,g +-s,@EGREP@,|#_!!_#|/bin/grep -E,g +-s,@CURSES_LIBS@,|#_!!_#|-lncurses -lpanel -lform,g +-s,@CURSES_INCLUDEDIR@,|#_!!_#|,g +-s,@build@,|#_!!_#|i686-pc-linux-gnu,g +s,@AMDEP_TRUE@,|#_!!_#|#,g +s,@AMDEP_FALSE@,|#_!!_#|,g +s,@AMDEPBACKSLASH@,|#_!!_#|,g +s,@CCDEPMODE@,|#_!!_#|depmode=none,g +s,@am__fastdepCC_TRUE@,|#_!!_#|#,g +s,@am__fastdepCC_FALSE@,|#_!!_#|,g -+s,@CPP@,|#_!!_#|/home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -E,g - s,@GREP@,|#_!!_#|/bin/grep,g - s,@EGREP@,|#_!!_#|/bin/grep -E,g --s,@CURSES_LIBS@,|#_!!_#|-lncurses -lpanel -lform,g --s,@CURSES_INCLUDEDIR@,|#_!!_#|,g --s,@build@,|#_!!_#|i686-pc-linux-gnu,g --s,@build_cpu@,|#_!!_#|i686,g -+s,@CURSES_LIBS@,|#_!!_#| -L/home/wbx/alix1c/openadk/cross_i586/target/lib -lncurses -lpanel -lform,g -+s,@CURSES_INCLUDEDIR@,|#_!!_#|-I/home/wbx/alix1c/openadk/cross_i586/target/include -DRENAMED_NCURSES,g -+s,@build@,|#_!!_#|x86_64-pc-linux-gnu,g -+s,@build_cpu@,|#_!!_#|x86_64,g - s,@build_vendor@,|#_!!_#|pc,g - s,@build_os@,|#_!!_#|linux-gnu,g ++s,@CPP@,|#_!!_#|/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E,g ++s,@GREP@,|#_!!_#|/usr/bin/grep,g ++s,@EGREP@,|#_!!_#|/usr/bin/grep -E,g ++s,@CURSES_LIBS@,|#_!!_#| -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses -lpanel -lform,g ++s,@CURSES_INCLUDEDIR@,|#_!!_#|-I/Volumes/adk/openadk/target_mipsel_uclibc/include,g ++s,@build@,|#_!!_#|i686-apple-darwin10,g + s,@build_cpu@,|#_!!_#|i686,g +-s,@build_vendor@,|#_!!_#|pc,g +-s,@build_os@,|#_!!_#|linux-gnu,g -s,@host@,|#_!!_#|i686-pc-linux-gnu,g -s,@host_cpu@,|#_!!_#|i686,g -+s,@host@,|#_!!_#|i586-pc-linux-gnu,g -+s,@host_cpu@,|#_!!_#|i586,g - s,@host_vendor@,|#_!!_#|pc,g +-s,@host_vendor@,|#_!!_#|pc,g ++s,@build_vendor@,|#_!!_#|apple,g ++s,@build_os@,|#_!!_#|darwin10,g ++s,@host@,|#_!!_#|mipsel-openadk-linux-gnu,g ++s,@host_cpu@,|#_!!_#|mipsel,g ++s,@host_vendor@,|#_!!_#|openadk,g s,@host_os@,|#_!!_#|linux-gnu,g -s,@LIBICONV@,|#_!!_#|,g -s,@LTLIBICONV@,|#_!!_#|,g -+s,@LIBICONV@,|#_!!_#|/home/wbx/alix1c/openadk/cross_i586/target/usr/lib/libiconv.so -Wl\,-rpath -Wl\,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib,g -+s,@LTLIBICONV@,|#_!!_#|-L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -liconv -R/home/wbx/alix1c/openadk/cross_i586/target/usr/lib,g ++s,@LIBICONV@,|#_!!_#|/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl\,-rpath -Wl\,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib,g ++s,@LTLIBICONV@,|#_!!_#|-L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -liconv -R/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib,g s,@OPENSSL_TRUE@,|#_!!_#|,g s,@OPENSSL_FALSE@,|#_!!_#|#,g -s,@SSLINC@,|#_!!_#|,g -s,@SSLLIB@,|#_!!_#|-lssl -lcrypto,g -+s,@SSLINC@,|#_!!_#|-I/home/wbx/alix1c/openadk/cross_i586/target/usr/include,g -+s,@SSLLIB@,|#_!!_#|-L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -lssl -lcrypto,g ++s,@SSLINC@,|#_!!_#|-I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include,g ++s,@SSLLIB@,|#_!!_#|-L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -lssl -lcrypto,g s,@TALKFILTERS_TRUE@,|#_!!_#|#,g s,@TALKFILTERS_FALSE@,|#_!!_#|,g s,@TFLIB@,|#_!!_#|,g diff --git a/package/tmsnc/patches/patch-configure b/package/tmsnc/patches/patch-configure new file mode 100644 index 000000000..2482ecb5e --- /dev/null +++ b/package/tmsnc/patches/patch-configure @@ -0,0 +1,14 @@ +--- tmsnc-0.3.2.orig/configure 2006-10-17 13:14:07.000000000 +0200 ++++ tmsnc-0.3.2/configure 2012-07-26 14:02:27.000000000 +0200 +@@ -6112,11 +6112,6 @@ fi + done + fi + fi +- if test "X$ltrpathdirs" != "X"; then +- for found_dir in $ltrpathdirs; do +- LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" +- done +- fi + + + diff --git a/package/tmsnc/patches/patch-doc_Makefile b/package/tmsnc/patches/patch-doc_Makefile index 6e072edeb..7e36e43ac 100644 --- a/package/tmsnc/patches/patch-doc_Makefile +++ b/package/tmsnc/patches/patch-doc_Makefile @@ -1,18 +1,27 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ --- tmsnc-0.3.2.orig/doc/Makefile 2006-10-17 13:14:22.000000000 +0200 -+++ tmsnc-0.3.2/doc/Makefile 2009-06-02 01:13:54.000000000 +0200 ++++ tmsnc-0.3.2/doc/Makefile 2012-07-26 13:54:39.000000000 +0200 +@@ -21,7 +21,7 @@ pkglibdir = $(libdir)/tmsnc + pkgincludedir = $(includedir)/tmsnc + top_builddir = .. + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +-INSTALL = /usr/bin/install -c ++INSTALL = /Volumes/adk/openadk/scripts/install -c + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c + install_sh_SCRIPT = $(install_sh) -c @@ -33,8 +33,8 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -build_triplet = i686-pc-linux-gnu -host_triplet = i686-pc-linux-gnu -+build_triplet = x86_64-pc-linux-gnu -+host_triplet = i586-pc-linux-gnu ++build_triplet = i686-apple-darwin10 ++host_triplet = mipsel-openadk-linux-gnu subdir = doc DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -@@ -52,21 +52,21 @@ am__installdirs = "$(DESTDIR)$(man1dir)" +@@ -52,41 +52,41 @@ am__installdirs = "$(DESTDIR)$(man1dir)" NROFF = nroff MANS = $(man_MANS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -31,39 +40,47 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -CPPFLAGS = -CURSES_INCLUDEDIR = -CURSES_LIBS = -lncurses -lpanel -lform -+ACLOCAL = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9 ++ACLOCAL = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9 +AMDEP_FALSE = +AMDEP_TRUE = # -+AMTAR = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar -+AUTOCONF = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf -+AUTOHEADER = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader -+AUTOMAKE = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9 ++AMTAR = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar ++AUTOCONF = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf ++AUTOHEADER = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader ++AUTOMAKE = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9 +AWK = gawk -+CC = /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc ++CC = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc +CCDEPMODE = depmode=none -+CFLAGS = -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -+CPP = /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -E -+CPPFLAGS = -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -+CURSES_INCLUDEDIR = -I/home/wbx/alix1c/openadk/cross_i586/target/include -DRENAMED_NCURSES -+CURSES_LIBS = -L/home/wbx/alix1c/openadk/cross_i586/target/lib -lncurses -lpanel -lform ++CFLAGS = -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe ++CPP = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E ++CPPFLAGS = -DNDEBUG -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include ++CURSES_INCLUDEDIR = -I/Volumes/adk/openadk/target_mipsel_uclibc/include ++CURSES_LIBS = -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses -lpanel -lform CYGPATH_W = echo DEFS = -DHAVE_CONFIG_H DEPDIR = .deps -@@ -80,13 +80,13 @@ INSTALL_DATA = ${INSTALL} -m 644 + ECHO_C = + ECHO_N = -n + ECHO_T = +-EGREP = /bin/grep -E ++EGREP = /usr/bin/grep -E + EXEEXT = +-GREP = /bin/grep ++GREP = /usr/bin/grep + INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s -LDFLAGS = -LIBICONV = -+LDFLAGS = -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -+LIBICONV = /home/wbx/alix1c/openadk/cross_i586/target/usr/lib/libiconv.so -Wl,-rpath -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib ++LDFLAGS = -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib ++LIBICONV = /Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl,-rpath -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib LIBOBJS = LIBS = -LTLIBICONV = -+LTLIBICONV = -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -liconv -R/home/wbx/alix1c/openadk/cross_i586/target/usr/lib ++LTLIBICONV = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -liconv -R/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib LTLIBOBJS = -MAKEINFO = ${SHELL} /home/jonas/tmsnc/missing --run makeinfo -+MAKEINFO = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo ++MAKEINFO = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo OBJEXT = o OPENSSL_FALSE = # OPENSSL_TRUE = @@ -76,9 +93,9 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -SSLLIB = -lssl -lcrypto -STRIP = +SHELL = /bin/bash -+SSLINC = -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -+SSLLIB = -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -lssl -lcrypto -+STRIP = i586-linux-strip ++SSLINC = -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include ++SSLLIB = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -lssl -lcrypto ++STRIP = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-strip TALKFILTERS_FALSE = TALKFILTERS_TRUE = # TFLIB = @@ -94,16 +111,18 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ am__quote = am__tar = ${AMTAR} chof - "$$tardir" am__untar = ${AMTAR} xf - - bindir = ${exec_prefix}/bin +-bindir = ${exec_prefix}/bin -build = i686-pc-linux-gnu -build_alias = --build_cpu = i686 -+build = x86_64-pc-linux-gnu -+build_alias = x86_64-linux-gnu -+build_cpu = x86_64 - build_os = linux-gnu - build_vendor = pc ++bindir = /usr/bin ++build = i686-apple-darwin10 ++build_alias = i686-apple-darwin10 + build_cpu = i686 +-build_os = linux-gnu +-build_vendor = pc -datadir = ${datarootdir} ++build_os = darwin10 ++build_vendor = apple +datadir = /usr/share datarootdir = ${prefix}/share docdir = ${datarootdir}/doc/${PACKAGE} @@ -112,25 +131,27 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -host = i686-pc-linux-gnu -host_alias = -host_cpu = i686 -+host = i586-pc-linux-gnu -+host_alias = i586-linux -+host_cpu = i586 ++host = mipsel-openadk-linux-gnu ++host_alias = mipsel-openadk-linux ++host_cpu = mipsel host_os = linux-gnu - host_vendor = pc +-host_vendor = pc ++host_vendor = openadk htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = /home/jonas/tmsnc/install-sh -+install_sh = /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh ++install_sh = /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh libdir = ${exec_prefix}/lib -libexecdir = ${exec_prefix}/libexec -+libexecdir = /usr/sbin ++libexecdir = /usr/libexec localedir = ${datarootdir}/locale -localstatedir = ${prefix}/var -mandir = ${datarootdir}/man +-mkdir_p = mkdir -p -- +localstatedir = /var +mandir = /usr/share/man - mkdir_p = mkdir -p -- ++mkdir_p = $(mkinstalldirs) oldincludedir = /usr/include pdfdir = ${docdir} -prefix = /usr/local @@ -143,7 +164,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -sysconfdir = ${prefix}/etc -target_alias = +sysconfdir = /etc -+target_alias = i586-linux ++target_alias = mipsel-openadk-linux tmsnc_VERSION = 0.3.2 man_MANS = tmsnc.1 EXTRA_DIST = tmsnc.1 diff --git a/package/tmsnc/patches/patch-src_Makefile b/package/tmsnc/patches/patch-src_Makefile index f6ac328e1..a8766c810 100644 --- a/package/tmsnc/patches/patch-src_Makefile +++ b/package/tmsnc/patches/patch-src_Makefile @@ -1,18 +1,27 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ --- tmsnc-0.3.2.orig/src/Makefile 2006-10-17 13:14:22.000000000 +0200 -+++ tmsnc-0.3.2/src/Makefile 2009-06-02 01:13:54.000000000 +0200 ++++ tmsnc-0.3.2/src/Makefile 2012-07-26 13:54:39.000000000 +0200 +@@ -23,7 +23,7 @@ pkglibdir = $(libdir)/tmsnc + pkgincludedir = $(includedir)/tmsnc + top_builddir = .. + am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +-INSTALL = /usr/bin/install -c ++INSTALL = /Volumes/adk/openadk/scripts/install -c + install_sh_DATA = $(install_sh) -c -m 644 + install_sh_PROGRAM = $(install_sh) -c + install_sh_SCRIPT = $(install_sh) -c @@ -35,8 +35,8 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -build_triplet = i686-pc-linux-gnu -host_triplet = i686-pc-linux-gnu -+build_triplet = x86_64-pc-linux-gnu -+host_triplet = i586-pc-linux-gnu ++build_triplet = i686-apple-darwin10 ++host_triplet = mipsel-openadk-linux-gnu bin_PROGRAMS = tmsnc$(EXEEXT) subdir = src DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ -@@ -74,21 +74,21 @@ HEADERS = $(noinst_HEADERS) +@@ -74,41 +74,41 @@ HEADERS = $(noinst_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -31,39 +40,47 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -CPPFLAGS = -CURSES_INCLUDEDIR = -CURSES_LIBS = -lncurses -lpanel -lform -+ACLOCAL = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9 ++ACLOCAL = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9 +AMDEP_FALSE = +AMDEP_TRUE = # -+AMTAR = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar -+AUTOCONF = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf -+AUTOHEADER = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader -+AUTOMAKE = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9 ++AMTAR = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar ++AUTOCONF = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf ++AUTOHEADER = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader ++AUTOMAKE = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9 +AWK = gawk -+CC = /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc ++CC = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc +CCDEPMODE = depmode=none -+CFLAGS = -fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -+CPP = /home/wbx/alix1c/openadk/cross_i586/host/bin/i586-linux-gnu-gcc -E -+CPPFLAGS = -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -DNDEBUG -+CURSES_INCLUDEDIR = -I/home/wbx/alix1c/openadk/cross_i586/target/include -DRENAMED_NCURSES -+CURSES_LIBS = -L/home/wbx/alix1c/openadk/cross_i586/target/lib -lncurses -lpanel -lform ++CFLAGS = -fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe ++CPP = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E ++CPPFLAGS = -DNDEBUG -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include ++CURSES_INCLUDEDIR = -I/Volumes/adk/openadk/target_mipsel_uclibc/include ++CURSES_LIBS = -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses -lpanel -lform CYGPATH_W = echo DEFS = -DHAVE_CONFIG_H DEPDIR = .deps -@@ -102,13 +102,13 @@ INSTALL_DATA = ${INSTALL} -m 644 + ECHO_C = + ECHO_N = -n + ECHO_T = +-EGREP = /bin/grep -E ++EGREP = /usr/bin/grep -E + EXEEXT = +-GREP = /bin/grep ++GREP = /usr/bin/grep + INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s -LDFLAGS = -LIBICONV = -+LDFLAGS = -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -+LIBICONV = /home/wbx/alix1c/openadk/cross_i586/target/usr/lib/libiconv.so -Wl,-rpath -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib ++LDFLAGS = -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib ++LIBICONV = /Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl,-rpath -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib LIBOBJS = LIBS = -LTLIBICONV = -+LTLIBICONV = -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -liconv -R/home/wbx/alix1c/openadk/cross_i586/target/usr/lib ++LTLIBICONV = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -liconv -R/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib LTLIBOBJS = -MAKEINFO = ${SHELL} /home/jonas/tmsnc/missing --run makeinfo -+MAKEINFO = ${SHELL} /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo ++MAKEINFO = ${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo OBJEXT = o OPENSSL_FALSE = # OPENSSL_TRUE = @@ -76,9 +93,9 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -SSLLIB = -lssl -lcrypto -STRIP = +SHELL = /bin/bash -+SSLINC = -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -+SSLLIB = -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -lssl -lcrypto -+STRIP = i586-linux-strip ++SSLINC = -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include ++SSLLIB = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -lssl -lcrypto ++STRIP = /Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-strip TALKFILTERS_FALSE = TALKFILTERS_TRUE = # TFLIB = @@ -94,16 +111,18 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ am__quote = am__tar = ${AMTAR} chof - "$$tardir" am__untar = ${AMTAR} xf - - bindir = ${exec_prefix}/bin +-bindir = ${exec_prefix}/bin -build = i686-pc-linux-gnu -build_alias = --build_cpu = i686 -+build = x86_64-pc-linux-gnu -+build_alias = x86_64-linux-gnu -+build_cpu = x86_64 - build_os = linux-gnu - build_vendor = pc ++bindir = /usr/bin ++build = i686-apple-darwin10 ++build_alias = i686-apple-darwin10 + build_cpu = i686 +-build_os = linux-gnu +-build_vendor = pc -datadir = ${datarootdir} ++build_os = darwin10 ++build_vendor = apple +datadir = /usr/share datarootdir = ${prefix}/share docdir = ${datarootdir}/doc/${PACKAGE} @@ -112,25 +131,27 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -host = i686-pc-linux-gnu -host_alias = -host_cpu = i686 -+host = i586-pc-linux-gnu -+host_alias = i586-linux -+host_cpu = i586 ++host = mipsel-openadk-linux-gnu ++host_alias = mipsel-openadk-linux ++host_cpu = mipsel host_os = linux-gnu - host_vendor = pc +-host_vendor = pc ++host_vendor = openadk htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = /home/jonas/tmsnc/install-sh -+install_sh = /home/wbx/alix1c/openadk/build_i586/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh ++install_sh = /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh libdir = ${exec_prefix}/lib -libexecdir = ${exec_prefix}/libexec -+libexecdir = /usr/sbin ++libexecdir = /usr/libexec localedir = ${datarootdir}/locale -localstatedir = ${prefix}/var -mandir = ${datarootdir}/man +-mkdir_p = mkdir -p -- +localstatedir = /var +mandir = /usr/share/man - mkdir_p = mkdir -p -- ++mkdir_p = $(mkinstalldirs) oldincludedir = /usr/include pdfdir = ${docdir} -prefix = /usr/local @@ -143,12 +164,12 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ -sysconfdir = ${prefix}/etc -target_alias = +sysconfdir = /etc -+target_alias = i586-linux ++target_alias = mipsel-openadk-linux tmsnc_VERSION = 0.3.2 -LDADD = -lssl -lcrypto -lncurses -lpanel -lform -INCLUDES = -+LDADD = -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -lssl -lcrypto -L/home/wbx/alix1c/openadk/cross_i586/target/lib -lncurses -lpanel -lform /home/wbx/alix1c/openadk/cross_i586/target/usr/lib/libiconv.so -Wl,-rpath -Wl,/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -L/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -liconv -R/home/wbx/alix1c/openadk/cross_i586/target/usr/lib -+INCLUDES = -I/home/wbx/alix1c/openadk/cross_i586/target/usr/include -I/home/wbx/alix1c/openadk/cross_i586/target/include -DRENAMED_NCURSES ++LDADD = -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -lssl -lcrypto -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses -lpanel -lform /Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl,-rpath -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -liconv -R/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib ++INCLUDES = -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include -I/Volumes/adk/openadk/target_mipsel_uclibc/include AM_CFLAGS = -Wall tmsnc_SOURCES = misc.c main.c conf.c login.c sig.c menu.c ui.c list.c charset.c core_misc.c core_net.c core_ssl.c core_p2p.c dialog.c filters.c event.c debug.c noinst_HEADERS = misc.h main.h conf.h login.h sig.h menu.h ui.h list.h charset.h core_misc.h core_net.h core_ssl.h core_p2p.h core.h dialog.h filters.h event.h diff --git a/package/tmsnc/patches/patch-src_config_h b/package/tmsnc/patches/patch-src_config_h new file mode 100644 index 000000000..ab9397553 --- /dev/null +++ b/package/tmsnc/patches/patch-src_config_h @@ -0,0 +1,12 @@ +--- tmsnc-0.3.2.orig/src/config.h 2006-10-17 13:14:22.000000000 +0200 ++++ tmsnc-0.3.2/src/config.h 2012-07-26 13:54:40.000000000 +0200 +@@ -79,6 +79,9 @@ + /* Define to the one symbol short name of this package. */ + #define PACKAGE_TARNAME "" + ++/* Define to the home page for this package. */ ++/* #undef PACKAGE_URL */ ++ + /* Define to the version of this package. */ + #define PACKAGE_VERSION "" + diff --git a/package/tmsnc/patches/patch-src_config_h_in b/package/tmsnc/patches/patch-src_config_h_in new file mode 100644 index 000000000..3c13a07fe --- /dev/null +++ b/package/tmsnc/patches/patch-src_config_h_in @@ -0,0 +1,12 @@ +--- tmsnc-0.3.2.orig/src/config.h.in 2006-10-17 13:14:23.000000000 +0200 ++++ tmsnc-0.3.2/src/config.h.in 2012-07-26 13:54:40.000000000 +0200 +@@ -78,6 +78,9 @@ + /* Define to the one symbol short name of this package. */ + #undef PACKAGE_TARNAME + ++/* Define to the home page for this package. */ ++#undef PACKAGE_URL ++ + /* Define to the version of this package. */ + #undef PACKAGE_VERSION + diff --git a/package/udev/Makefile b/package/udev/Makefile index d69a41330..08310e268 100644 --- a/package/udev/Makefile +++ b/package/udev/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= udev -PKG_VERSION:= 171 +PKG_VERSION:= 182 PKG_RELEASE:= 1 -PKG_MD5SUM:= bdf4617284be2ecac11767437417e209 +PKG_MD5SUM:= e31c83159b017e8ab0fa2f4bca758a41 PKG_DESCR:= Dynamic device management subsystem PKG_SECTION:= utils PKG_BUILDDEP:= usbutils glib @@ -21,18 +21,17 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,UDEV,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -CONFIGURE_ARGS+= --disable-extras \ - --disable-logging \ - --disable-udev_acl \ +TARGET_LDFLAGS+= -lrt +CONFIGURE_ARGS+= --disable-logging \ --with-pci-ids-path=/usr/share/pci.ids \ --disable-introspection post-install: - ${INSTALL_DIR} ${IDIR_UDEV}/usr/sbin ${IDIR_UDEV}/etc/udev - ${INSTALL_DIR} ${IDIR_UDEV}/usr/lib + ${INSTALL_DIR} ${IDIR_UDEV}/usr/bin ${IDIR_UDEV}/etc/udev + ${INSTALL_DIR} ${IDIR_UDEV}/usr/lib ${IDIR_UDEV}/usr/libexec/udev $(CP) $(WRKINST)/usr/lib/libudev.so* $(IDIR_UDEV)/usr/lib ${CP} ${WRKINST}/etc/udev/* ${IDIR_UDEV}/etc/udev - ${CP} ${WRKINST}/usr/sbin/udevd ${IDIR_UDEV}/usr/sbin - ${CP} ${WRKINST}/usr/sbin/udevadm ${IDIR_UDEV}/usr/sbin + ${CP} ${WRKINST}/usr/libexec/udev/* ${IDIR_UDEV}/usr/libexec/udev + ${CP} ${WRKINST}/usr/bin/udevadm ${IDIR_UDEV}/usr/bin include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/ulogd/Makefile b/package/ulogd/Makefile index eb40a89c6..07f75a280 100644 --- a/package/ulogd/Makefile +++ b/package/ulogd/Makefile @@ -4,13 +4,13 @@ include ${TOPDIR}/rules.mk PKG_NAME:= ulogd -PKG_VERSION:= 2.0.0beta4 -PKG_RELEASE:= 2 -PKG_MD5SUM:= 21143aecf8e39008d143a0fb0f742b0c +PKG_VERSION:= 2.0.0 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 211e68781e3860959606fc94b97cf22e PKG_DESCR:= Netfilter userspace logging daemon PKG_SECTION:= firewall -PKG_DEPENDS:= iptables libnetfilter-conntrack libnetfilter-log -PKG_BUILDDEP:= iptables libnetfilter_conntrack libnetfilter_log +PKG_DEPENDS:= iptables libnetfilter-conntrack libnetfilter-log libnetfilter-acct libmnl +PKG_BUILDDEP:= iptables libnetfilter_conntrack libnetfilter_log libnetfilter_acct libmnl PKG_URL:= http://www.netfilter.org/projects/ulogd/ PKG_SITES:= http://www.netfilter.org/projects/ulogd/files/ PKG_MULTI:= 1 @@ -20,6 +20,7 @@ PKG_SUBPKGS:= ULOGD ULOGD_MOD_MYSQL ULOGD_MOD_PCAP ULOGD_MOD_PGSQL ULOGD_MOD_SQ PKGSB_ULOGD_MOD_MYSQL:= mysql PKGSB_ULOGD_MOD_PGSQL:= postgresql PKGSB_ULOGD_MOD_SQLITE:= sqlite +PKGSB_ULOGD_MOD_PCAP:= libpcap PKG_HOST_DEPENDS:= !cygwin @@ -29,7 +30,7 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,ULOGD,ulogd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) $(eval $(call PKG_template,ULOGD_MOD_MYSQL,ulogd-mod-mysql,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -#$(eval $(call PKG_template,ULOGD_MOD_PCAP,ulogd-mod-pcap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,ULOGD_MOD_PCAP,ulogd-mod-pcap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) $(eval $(call PKG_template,ULOGD_MOD_PGSQL,ulogd-mod-pgsql,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) $(eval $(call PKG_template,ULOGD_MOD_SQLITE,ulogd-mod-sqlite,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) $(eval $(call PKG_template,ULOGD_MOD_EXTRA,ulogd-mod-extra,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) @@ -44,10 +45,6 @@ ifneq (${ADK_PACKAGE_ULOGD_MOD_PGSQL},) CONFIGURE_ARGS+= --with-pgsql=${STAGING_TARGET_DIR}/usr endif -ifneq (${ADK_PACKAGE_ULOGD_MOD_SQLITE},) -CONFIGURE_ARGS+= --with-sqlite3=${STAGING_TARGET_DIR}/usr -endif - post-install: ${INSTALL_DIR} ${IDIR_ULOGD}/usr/sbin ${IDIR_ULOGD}/usr/lib/ulogd/ ${INSTALL_BIN} ${WRKINST}/usr/lib/ulogd/ulogd_raw2packet_BASE.so \ @@ -59,6 +56,11 @@ ulogd-mod-extra-install: ${CP} ${WRKINST}/usr/lib/ulogd/ulogd_output_{LOGEMU,OPRINT,SYSLOG}.so \ ${IDIR_ULOGD_MOD_EXTRA}/usr/lib/ulogd +ulogd-mod-pcap-install: + ${INSTALL_DIR} ${IDIR_ULOGD_MOD_PCAP}/usr/lib/ulogd + ${CP} ${WRKINST}/usr/lib/ulogd/ulogd_output_PCAP.so \ + ${IDIR_ULOGD_MOD_PCAP}/usr/lib/ulogd + ulogd-mod-sqlite-install: ${INSTALL_DIR} ${IDIR_ULOGD_MOD_SQLITE}/usr/lib/ulogd ${CP} ${WRKINST}/usr/lib/ulogd/ulogd_output_SQLITE3.so \ diff --git a/package/usbutils/Makefile b/package/usbutils/Makefile index 36054eba1..ef64d2a94 100644 --- a/package/usbutils/Makefile +++ b/package/usbutils/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= usbutils -PKG_VERSION:= 003 +PKG_VERSION:= 006 PKG_RELEASE:= 1 -PKG_MD5SUM:= 94a1738fe92062cdd6a9642eeaccefc1 +PKG_MD5SUM:= 850790442f5eb487cdc7e35f8ee03e11 PKG_DESCR:= A program to list USB devices PKG_SECTION:= utils PKG_DEPENDS:= libusb libusb-compat libpthread zlib diff --git a/package/vlc/Makefile b/package/vlc/Makefile index 2fe37437a..875487711 100644 --- a/package/vlc/Makefile +++ b/package/vlc/Makefile @@ -4,35 +4,38 @@ include $(TOPDIR)/rules.mk PKG_NAME:= vlc -PKG_VERSION:= 1.1.11 -PKG_RELEASE:= 2 -PKG_MD5SUM:= a64846d6f21ea179ae8e8bfb6f9447fe +PKG_VERSION:= 2.0.3 +PKG_RELEASE:= 1 +PKG_MD5SUM:= a7e79565e3df07dcf9abc6cad3ac26bb PKG_DESCR:= Media Player PKG_SECTION:= multimedia PKG_BUILDDEP:= ffmpeg xcb-util libtheora libgcrypt libmad PKG_DEPENDS:= libffmpeg xcb-util libtheora libgcrypt PKG_URL:= http://www.videolan.org/vlc/ -PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=vlc/1.1.11/} +PKG_SITES:= http://download.videolan.org/pub/videolan/vlc/2.0.3/ PKG_ARCH_DEPENDS:= !cris !avr32 -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,VLC,vlc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +TARGET_CFLAGS+= -fPIC +CONFIGURE_ENV+= ac_cv_func_sched_getaffinity=no CONFIGURE_ARGS+= --disable-lua \ --disable-dbus \ --disable-a52 \ --disable-fribidi \ --disable-qt4 \ --disable-skins2 \ - --disable-remoteosd \ --disable-dvdnav \ --disable-glx \ --disable-libxml2 \ --disable-smb \ + --disable-xcb \ + --without-kde-solid \ --enable-libgcrypt \ --enable-mad \ --enable-theora diff --git a/package/vlc/patches/patch-configure b/package/vlc/patches/patch-configure new file mode 100644 index 000000000..0989f6776 --- /dev/null +++ b/package/vlc/patches/patch-configure @@ -0,0 +1,20 @@ +--- vlc-2.0.3.orig/configure 2012-07-04 17:43:18.000000000 +0200 ++++ vlc-2.0.3/configure 2012-07-26 16:16:15.000000000 +0200 +@@ -24739,7 +24739,7 @@ fi + LIBS="${LIBS_save}" + + +- for a in all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var error-implicit-function-declaration; do ++ for a in all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var; do + + + CFLAGS_save="${CFLAGS}" +@@ -46952,7 +46952,7 @@ fi + + + VERSION_MESSAGE="${VERSION} ${CODENAME}" +-COPYRIGHT_MESSAGE="Copyright © ${COPYRIGHT_YEARS} VLC authors and VideoLAN" ++COPYRIGHT_MESSAGE="Copyright ${COPYRIGHT_YEARS} VLC authors and VideoLAN" + + cat >>confdefs.h <<_ACEOF + #define VERSION_MESSAGE "${VERSION_MESSAGE}" diff --git a/package/vlc/patches/patch-modules_misc_Makefile_in b/package/vlc/patches/patch-modules_misc_Makefile_in deleted file mode 100644 index a2670d93f..000000000 --- a/package/vlc/patches/patch-modules_misc_Makefile_in +++ /dev/null @@ -1,155 +0,0 @@ ---- vlc-1.1.11.orig/modules/misc/Makefile.in 2011-07-14 13:28:46.000000000 +0200 -+++ vlc-1.1.11/modules/misc/Makefile.in 2011-09-15 13:17:03.867989779 +0200 -@@ -205,26 +205,6 @@ libwin32text_plugin_la_LINK = $(LIBTOOL) - $(libwin32text_plugin_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ - @HAVE_WINCE_TRUE@am_libwin32text_plugin_la_rpath = -rpath $(libvlcdir) --am__objects_12 = libxdg_screensaver_plugin_la-xdg.lo --am_libxdg_screensaver_plugin_la_OBJECTS = $(am__objects_12) --nodist_libxdg_screensaver_plugin_la_OBJECTS = --libxdg_screensaver_plugin_la_OBJECTS = \ -- $(am_libxdg_screensaver_plugin_la_OBJECTS) \ -- $(nodist_libxdg_screensaver_plugin_la_OBJECTS) --libxdg_screensaver_plugin_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ -- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ -- $(libxdg_screensaver_plugin_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ -- $(LDFLAGS) -o $@ --am__objects_13 = libxscreensaver_plugin_la-xscreensaver.lo --am_libxscreensaver_plugin_la_OBJECTS = $(am__objects_13) --nodist_libxscreensaver_plugin_la_OBJECTS = --libxscreensaver_plugin_la_OBJECTS = \ -- $(am_libxscreensaver_plugin_la_OBJECTS) \ -- $(nodist_libxscreensaver_plugin_la_OBJECTS) --libxscreensaver_plugin_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ -- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ -- $(libxscreensaver_plugin_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ -- $(LDFLAGS) -o $@ - DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) - depcomp = $(SHELL) $(top_srcdir)/autotools/depcomp - am__depfiles_maybe = depfiles -@@ -272,10 +252,6 @@ SOURCES = $(libaudioscrobbler_plugin_la_ - $(nodist_libvod_rtsp_plugin_la_SOURCES) \ - $(libwin32text_plugin_la_SOURCES) \ - $(nodist_libwin32text_plugin_la_SOURCES) \ -- $(libxdg_screensaver_plugin_la_SOURCES) \ -- $(nodist_libxdg_screensaver_plugin_la_SOURCES) \ -- $(libxscreensaver_plugin_la_SOURCES) \ -- $(nodist_libxscreensaver_plugin_la_SOURCES) - DIST_SOURCES = $(libaudioscrobbler_plugin_la_SOURCES) \ - $(libfreetype_plugin_la_SOURCES) \ - $(libgnutls_plugin_la_SOURCES) $(libinhibit_plugin_la_SOURCES) \ -@@ -284,9 +260,7 @@ DIST_SOURCES = $(libaudioscrobbler_plugi - $(libquartztext_plugin_la_SOURCES) \ - $(libsqlite_plugin_la_SOURCES) $(libsvg_plugin_la_SOURCES) \ - $(libvod_rtsp_plugin_la_SOURCES) \ -- $(libwin32text_plugin_la_SOURCES) \ -- $(libxdg_screensaver_plugin_la_SOURCES) \ -- $(libxscreensaver_plugin_la_SOURCES) -+ $(libwin32text_plugin_la_SOURCES) - RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ -@@ -620,7 +594,6 @@ LTLIBxcb_xv = @LTLIBxcb_xv@ - LTLIBxdg_screensaver = @LTLIBxdg_screensaver@ - LTLIBxml = @LTLIBxml@ - LTLIBxosd = @LTLIBxosd@ --LTLIBxscreensaver = @LTLIBxscreensaver@ - LTLIBzip = @LTLIBzip@ - LTLIBzvbi = @LTLIBzvbi@ - LUAC = @LUAC@ -@@ -834,13 +807,12 @@ vlcdatadir = @vlcdatadir@ - vlclibdir = @vlclibdir@ - basedir = misc - dir = misc --mods = audioscrobbler freetype gnutls inhibit logger osso_screensaver quartztext sqlite svg vod_rtsp win32text xdg_screensaver xscreensaver -+mods = audioscrobbler freetype gnutls inhibit logger osso_screensaver quartztext sqlite svg vod_rtsp win32text - libvlc_LTLIBRARIES = $(LTLIBfreetype) $(LTLIBgnutls) $(LTLIBinhibit) \ - $(LTLIBosso_screensaver) $(LTLIBsqlite) $(LTLIBsvg) \ -- $(LTLIBxdg_screensaver) $(LTLIBxscreensaver) \ - libaudioscrobbler_plugin.la liblogger_plugin.la \ - $(am__append_2) $(am__append_3) $(am__append_4) --EXTRA_LTLIBRARIES = libfreetype_plugin.la libgnutls_plugin.la libinhibit_plugin.la libosso_screensaver_plugin.la libsqlite_plugin.la libsvg_plugin.la libxdg_screensaver_plugin.la libxscreensaver_plugin.la -+EXTRA_LTLIBRARIES = libfreetype_plugin.la libgnutls_plugin.la libinhibit_plugin.la libosso_screensaver_plugin.la libsqlite_plugin.la libsvg_plugin.la - NULL = - SUFFIXES = - libvlcdir = $(vlclibdir)/plugins/$(basedir) -@@ -876,8 +848,6 @@ SOURCES_svg = svg.c - SOURCES_audioscrobbler = audioscrobbler.c - SOURCES_inhibit = inhibit.c - SOURCES_sqlite = sqlite.c --SOURCES_xscreensaver = inhibit/xscreensaver.c --SOURCES_xdg_screensaver = inhibit/xdg.c - SOURCES_osso_screensaver = inhibit/osso.c - - # The audioscrobbler plugin -@@ -1001,27 +971,6 @@ libwin32text_plugin_la_OBJCFLAGS = $(AM_ - libwin32text_plugin_la_LIBADD = $(AM_LIBADD) - libwin32text_plugin_la_DEPENDENCIES = $(top_srcdir)/src/libvlccore.sym - --# The xdg_screensaver plugin --libxdg_screensaver_plugin_la_SOURCES = $(SOURCES_xdg_screensaver) --nodist_libxdg_screensaver_plugin_la_SOURCES = $(nodist_SOURCES_xdg_screensaver) --# Force per-target objects: --libxdg_screensaver_plugin_la_CFLAGS = $(AM_CFLAGS) --libxdg_screensaver_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) --libxdg_screensaver_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) --# Set LIBADD and DEPENDENCIES manually: --libxdg_screensaver_plugin_la_LIBADD = $(AM_LIBADD) --libxdg_screensaver_plugin_la_DEPENDENCIES = $(top_srcdir)/src/libvlccore.sym -- --# The xscreensaver plugin --libxscreensaver_plugin_la_SOURCES = $(SOURCES_xscreensaver) --nodist_libxscreensaver_plugin_la_SOURCES = $(nodist_SOURCES_xscreensaver) --# Force per-target objects: --libxscreensaver_plugin_la_CFLAGS = $(AM_CFLAGS) --libxscreensaver_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) --libxscreensaver_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) --# Set LIBADD and DEPENDENCIES manually: --libxscreensaver_plugin_la_LIBADD = $(AM_LIBADD) --libxscreensaver_plugin_la_DEPENDENCIES = $(top_srcdir)/src/libvlccore.sym - all: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -@@ -1110,10 +1059,6 @@ libvod_rtsp_plugin.la: $(libvod_rtsp_plu - $(AM_V_CCLD)$(libvod_rtsp_plugin_la_LINK) $(am_libvod_rtsp_plugin_la_rpath) $(libvod_rtsp_plugin_la_OBJECTS) $(libvod_rtsp_plugin_la_LIBADD) $(LIBS) - libwin32text_plugin.la: $(libwin32text_plugin_la_OBJECTS) $(libwin32text_plugin_la_DEPENDENCIES) - $(AM_V_CCLD)$(libwin32text_plugin_la_LINK) $(am_libwin32text_plugin_la_rpath) $(libwin32text_plugin_la_OBJECTS) $(libwin32text_plugin_la_LIBADD) $(LIBS) --libxdg_screensaver_plugin.la: $(libxdg_screensaver_plugin_la_OBJECTS) $(libxdg_screensaver_plugin_la_DEPENDENCIES) -- $(AM_V_CCLD)$(libxdg_screensaver_plugin_la_LINK) $(libxdg_screensaver_plugin_la_OBJECTS) $(libxdg_screensaver_plugin_la_LIBADD) $(LIBS) --libxscreensaver_plugin.la: $(libxscreensaver_plugin_la_OBJECTS) $(libxscreensaver_plugin_la_DEPENDENCIES) -- $(AM_V_CCLD)$(libxscreensaver_plugin_la_LINK) $(libxscreensaver_plugin_la_OBJECTS) $(libxscreensaver_plugin_la_LIBADD) $(LIBS) - - mostlyclean-compile: - -rm -f *.$(OBJEXT) -@@ -1132,8 +1077,6 @@ distclean-compile: - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsvg_plugin_la-svg.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvod_rtsp_plugin_la-rtsp.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwin32text_plugin_la-win32text.Plo@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxdg_screensaver_plugin_la-xdg.Plo@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxscreensaver_plugin_la-xscreensaver.Plo@am__quote@ - - .c.o: - @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@@ -1247,22 +1190,6 @@ libwin32text_plugin_la-win32text.lo: win - @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwin32text_plugin_la_CFLAGS) $(CFLAGS) -c -o libwin32text_plugin_la-win32text.lo `test -f 'win32text.c' || echo '$(srcdir)/'`win32text.c - --libxdg_screensaver_plugin_la-xdg.lo: inhibit/xdg.c --@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxdg_screensaver_plugin_la_CFLAGS) $(CFLAGS) -MT libxdg_screensaver_plugin_la-xdg.lo -MD -MP -MF $(DEPDIR)/libxdg_screensaver_plugin_la-xdg.Tpo -c -o libxdg_screensaver_plugin_la-xdg.lo `test -f 'inhibit/xdg.c' || echo '$(srcdir)/'`inhibit/xdg.c --@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libxdg_screensaver_plugin_la-xdg.Tpo $(DEPDIR)/libxdg_screensaver_plugin_la-xdg.Plo --@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ --@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='inhibit/xdg.c' object='libxdg_screensaver_plugin_la-xdg.lo' libtool=yes @AMDEPBACKSLASH@ --@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ --@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxdg_screensaver_plugin_la_CFLAGS) $(CFLAGS) -c -o libxdg_screensaver_plugin_la-xdg.lo `test -f 'inhibit/xdg.c' || echo '$(srcdir)/'`inhibit/xdg.c -- --libxscreensaver_plugin_la-xscreensaver.lo: inhibit/xscreensaver.c --@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxscreensaver_plugin_la_CFLAGS) $(CFLAGS) -MT libxscreensaver_plugin_la-xscreensaver.lo -MD -MP -MF $(DEPDIR)/libxscreensaver_plugin_la-xscreensaver.Tpo -c -o libxscreensaver_plugin_la-xscreensaver.lo `test -f 'inhibit/xscreensaver.c' || echo '$(srcdir)/'`inhibit/xscreensaver.c --@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libxscreensaver_plugin_la-xscreensaver.Tpo $(DEPDIR)/libxscreensaver_plugin_la-xscreensaver.Plo --@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ --@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='inhibit/xscreensaver.c' object='libxscreensaver_plugin_la-xscreensaver.lo' libtool=yes @AMDEPBACKSLASH@ --@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ --@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxscreensaver_plugin_la_CFLAGS) $(CFLAGS) -c -o libxscreensaver_plugin_la-xscreensaver.lo `test -f 'inhibit/xscreensaver.c' || echo '$(srcdir)/'`inhibit/xscreensaver.c -- - mostlyclean-libtool: - -rm -f *.lo - diff --git a/package/vlc/patches/patch-modules_misc_inhibit_xdg_c b/package/vlc/patches/patch-modules_misc_inhibit_xdg_c new file mode 100644 index 000000000..74a5b7675 --- /dev/null +++ b/package/vlc/patches/patch-modules_misc_inhibit_xdg_c @@ -0,0 +1,10 @@ +--- vlc-2.0.3.orig/modules/misc/inhibit/xdg.c 2011-12-08 19:00:26.000000000 +0100 ++++ vlc-2.0.3/modules/misc/inhibit/xdg.c 2012-07-26 16:36:07.000000000 +0200 +@@ -27,7 +27,6 @@ + #include <vlc_inhibit.h> + #include <assert.h> + #include <signal.h> +-#include <spawn.h> + #include <sys/wait.h> + + static int Open (vlc_object_t *); diff --git a/package/vlc/patches/patch-modules_misc_inhibit_xscreensaver_c b/package/vlc/patches/patch-modules_misc_inhibit_xscreensaver_c new file mode 100644 index 000000000..00f1a5f77 --- /dev/null +++ b/package/vlc/patches/patch-modules_misc_inhibit_xscreensaver_c @@ -0,0 +1,10 @@ +--- vlc-2.0.3.orig/modules/misc/inhibit/xscreensaver.c 2011-12-08 19:00:26.000000000 +0100 ++++ vlc-2.0.3/modules/misc/inhibit/xscreensaver.c 2012-07-26 16:36:21.000000000 +0200 +@@ -39,7 +39,6 @@ + #include <sys/wait.h> + #include <fcntl.h> + #include <signal.h> +-#include <spawn.h> + + /***************************************************************************** + * Local prototypes diff --git a/package/vlc/patches/patch-src_misc_linux_specific_c b/package/vlc/patches/patch-src_misc_linux_specific_c deleted file mode 100644 index f25b1ea57..000000000 --- a/package/vlc/patches/patch-src_misc_linux_specific_c +++ /dev/null @@ -1,19 +0,0 @@ ---- vlc-1.1.11.orig/src/misc/linux_specific.c 2011-07-14 13:27:03.000000000 +0200 -+++ vlc-1.1.11/src/misc/linux_specific.c 2011-09-15 06:35:43.887989501 +0200 -@@ -83,14 +83,14 @@ static struct - unsigned refs; - } once = { VLC_STATIC_MUTEX, 0 }; - --#ifdef __GLIBC__ -+#ifndef __UCLIBC__ - # include <gnu/libc-version.h> - # include <stdlib.h> - #endif - - void system_Init (libvlc_int_t *libvlc, int *argc, const char *argv[]) - { --#ifdef __GLIBC__ -+#ifndef __UCLIBC__ - const char *glcv = gnu_get_libc_version (); - - /* gettext in glibc 2.5-2.7 is not thread-safe. LibVLC keeps crashing, diff --git a/package/vlc/patches/patch-src_posix_linux_specific_c b/package/vlc/patches/patch-src_posix_linux_specific_c new file mode 100644 index 000000000..a5cdc1534 --- /dev/null +++ b/package/vlc/patches/patch-src_posix_linux_specific_c @@ -0,0 +1,30 @@ +--- vlc-2.0.3.orig/src/posix/linux_specific.c 2011-12-08 19:00:28.000000000 +0100 ++++ vlc-2.0.3/src/posix/linux_specific.c 2012-07-26 16:08:31.000000000 +0200 +@@ -83,27 +83,8 @@ static struct + unsigned refs; + } once = { VLC_STATIC_MUTEX, 0 }; + +-#ifdef __GLIBC__ +-# include <gnu/libc-version.h> +-# include <stdlib.h> +-#endif +- + void system_Init (void) + { +-#ifdef __GLIBC__ +- const char *glcv = gnu_get_libc_version (); +- +- /* gettext in glibc 2.5-2.7 is not thread-safe. LibVLC keeps crashing, +- * especially in sterror_r(). Even if we have NLS disabled, the calling +- * process might have called setlocale(). */ +- if (strverscmp (glcv, "2.5") >= 0 && strverscmp (glcv, "2.8") < 0) +- { +- fputs ("LibVLC has detected an unusable buggy GNU/libc version.\n" +- "Please update to version 2.8 or newer.\n", stderr); +- fflush (stderr); +- } +-#endif +- + vlc_mutex_lock (&once.lock); + if (once.refs++ == 0) + set_libvlc_path (); diff --git a/package/yasm/patches/patch-Makefile_in.orig b/package/yasm/patches/patch-Makefile_in.orig deleted file mode 100644 index a43d788b2..000000000 --- a/package/yasm/patches/patch-Makefile_in.orig +++ /dev/null @@ -1,29 +0,0 @@ ---- yasm-1.1.0.orig/Makefile.in 2010-08-07 18:38:18.000000000 +0200 -+++ yasm-1.1.0/Makefile.in 2011-11-09 17:08:52.475152311 +0100 -@@ -1843,7 +1843,7 @@ vsyasm_LDADD = libyasm.a $(INTLLIBS) - # genstring build - genstring_SOURCES = - genstring_LDADD = genstring.$(OBJEXT) --genstring_LINK = $(CCLD_FOR_BUILD) -o $@ -+genstring_LINK = $(CCLD_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o $@ - all: $(BUILT_SOURCES) config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -@@ -4159,7 +4159,7 @@ version.mac: genversion$(EXEEXT) - $(top_builddir)/genversion$(EXEEXT) $@ - - genversion.$(OBJEXT): modules/preprocs/nasm/genversion.c -- $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f modules/preprocs/nasm/genversion.c || echo '$(srcdir)/'`modules/preprocs/nasm/genversion.c -+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f modules/preprocs/nasm/genversion.c || echo '$(srcdir)/'`modules/preprocs/nasm/genversion.c - - #EXTRA_DIST += modules/preprocs/gas/tests/rawpp_test.sh - #EXTRA_DIST += modules/preprocs/gas/tests/longline.asm -@@ -4209,7 +4209,7 @@ install-exec-hook: python-install - uninstall-hook: python-uninstall - - genstring.$(OBJEXT): genstring.c -- $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f genstring.c || echo '$(srcdir)/'`genstring.c -+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) -c -o $@ `test -f genstring.c || echo '$(srcdir)/'`genstring.c - - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/package/zip/patches/patch-unix_Makefile.orig b/package/zip/patches/patch-unix_Makefile.orig deleted file mode 100644 index ff185d2d8..000000000 --- a/package/zip/patches/patch-unix_Makefile.orig +++ /dev/null @@ -1,29 +0,0 @@ ---- zip30.orig/unix/Makefile 2008-05-07 08:33:56.000000000 +0200 -+++ zip30/unix/Makefile 2011-10-19 22:20:07.000000000 +0200 -@@ -22,7 +22,7 @@ SHELL = /bin/sh - LN = ln -s - - # (to use the GNU compiler, change cc to gcc in CC) --CC = cc -+CC ?= cc - BIND = $(CC) - AS = $(CC) -c - CPP = /lib/cpp -@@ -58,7 +58,7 @@ IZ_OUR_BZIP2_DIR = bzip2 - # LFLAGS1 flags after output file spec, before obj file list - # LFLAGS2 flags after obj file list (libraries, etc) - CFLAGS_NOOPT = -I. -DUNIX $(LOCAL_ZIP) --CFLAGS = -O2 $(CFLAGS_NOOPT) -+CFLAGS ?= -O2 $(CFLAGS_NOOPT) - LFLAGS1 = - LFLAGS2 = -s - -@@ -202,7 +202,7 @@ generic: flags - eval $(MAKE) $(MAKEF) zips `cat flags` - - generic_gcc: -- $(MAKE) $(MAKEF) generic CC=gcc CPP="gcc -E" -+ $(MAKE) $(MAKEF) generic CPP="gcc -E" CC=$(CC) - - # AT&T 6300 PLUS (don't know yet how to allocate 64K bytes): - att6300nodir: |