source: media-video/makemkv/files/makemkv-path.patch @ f3987e6

Revision f3987e6, 2.1 KB checked in by Mario Fetka <mario.fetka@…>, 9 months ago (diff)

Bump

  • Property mode set to 100644
  • libabi/src/httplinux.cpp

    diff -Naur makemkv-oss-1.9.10.orig/libabi/src/httplinux.cpp makemkv-oss-1.9.10/libabi/src/httplinux.cpp
    old new  
    4545    lurl = (char*)alloca(strlen(Url)+1); 
    4646    strcpy(lurl,Url); 
    4747 
    48     strcpy(argv0,"/usr/bin/wget"); argv[0]=argv0; 
     48    strcpy(argv0,"wget"); argv[0]=argv0; 
    4949    strcpy(argv1,"-q"); argv[1]=argv1; 
    5050    strcpy(argv2,"-O"); argv[2]=argv2; 
    5151    strcpy(argv3,"-"); argv[3]=argv3; 
  • makemkvgui/src/api_posix.cpp

    diff -Naur makemkv-oss-1.9.10.orig/makemkvgui/src/api_posix.cpp makemkv-oss-1.9.10/makemkvgui/src/api_posix.cpp
    old new  
    5454 
    5555    if (AppName[0]==':') 
    5656    { 
    57         bool app_found = false; 
    58         const char* const* app_locations = ApGetAppLocations(); 
    5957        const char* p_env = getenv("MAKEMKVCON"); 
    6058 
    6159        AppName++; 
     
    6361        if (p_env!=NULL) 
    6462        { 
    6563            strcpy(app_path,p_env); 
     64        } else { 
     65            strcpy(app_path,AppName); 
     66        } 
     67    } else { 
     68        strcpy(app_path,AppName); 
     69    } 
     70/* 
    6671            app_found = true; 
    6772        } else { 
    6873            for (size_t i=0;app_locations[i]!=NULL;i++) 
     
    105110        } 
    106111        strcpy(p,AppName); 
    107112    } 
    108  
     113*/ 
    109114    strcpy(str_guiserver,"guiserver"); 
    110115    strcpy(str_apver,verstr); 
    111116 
  • makemkvgui/src/spawn_posix.cpp

    diff -Naur makemkv-oss-1.9.10.orig/makemkvgui/src/spawn_posix.cpp makemkv-oss-1.9.10/makemkvgui/src/spawn_posix.cpp
    old new  
    7070        } 
    7171    } 
    7272 
    73     err = posix_spawn(&pid,argv[0],&spawn_actions,&spawn_attr,argv,envp); 
     73    err = posix_spawnp(&pid,argv[0],&spawn_actions,&spawn_attr,argv,envp); 
    7474 
    7575    posix_spawn_file_actions_destroy(&spawn_actions); 
    7676    posix_spawnattr_destroy(&spawn_attr); 
Note: See TracBrowser for help on using the repository browser.