package/oprofile: fix musl build
authorBernd Kuhls <bernd.kuhls@t-online.de>
Fri, 5 Feb 2016 21:50:26 +0000 (22:50 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 6 Feb 2016 19:17:16 +0000 (20:17 +0100)
commit1939a6528b862022b7266fe74aecdc327fa1b876
tree7d0e223335de06958a471372cae7752878a2332e
parent7d48f7d77429ad4586674d224fc3168202ad4a40
package/oprofile: fix musl build

The build error has not yet been found by the autobuilders:

operf.cpp: In function ‘int __delete_old_previous_sample_data(const char*, const stat*, int, FTW*)’:
operf.cpp:862:10: error: ‘FTW_STOP’ was not declared in this scope
   return FTW_STOP;
          ^
operf.cpp:864:10: error: ‘FTW_CONTINUE’ was not declared in this scope
   return FTW_CONTINUE;
          ^
operf.cpp: In function ‘void convert_sample_data()’:
operf.cpp:899:41: error: ‘FTW_ACTIONRETVAL’ was not declared in this scope
                 int flags = FTW_DEPTH | FTW_ACTIONRETVAL;

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/oprofile/0001-musl.patch [new file with mode: 0644]