diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-07-04 16:08:19 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-07-04 16:09:49 +0200 |
commit | 1d23785857140fd8affd228a88587c19baec6dd6 (patch) | |
tree | c96bb2a9f0151989ff8f977defb56a55a3f47747 /community/lshw/lshw-gcc43.patch | |
parent | 9d226a44dae8a69af959ad29eea49795838f4026 (diff) | |
download | aports-1d23785857140fd8affd228a88587c19baec6dd6.tar.bz2 aports-1d23785857140fd8affd228a88587c19baec6dd6.tar.xz |
community/lshw: move from testing
Diffstat (limited to 'community/lshw/lshw-gcc43.patch')
-rw-r--r-- | community/lshw/lshw-gcc43.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/community/lshw/lshw-gcc43.patch b/community/lshw/lshw-gcc43.patch new file mode 100644 index 0000000000..c56b03890b --- /dev/null +++ b/community/lshw/lshw-gcc43.patch @@ -0,0 +1,23 @@ +--- src/core/abi.cc.orig 2010-03-15 21:26:20.000000000 +0100 ++++ src/core/abi.cc 2013-08-06 21:05:08.693772583 +0200 +@@ -11,6 +11,7 @@ + #include <unistd.h> + #include <stdlib.h> + #include <dirent.h> ++#include <cstdlib> + + __ID("@(#) $Id: mem.cc 1352 2006-05-27 23:54:13Z ezix $"); + +@@ -38,10 +39,10 @@ + for(i=0; i<n; i++) + { + system.addCapability(namelist[i]->d_name); +- free(namelist[i]); ++ std::free(namelist[i]); + } + if(namelist) +- free(namelist); ++ std::free(namelist); + } + + popd(); |