oweals/openwrt.git
16 years agoimprove lua opcode dispatch performance by using computed goto instead of switch...
Felix Fietkau [Sun, 24 Aug 2008 13:37:56 +0000 (13:37 +0000)]
improve lua opcode dispatch performance by using computed goto instead of switch/case - improves performance by about 10% in a simple loop test

SVN-Revision: 12378

16 years agofix bridge utils for brcm-2.4 from http://dev.luci.freifunk-halle.net/001-brcm2.4...
Travis Kemen [Sun, 24 Aug 2008 02:40:20 +0000 (02:40 +0000)]
fix bridge utils for brcm-2.4 from dev.luci.freifunk-halle.net/001-brcm2.4-fix-bridge-utils.patch

SVN-Revision: 12377

16 years agofix make kernel_menuconfig for subtarget kernel config files
Felix Fietkau [Sat, 23 Aug 2008 23:45:28 +0000 (23:45 +0000)]
fix make kernel_menuconfig for subtarget kernel config files

SVN-Revision: 12376

16 years agoFix hostapd with open access point and per-device configuration, thanks sn9
Florian Fainelli [Sat, 23 Aug 2008 21:21:04 +0000 (21:21 +0000)]
Fix hostapd with open access point and per-device configuration, thanks sn9

SVN-Revision: 12375

16 years agoupgrade uci to 0.6.0 - many bugfixes and an API cleanup
Felix Fietkau [Sat, 23 Aug 2008 14:26:31 +0000 (14:26 +0000)]
upgrade uci to 0.6.0 - many bugfixes and an API cleanup

SVN-Revision: 12373

16 years agosync kernel config
Gabor Juhos [Fri, 22 Aug 2008 19:34:31 +0000 (19:34 +0000)]
sync kernel config

SVN-Revision: 12372

16 years agoupdate to 2.6.26.3 and 2.6.25.16
Gabor Juhos [Fri, 22 Aug 2008 15:37:19 +0000 (15:37 +0000)]
update to 2.6.26.3 and 2.6.25.16

SVN-Revision: 12371

