]> git.pld-linux.org Git - packages/SDLcam.git/blobdiff - SDLcam-path.patch
- updated source patch
[packages/SDLcam.git] / SDLcam-path.patch
index 10a05efeb6abc25212e400d6c754aaac42de8062..b3c3f7bd6d93657590e42b549327af16cbfa154b 100644 (file)
@@ -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) {
This page took 0.045549 seconds and 4 git commands to generate.