[Lsb-messages] /var/www/bzr/lsb/devel/build_env r1954: add more RTLD* flags (bug 3241)

Mats Wichmann mats at linuxfoundation.org
Tue May 15 13:30:38 UTC 2012


------------------------------------------------------------
revno: 1954
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Tue 2012-05-15 07:30:38 -0600
message:
  add more RTLD* flags (bug 3241)
modified:
  headers/All/5.0/dlfcn.h.defs
  headers/dlfcn.h
  package/Makefile
  stub_libs/Makefile
-------------- next part --------------
=== modified file 'headers/All/5.0/dlfcn.h.defs'
--- a/headers/All/5.0/dlfcn.h.defs	2010-12-08 14:03:49 +0000
+++ b/headers/All/5.0/dlfcn.h.defs	2012-05-15 13:30:38 +0000
@@ -4,7 +4,10 @@
 #define RTLD_LOCAL	0
 #define RTLD_LAZY	0x00001
 #define RTLD_NOW	0x00002
+#define RTLD_NOLOAD	0x00004
+#define RTLD_DEEPBIND	0x00008
 #define RTLD_GLOBAL	0x00100
+#define RTLD_NODELETE	0x01000
 
 typedef struct {
     char *dli_fname;

=== modified file 'headers/dlfcn.h'
--- a/headers/dlfcn.h	2010-12-08 14:03:49 +0000
+++ b/headers/dlfcn.h	2012-05-15 13:30:38 +0000
@@ -23,6 +23,12 @@
 #define RTLD_DEFAULT	((void *) 0)
 #endif				/* __LSB_VERSION__ >= 3.2 */
 
+#if __LSB_VERSION__ >= 50
+#define RTLD_NOLOAD	0x00004
+#define RTLD_DEEPBIND	0x00008
+#define RTLD_NODELETE	0x01000
+#endif				/* __LSB_VERSION__ >= 5.0 */
+
 
 
 #if __LSB_VERSION__ >= 12

=== modified file 'package/Makefile'
--- a/package/Makefile	2012-05-14 18:33:45 +0000
+++ b/package/Makefile	2012-05-15 13:30:38 +0000
@@ -46,7 +46,7 @@
 
 # We define this here instead of directly in the spec file as
 # we need to be able to work out what the produced rpm files will be called
-RPM_PACKAGE_RELEASE=3
+RPM_PACKAGE_RELEASE=4
 
 # Initialize LIB64 to proper value for 64-bit architectures
 export LIB64:=$(shell case `uname -m` in (ppc64 | s390x | x86_64) echo 64 ;; esac)

=== modified file 'stub_libs/Makefile'
--- a/stub_libs/Makefile	2012-05-11 18:53:56 +0000
+++ b/stub_libs/Makefile	2012-05-15 13:30:38 +0000
@@ -48,10 +48,6 @@
 
 versionfiles:
 	mysql $(DBOPTS) $$LSBDB -e "SELECT LVvalue FROM LSBVersion WHERE LVvalue >= '3.0' $(RELEASED_ONLY_QUERY)" | grep -v LVvalue > lsb_versions
-	# Desktop libs appeared in 3.1
-	# after a rearrange, though, we have "desktop" libs in 3.0 as well
-	# (libs from LSB_Graphics are moved to the "desktop" set)
-	#mysql $(DBOPTS) $$LSBDB -e "SELECT LVvalue FROM LSBVersion WHERE LVvalue >= '3.1' $(RELEASED_ONLY_QUERY)" | grep -v LVvalue > lsb_desktop_versions
 	mysql $(DBOPTS) $$LSBDB -e "SELECT LVvalue FROM LSBVersion WHERE LVreleased='No'" | grep -v LVvalue > lsb_devel_versions
 
 # only need to depend on one filelist, the rule above will gen them all



More information about the lsb-messages mailing list