X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=SDLcam-path.patch;fp=SDLcam-path.patch;h=b3c3f7bd6d93657590e42b549327af16cbfa154b;hb=2264acc220bc7750ef53d1f75889bc51943e56e3;hp=10a05efeb6abc25212e400d6c754aaac42de8062;hpb=3585948b4d8f846d8dc81bd0c719256efe0a39e0;p=packages%2FSDLcam.git diff --git a/SDLcam-path.patch b/SDLcam-path.patch index 10a05ef..b3c3f7b 100644 --- a/SDLcam-path.patch +++ b/SDLcam-path.patch @@ -52,3 +52,17 @@ diff -urN SDLcam-0.7.3.orig/interface.cpp SDLcam-0.7.3/interface.cpp return; } fprintf(stderr, "Could not find/open SDLcam.xml. Aborting\n"); +diff -urN SDLcam-0.7.3.orig/main.cpp SDLcam-0.7.3/main.cpp +--- SDLcam-0.7.3.orig/main.cpp Thu Oct 3 14:07:46 2002 ++++ SDLcam-0.7.3/main.cpp Thu Oct 3 14:51:30 2002 +@@ -89,8 +89,8 @@ + }}} + if (neu == NULL) {{{ + newInput make = NULL; +- char *TYPE = (char*) xMalloc (strlen ("sources/.so") + strlen (type) + 2); +- sprintf(TYPE, "sources/%s.so", type); ++ char *TYPE = (char*) xMalloc (strlen ("/usr/X11R6/lib/SDLcam/sources/.so") + strlen (type) + 2); ++ sprintf(TYPE, "/usr/X11R6/lib/SDLcam/sources/%s.so", type); + void *handle = dlopen (TYPE, RTLD_NOW); + free (TYPE); + if (handle == NULL) {