16 years agofix ImageBuilder (closes: #3863)
Nicolas Thill [Fri, 22 Aug 2008 13:45:54 +0000 (13:45 +0000)]
fix ImageBuilder (closes: #3863)

SVN-Revision: 12370

16 years agooops, fix typo in [12368]
Nicolas Thill [Fri, 22 Aug 2008 05:03:37 +0000 (05:03 +0000)]
oops, fix typo in [12368]

SVN-Revision: 12369

16 years agoinstall ppp development headers
Nicolas Thill [Fri, 22 Aug 2008 05:02:04 +0000 (05:02 +0000)]
install ppp development headers

SVN-Revision: 12368

16 years agoadd LICENSE & minimal Config.in files (closes: #3710)
Nicolas Thill [Fri, 22 Aug 2008 04:20:40 +0000 (04:20 +0000)]
add LICENSE & minimal Config.in files (closes: #3710)

SVN-Revision: 12367

16 years agodon't display the "Image configuration" menu entry when there's nothing to pre-config...
Nicolas Thill [Fri, 22 Aug 2008 04:18:35 +0000 (04:18 +0000)]
don't display the "Image configuration" menu entry when there's nothing to pre-configure (when using the SDK for example)

SVN-Revision: 12366

16 years agoadd feeds config file to SDK
Nicolas Thill [Fri, 22 Aug 2008 02:52:19 +0000 (02:52 +0000)]
add feeds config file to SDK

SVN-Revision: 12365

16 years agofix the CF driver on 2.6.26.x, and create a package for it
Gabor Juhos [Thu, 21 Aug 2008 16:52:06 +0000 (16:52 +0000)]
fix the CF driver on 2.6.26.x, and create a package for it

SVN-Revision: 12364

16 years agomadwifi: keep a/g mode and pureg setting in sync across vaps
Felix Fietkau [Thu, 21 Aug 2008 14:54:51 +0000 (14:54 +0000)]
madwifi: keep a/g mode and pureg setting in sync across vaps

SVN-Revision: 12363

16 years agoset reasonable generic CRYPTO_ config entries for 2.6.26
Nicolas Thill [Thu, 21 Aug 2008 13:30:59 +0000 (13:30 +0000)]
set reasonable generic CRYPTO_ config entries for 2.6.26

SVN-Revision: 12362

16 years agofix kmod-ipt-imq module generation (closes: #3896)
Nicolas Thill [Thu, 21 Aug 2008 13:17:47 +0000 (13:17 +0000)]
fix kmod-ipt-imq module generation (closes: #3896)

SVN-Revision: 12361

16 years agomove more extra packages from ./trunk to ./packages
Nicolas Thill [Wed, 20 Aug 2008 22:00:41 +0000 (22:00 +0000)]
move more extra packages from ./trunk to ./packages

SVN-Revision: 12359

16 years agoload the mac address from flash where it is possible
Gabor Juhos [Wed, 20 Aug 2008 17:20:58 +0000 (17:20 +0000)]
load the mac address from flash where it is possible

SVN-Revision: 12357

16 years agoadd missing dependencies on libblkid/libuuid for mount-utils/swap-utils (should close...
Nicolas Thill [Wed, 20 Aug 2008 16:04:21 +0000 (16:04 +0000)]
add missing dependencies on libblkid/libuuid for mount-utils/swap-utils (should close: #3730), bump release number

SVN-Revision: 12356

16 years agoadd a patch to use relative symlinks for development shared libraries
Nicolas Thill [Wed, 20 Aug 2008 16:01:33 +0000 (16:01 +0000)]
add a patch to use relative symlinks for development shared libraries

SVN-Revision: 12355

16 years agodisable ath9k on all platforms without pci support, not just uml
Felix Fietkau [Wed, 20 Aug 2008 15:46:46 +0000 (15:46 +0000)]
disable ath9k on all platforms without pci support, not just uml

SVN-Revision: 12354

16 years agoupgrade to uci 0.5.0, adds list handling support
Felix Fietkau [Wed, 20 Aug 2008 15:38:51 +0000 (15:38 +0000)]
upgrade to uci 0.5.0, adds list handling support

SVN-Revision: 12353

16 years agodisable ath9k on uml
Nicolas Thill [Wed, 20 Aug 2008 15:33:05 +0000 (15:33 +0000)]
disable ath9k on uml

SVN-Revision: 12352

16 years agodisable ipv6 systcl call, as ipv6 is not enabled by default
Nicolas Thill [Wed, 20 Aug 2008 15:29:11 +0000 (15:29 +0000)]
disable ipv6 systcl call, as ipv6 is not enabled by default

SVN-Revision: 12351

16 years agoremove empty patches left over after [12348]
Nicolas Thill [Wed, 20 Aug 2008 15:20:19 +0000 (15:20 +0000)]
remove empty patches left over after [12348]

SVN-Revision: 12350

16 years agoadd "Architecture" field to opkg status file (closes: #3901)
Nicolas Thill [Wed, 20 Aug 2008 14:09:19 +0000 (14:09 +0000)]
add "Architecture" field to opkg status file (closes: #3901)

SVN-Revision: 12349

16 years agoupgrade busybox to v1.11.1 and add current upstream fixes
Imre Kaloz [Wed, 20 Aug 2008 14:00:34 +0000 (14:00 +0000)]
upgrade busybox to v1.11.1 and add current upstream fixes

SVN-Revision: 12348

16 years agorename patch
Imre Kaloz [Wed, 20 Aug 2008 13:58:09 +0000 (13:58 +0000)]
rename patch

SVN-Revision: 12347

16 years agoupgrade bridge-utils to v1.4
Imre Kaloz [Wed, 20 Aug 2008 13:56:57 +0000 (13:56 +0000)]
upgrade bridge-utils to v1.4

SVN-Revision: 12346

16 years agofix uci_set_state for empty values
Felix Fietkau [Wed, 20 Aug 2008 12:34:17 +0000 (12:34 +0000)]
fix uci_set_state for empty values

SVN-Revision: 12345

16 years agofixes variables, oops
John Crispin [Wed, 20 Aug 2008 11:45:23 +0000 (11:45 +0000)]
fixes variables, oops

SVN-Revision: 12344

16 years agoadds the option to have no proto for a interface, usefull if the uci states need...
John Crispin [Wed, 20 Aug 2008 11:17:40 +0000 (11:17 +0000)]
adds the option to have no proto for a interface, usefull if the uci states need to be set, but interface bring up is handled somewhere else

SVN-Revision: 12343

16 years agoadd section names to dnsmasq config
John Crispin [Tue, 19 Aug 2008 22:05:41 +0000 (22:05 +0000)]
add section names to dnsmasq config

SVN-Revision: 12342

16 years agomadwifi: more wds sta related fixes
Felix Fietkau [Tue, 19 Aug 2008 18:22:03 +0000 (18:22 +0000)]
madwifi: more wds sta related fixes

SVN-Revision: 12341

16 years agoredboot.c - adds implicit creation of boardconfig partition
John Crispin [Tue, 19 Aug 2008 18:07:57 +0000 (18:07 +0000)]
redboot.c - adds implicit creation of boardconfig partition

SVN-Revision: 12340

16 years agoupgrade iop32x to 2.6.26.2
Imre Kaloz [Mon, 18 Aug 2008 13:54:31 +0000 (13:54 +0000)]
upgrade iop32x to 2.6.26.2

SVN-Revision: 12338

16 years agoclean up atheros pci code
John Crispin [Mon, 18 Aug 2008 11:49:05 +0000 (11:49 +0000)]
clean up atheros pci code

SVN-Revision: 12337

16 years agoenable TCP ECN by default (see #3001 for more information)
Felix Fietkau [Sun, 17 Aug 2008 13:01:59 +0000 (13:01 +0000)]
enable TCP ECN by default (see #3001 for more information)

SVN-Revision: 12334

16 years agomake libc.so symlink relative instead of absolute (#3878)
Felix Fietkau [Sun, 17 Aug 2008 12:30:14 +0000 (12:30 +0000)]
make libc.so symlink relative instead of absolute (#3878)

SVN-Revision: 12333

16 years agofix some firewall script typos (patch from #3897)
Felix Fietkau [Sun, 17 Aug 2008 12:01:01 +0000 (12:01 +0000)]
fix some firewall script typos (patch from #3897)

SVN-Revision: 12332

16 years agosome more build system cleanup
Felix Fietkau [Sun, 17 Aug 2008 11:14:13 +0000 (11:14 +0000)]
some more build system cleanup

SVN-Revision: 12329

16 years agorename feeds.conf to feeds.conf.default, make feeds.conf override feeds.conf.default...
Felix Fietkau [Sun, 17 Aug 2008 09:05:01 +0000 (09:05 +0000)]
rename feeds.conf to feeds.conf.default, make feeds.conf override feeds.conf.default this makes it possible to change the feeds lists without having the version control system record it as a change

SVN-Revision: 12328

16 years agoexport the FIND variable which points to a usable find version
Felix Fietkau [Sun, 17 Aug 2008 09:04:48 +0000 (09:04 +0000)]
export the FIND variable which points to a usable find version

SVN-Revision: 12327

16 years agoadd /etc/firewall.user to be backed up becuase it is an example in /etc/config/firewall
Travis Kemen [Sat, 16 Aug 2008 18:01:18 +0000 (18:01 +0000)]
add /etc/firewall.user to be backed up becuase it is an example in /etc/config/firewall

SVN-Revision: 12326

16 years agofix uninitialized variable in metadata.pm (#3860)
Felix Fietkau [Sat, 16 Aug 2008 17:00:50 +0000 (17:00 +0000)]
fix uninitialized variable in metadata.pm (#3860)

SVN-Revision: 12325

16 years agoadd vif selection fix for the broadcom-wl wifi script (thx, sn9)
Felix Fietkau [Sat, 16 Aug 2008 17:00:27 +0000 (17:00 +0000)]
add vif selection fix for the broadcom-wl wifi script (thx, sn9)

SVN-Revision: 12324

16 years agofix madwifi napi polling packet counting final fix for #3880
Felix Fietkau [Sat, 16 Aug 2008 17:00:13 +0000 (17:00 +0000)]
fix madwifi napi polling packet counting final fix for #3880

SVN-Revision: 12323

16 years agorework parallel building to get rid of some warnings and add back support for paralle...
Felix Fietkau [Sat, 16 Aug 2008 16:59:47 +0000 (16:59 +0000)]
rework parallel building to get rid of some warnings and add back support for parallelizing the kernel build fixes #3882

SVN-Revision: 12322

16 years agoremove unneeded line
Travis Kemen [Sat, 16 Aug 2008 16:46:11 +0000 (16:46 +0000)]
remove unneeded line

SVN-Revision: 12321

16 years agoremove /etc/firewall.* from being kept as they no longer are used in trunk
Travis Kemen [Sat, 16 Aug 2008 16:04:51 +0000 (16:04 +0000)]
remove /etc/firewall.* from being kept as they no longer are used in trunk

SVN-Revision: 12320

16 years agomake opkg the default package manager, disable busybox ipkg from building by default
Travis Kemen [Sat, 16 Aug 2008 06:35:14 +0000 (06:35 +0000)]
make opkg the default package manager, disable busybox ipkg from building by default

SVN-Revision: 12319

16 years agofix typo, proto should be protocol
Travis Kemen [Sat, 16 Aug 2008 06:33:22 +0000 (06:33 +0000)]
fix typo, proto should be protocol

SVN-Revision: 12318

16 years agotrigger error if dport is used when no proto is defined
John Crispin [Fri, 15 Aug 2008 20:18:13 +0000 (20:18 +0000)]
trigger error if dport is used when no proto is defined

SVN-Revision: 12317

16 years agofix symlinks when installing opkg into a image
Travis Kemen [Fri, 15 Aug 2008 04:13:21 +0000 (04:13 +0000)]
fix symlinks when installing opkg into a image

SVN-Revision: 12316

16 years agoFix negative calculation of the tmpfs for devices with few RAM (#3557)
Florian Fainelli [Thu, 14 Aug 2008 22:21:35 +0000 (22:21 +0000)]
Fix negative calculation of the tmpfs for devices with few RAM (#3557)

SVN-Revision: 12315

16 years agoremove /etc/functions.sh call from led hotplug script
John Crispin [Thu, 14 Aug 2008 19:07:22 +0000 (19:07 +0000)]
remove /etc/functions.sh call from led hotplug script

SVN-Revision: 12312

16 years agorefresh 2.6.23 patches
Gabor Juhos [Thu, 14 Aug 2008 18:05:37 +0000 (18:05 +0000)]
refresh 2.6.23 patches

SVN-Revision: 12311

16 years agoadds watchdog driver to ar5315
John Crispin [Thu, 14 Aug 2008 16:08:46 +0000 (16:08 +0000)]
adds watchdog driver to ar5315

SVN-Revision: 12309

16 years agomove qc-usb from trunk to packages as well (see [12260])
Nicolas Thill [Thu, 14 Aug 2008 10:53:12 +0000 (10:53 +0000)]
move qc-usb from trunk to packages as well (see [12260])

SVN-Revision: 12304

16 years agoFix opkg compilation with ccache, thanks sn9
Florian Fainelli [Wed, 13 Aug 2008 21:12:26 +0000 (21:12 +0000)]
Fix opkg compilation with ccache, thanks sn9

SVN-Revision: 12303

16 years agoload board's mac address on Compex devices
Gabor Juhos [Wed, 13 Aug 2008 19:52:25 +0000 (19:52 +0000)]
load board's mac address on Compex devices

SVN-Revision: 12302

16 years agoNow we have b43 working in master mode, include b43 in the profile (#3827)
Florian Fainelli [Wed, 13 Aug 2008 19:42:07 +0000 (19:42 +0000)]
Now we have b43 working in master mode, include b43 in the profile (#3827)

SVN-Revision: 12301

16 years agoUpdate b43 to work in AP mode
Florian Fainelli [Wed, 13 Aug 2008 19:37:40 +0000 (19:37 +0000)]
Update b43 to work in AP mode

SVN-Revision: 12300

16 years agoAllow mac80211 drivers to work in master mode
Florian Fainelli [Wed, 13 Aug 2008 19:35:29 +0000 (19:35 +0000)]
Allow mac80211 drivers to work in master mode

SVN-Revision: 12299

16 years agoUpdate hostapd to 0.6.4
Florian Fainelli [Wed, 13 Aug 2008 19:32:40 +0000 (19:32 +0000)]
Update hostapd to 0.6.4

SVN-Revision: 12298

16 years agoi2c-gpio-custom: minor bugfix
Gabor Juhos [Wed, 13 Aug 2008 18:48:48 +0000 (18:48 +0000)]
i2c-gpio-custom: minor bugfix

SVN-Revision: 12297

16 years agofix gpio number of the reset button Compex WP54 boards
Gabor Juhos [Wed, 13 Aug 2008 16:15:45 +0000 (16:15 +0000)]
fix gpio number of the reset button Compex WP54 boards

SVN-Revision: 12296

16 years agoAdd missing config symbols
Florian Fainelli [Wed, 13 Aug 2008 15:39:36 +0000 (15:39 +0000)]
Add missing config symbols

SVN-Revision: 12295

16 years agoFix card_idx calculation, thanks sn9
Florian Fainelli [Wed, 13 Aug 2008 15:08:34 +0000 (15:08 +0000)]
Fix card_idx calculation, thanks sn9

SVN-Revision: 12294

16 years agoFix putting mac80211 interfaces in monitor and managed modes
Florian Fainelli [Wed, 13 Aug 2008 14:06:16 +0000 (14:06 +0000)]
Fix putting mac80211 interfaces in monitor and managed modes

SVN-Revision: 12293

16 years agoFix a bug when parsing ca_cert and eap_type with wpa_supplicant, this should only...
Florian Fainelli [Wed, 13 Aug 2008 13:30:27 +0000 (13:30 +0000)]
Fix a bug when parsing ca_cert and eap_type with wpa_supplicant, this should only be set for 802.1x setups

SVN-Revision: 12292

16 years agoAdd generic wpa_supplicant calls and use them for mac80211 and madwifi.
Florian Fainelli [Tue, 12 Aug 2008 14:22:42 +0000 (14:22 +0000)]
Add generic wpa_supplicant calls and use them for mac80211 and madwifi.

SVN-Revision: 12289

16 years agoTypo, should be kmod-madwifi
Florian Fainelli [Tue, 12 Aug 2008 13:44:20 +0000 (13:44 +0000)]
Typo, should be kmod-madwifi

SVN-Revision: 12288

16 years agoInclude madwifi by default in rb532 images
Florian Fainelli [Tue, 12 Aug 2008 13:18:26 +0000 (13:18 +0000)]
Include madwifi by default in rb532 images

SVN-Revision: 12287

16 years agoAllow routerboard users to kexec into the newly installed kernel if kexec-tools is...
Florian Fainelli [Tue, 12 Aug 2008 06:02:06 +0000 (06:02 +0000)]
Allow routerboard users to kexec into the newly installed kernel if kexec-tools is installed

SVN-Revision: 12286

16 years agofixes firewall makefile description
John Crispin [Mon, 11 Aug 2008 22:28:52 +0000 (22:28 +0000)]
fixes firewall makefile description

SVN-Revision: 12285

16 years agouci firewall - make uci firewall default and remove old code - fix up dependencies
John Crispin [Mon, 11 Aug 2008 22:27:36 +0000 (22:27 +0000)]
uci firewall - make uci firewall default and remove old code - fix up dependencies

SVN-Revision: 12284

16 years agoAdd 802.1x client configuration support and corresponding documentation (#2069)
Florian Fainelli [Mon, 11 Aug 2008 21:38:50 +0000 (21:38 +0000)]
Add 802.1x client configuration support and corresponding documentation (#2069)

SVN-Revision: 12283

16 years agouci_firewall - fixes hotplug.d script
John Crispin [Mon, 11 Aug 2008 20:51:51 +0000 (20:51 +0000)]
uci_firewall - fixes hotplug.d script

SVN-Revision: 12282

16 years agouci firewall - remove implicit creation of zones, based on network interfaces
John Crispin [Mon, 11 Aug 2008 20:46:17 +0000 (20:46 +0000)]
uci firewall - remove implicit creation of zones, based on network interfaces

SVN-Revision: 12281

16 years agomadwifi: napi polling fix - fix u_int negative comparison - add some reserve for...
Felix Fietkau [Mon, 11 Aug 2008 14:36:50 +0000 (14:36 +0000)]
madwifi: napi polling fix - fix u_int negative comparison - add some reserve for polling packets (ff has two frames in one descriptor)

SVN-Revision: 12280

16 years agoswitch the br2684 default to routed mode instead of bridged mode, as it's more common
Felix Fietkau [Mon, 11 Aug 2008 13:02:44 +0000 (13:02 +0000)]
switch the br2684 default to routed mode instead of bridged mode, as it's more common

SVN-Revision: 12277

16 years agoPackage ip6t_limit and ip6t_frag for 2.4 kernels (#3760)
Florian Fainelli [Mon, 11 Aug 2008 06:38:48 +0000 (06:38 +0000)]
Package ip6t_limit and ip6t_frag for 2.4 kernels (#3760)

SVN-Revision: 12276

16 years agoadd missing dependency
Felix Fietkau [Sun, 10 Aug 2008 15:49:52 +0000 (15:49 +0000)]
add missing dependency

SVN-Revision: 12270

16 years agofix kmod-ide-core packaging for 2.6.26+
Felix Fietkau [Sun, 10 Aug 2008 14:37:23 +0000 (14:37 +0000)]
fix kmod-ide-core packaging for 2.6.26+

SVN-Revision: 12269

16 years agoadd missing kconfig symbol for generic ide
Felix Fietkau [Sun, 10 Aug 2008 14:37:18 +0000 (14:37 +0000)]
add missing kconfig symbol for generic ide

SVN-Revision: 12268

16 years agofix aes on x86 (thx, Acinonyx)
Felix Fietkau [Sun, 10 Aug 2008 12:06:23 +0000 (12:06 +0000)]
fix aes on x86 (thx, Acinonyx)

SVN-Revision: 12267

16 years agoadd wget2nand script
Gabor Juhos [Sun, 10 Aug 2008 09:20:55 +0000 (09:20 +0000)]
add wget2nand script

SVN-Revision: 12263

16 years agoag71xx: add initial message level support
Gabor Juhos [Sun, 10 Aug 2008 09:18:42 +0000 (09:18 +0000)]
ag71xx: add initial message level support

SVN-Revision: 12262

16 years agomove some webcam/sound related stuff from trunk to packages
Felix Fietkau [Sat, 9 Aug 2008 20:36:05 +0000 (20:36 +0000)]
move some webcam/sound related stuff from trunk to packages

SVN-Revision: 12260

16 years agoMake sure we will have lower case MAC addresses when doing WDS
Florian Fainelli [Sat, 9 Aug 2008 10:00:49 +0000 (10:00 +0000)]
Make sure we will have lower case MAC addresses when doing WDS

SVN-Revision: 12259

16 years agoDo not run telnet if either dropbear or openssh server are running (#3839)
Florian Fainelli [Sat, 9 Aug 2008 09:50:12 +0000 (09:50 +0000)]
Do not run telnet if either dropbear or openssh server are running (#3839)

SVN-Revision: 12258

16 years agosplit support of Cellvision boards
Gabor Juhos [Sat, 9 Aug 2008 07:08:40 +0000 (07:08 +0000)]
split support of Cellvision boards

SVN-Revision: 12255

16 years agofix cut&paste mistake
Felix Fietkau [Sat, 9 Aug 2008 00:49:36 +0000 (00:49 +0000)]
fix cut&paste mistake

SVN-Revision: 12254

16 years agosanitize msdosfs header for user space in 2.6.25 (fixes dosfstools compile)
Felix Fietkau [Sat, 9 Aug 2008 00:41:55 +0000 (00:41 +0000)]
sanitize msdosfs header for user space in 2.6.25 (fixes dosfstools compile)

SVN-Revision: 12253

16 years agofix make distclean
Felix Fietkau [Sat, 9 Aug 2008 00:27:54 +0000 (00:27 +0000)]
fix make distclean

SVN-Revision: 12252

16 years agoSupport encrypted WDS connections (#2463)
Florian Fainelli [Sat, 9 Aug 2008 00:18:25 +0000 (00:18 +0000)]
Support encrypted WDS connections (#2463)

SVN-Revision: 12251

16 years agoadd support for appending a file to jffs2 during reflash on the fly
Felix Fietkau [Fri, 8 Aug 2008 22:43:19 +0000 (22:43 +0000)]
add support for appending a file to jffs2 during reflash on the fly

SVN-Revision: 12250

16 years agopackage iproute2 has problems building on recent BSD-derived platforms because some...
Florian Fainelli [Fri, 8 Aug 2008 21:49:17 +0000 (21:49 +0000)]
package iproute2 has problems building on recent BSD-derived platforms because some programs to be run on the host use malloc.h in an incompatible way.

package/iproute2/patches/004-darwin_fixes.patch has a fix for Darwin,
however the fix can be made to work on other BSD platforms
by changing the patch as below.

I think a similar approach should work for other BSD-derived platforms,
replacing the
#ifndef __APPLE__
with
#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(...)

or perhaps even with just

#ifdef __linux__

if the set of platforms where malloc.h is ok is small or restricted
to just linux

In any case, the patch is below. (#3869)
Signed-off-by: Luigi Rizzo <rizzo@iet.unipi.it>
SVN-Revision: 12249