01ffada18b
* new and updated backends * 75 more scanner models supported * epson backend deprecated, use epson2 * coolscan2 backend deprecated, use coolscan3 * improved saned configuration * updated translations and documentations * bugfixes
22 lines
785 B
Plaintext
22 lines
785 B
Plaintext
$OpenBSD: patch-backend_dll_c,v 1.4 2009/05/06 10:23:21 ajacoutot Exp $
|
|
--- backend/dll.c.orig Tue May 5 10:01:03 2009
|
|
+++ backend/dll.c Tue May 5 10:02:12 2009
|
|
@@ -398,7 +398,7 @@ load (struct backend *be)
|
|
# elif defined (__APPLE__) && defined (__MACH__)
|
|
# define POSTFIX ".%u.so"
|
|
# else
|
|
-# define POSTFIX ".so.%u"
|
|
+# define POSTFIX ".so"
|
|
# endif
|
|
mode = getenv ("LD_BIND_NOW") ? RTLD_NOW : RTLD_LAZY;
|
|
#elif defined(HAVE_SHL_LOAD)
|
|
@@ -460,7 +460,7 @@ load (struct backend *be)
|
|
(be->name)+2, V_MAJOR);
|
|
#else
|
|
snprintf (libname, sizeof (libname), "%s/" PREFIX "%s" POSTFIX,
|
|
- dir, be->name, V_MAJOR);
|
|
+ dir, be->name);
|
|
#endif
|
|
DBG (4, "load: trying to load `%s'\n", libname);
|
|
fp = fopen (libname, "r");
|