SOURCES: chrpath-multilib.patch - non-versioned modules

qboosh qboosh at pld-linux.org
Mon Feb 27 20:13:04 CET 2006


Author: qboosh                       Date: Mon Feb 27 19:13:03 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- non-versioned modules

---- Files affected:
SOURCES:
   chrpath-multilib.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/chrpath-multilib.patch
diff -u SOURCES/chrpath-multilib.patch:1.1 SOURCES/chrpath-multilib.patch:1.2
--- SOURCES/chrpath-multilib.patch:1.1	Mon Feb 27 17:31:45 2006
+++ SOURCES/chrpath-multilib.patch	Mon Feb 27 20:12:58 2006
@@ -18,7 +18,7 @@
  AC_CHECK_FUNCS(getopt_long)
 --- a/Makefile.am	2004-09-19 10:29:28.000000000 +0200
 +++ b/Makefile.am	2006-02-27 16:57:31.166290750 +0100
-@@ -12,12 +12,17 @@
+@@ -12,12 +12,19 @@
  	fakeroot debian/rules binary
  
  chrpath_SOURCES = \
@@ -33,8 +33,10 @@
 +lib_LTLIBRARIES = libchrpath32.la libchrpath64.la
 +libchrpath32_la_SOURCES = chrpath.c killrpath.c elf.c protos.h
 +libchrpath32_la_CFLAGS = -DSIZEOF_VOID_P=4
++libchrpath32_la_LDFLAGS = -avoid-version
 +libchrpath64_la_SOURCES = chrpath.c killrpath.c elf.c protos.h
 +libchrpath64_la_CFLAGS = -DSIZEOF_VOID_P=8
++libchrpath64_la_LDFLAGS = -avoid-version
 +
  EXTRA_DIST = ChangeLog.usermap $(man_MANS)
  
@@ -107,11 +109,11 @@
        }
    } while (-1 != opt);
  
-+  dll[0] = dlopen("libchrpath32.so.0.0.0", RTLD_LAZY);
++  dll[0] = dlopen("libchrpath32.so", RTLD_LAZY);
 +  killrpath[0] = (killrpath_t)dlsym(dll[0], "killrpath");
 +  chrpath[0] = (chrpath_t)dlsym(dll[0], "chrpath");
 +
-+  dll[1] = dlopen("libchrpath64.so.0.0.0", RTLD_LAZY);
++  dll[1] = dlopen("libchrpath64.so", RTLD_LAZY);
 +  killrpath[1] = (killrpath_t)dlsym(dll[1], "killrpath");
 +  chrpath[1] = (chrpath_t)dlsym(dll[1], "chrpath");
 +
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/chrpath-multilib.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list