# HG changeset patch # User Pascal Bellard # Date 1487267742 -3600 # Node ID 804b0efcafb3a45a8c39ebe973e463f7d5c8e911 # Parent 1fdc9611ce7882a26d7101b6e15072fcbd7c2d50 testdisk: simplify some initializations diff -r 1fdc9611ce78 -r 804b0efcafb3 testdisk/receipt --- a/testdisk/receipt Thu Feb 16 15:48:06 2017 +0100 +++ b/testdisk/receipt Thu Feb 16 18:55:42 2017 +0100 @@ -20,6 +20,8 @@ # Rules to configure and make the package. compile_rules() { + sed -i '/alloc_data_t list_search_space={/{s/={/;/;n;s/.list /list_search_space&/;s/$/;/;nd}' src/qphotorec.cpp + sed -i '/file_info_t dir_list = {/{s/= {/;/;n;s/.list /dir_list&/;s/,$/;/;n;s/.name/dir_list&/;s/$/;/;nd}' src/qpsearch.cpp sed -i 's/COLOR_RED/COLOR_YELLOW/' src/intrfn.c ./configure --with-ntfs3g $CONFIGURE_ARGS && make && make install