[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2210: fix nspr4 errors found by devchk (bug 2902)

Mats Wichmann mats at linuxfoundation.org
Thu Feb 20 15:26:23 UTC 2014


------------------------------------------------------------
revno: 2210
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Thu 2014-02-20 08:26:23 -0700
message:
  fix nspr4 errors found by devchk (bug 2902)
modified:
  headers/All/5.0/nspr4/prtime.h.defs
  headers/All/5.0/nspr4/prtypes.h.defs
  headers/All/5.1/nspr4/prtime.h.defs
  headers/All/5.1/nspr4/prtypes.h.defs
  headers/nspr4/prtime.h
  headers/nspr4/prtypes.h
  package/Makefile
-------------- next part --------------
=== modified file 'headers/All/5.0/nspr4/prtime.h.defs'
--- a/headers/All/5.0/nspr4/prtime.h.defs	2013-08-08 15:02:47 +0000
+++ b/headers/All/5.0/nspr4/prtime.h.defs	2014-02-20 15:26:23 +0000
@@ -16,7 +16,7 @@
     PRInt16 tm_year;
     PRInt8 tm_wday;
     PRInt16 tm_yday;
-    PRTimeParameters tm_yday;
+    PRTimeParameters tm_params;
 } PRExplodedTime;
 typedef PRTimeParameters(*PRTimeParamFn) (const PRExplodedTime * gmt);
 extern void PR_ExplodeTime(PRTime usecs, PRTimeParamFn params,

=== modified file 'headers/All/5.0/nspr4/prtypes.h.defs'
--- a/headers/All/5.0/nspr4/prtypes.h.defs	2013-08-06 18:16:52 +0000
+++ b/headers/All/5.0/nspr4/prtypes.h.defs	2014-02-20 15:26:23 +0000
@@ -19,3 +19,4 @@
     PR_FAILURE = -1,
     PR_SUCCESS = 0
 } PRStatus;
+typedef signed char PRInt8;

=== modified file 'headers/All/5.1/nspr4/prtime.h.defs'
--- a/headers/All/5.1/nspr4/prtime.h.defs	2014-02-20 15:21:52 +0000
+++ b/headers/All/5.1/nspr4/prtime.h.defs	2014-02-20 15:26:23 +0000
@@ -16,7 +16,7 @@
     PRInt16 tm_year;
     PRInt8 tm_wday;
     PRInt16 tm_yday;
-    PRTimeParameters tm_yday;
+    PRTimeParameters tm_params;
 } PRExplodedTime;
 typedef PRTimeParameters(*PRTimeParamFn) (const PRExplodedTime * gmt);
 extern void PR_ExplodeTime(PRTime usecs, PRTimeParamFn params,

=== modified file 'headers/All/5.1/nspr4/prtypes.h.defs'
--- a/headers/All/5.1/nspr4/prtypes.h.defs	2014-02-20 15:21:52 +0000
+++ b/headers/All/5.1/nspr4/prtypes.h.defs	2014-02-20 15:26:23 +0000
@@ -19,3 +19,4 @@
     PR_FAILURE = -1,
     PR_SUCCESS = 0
 } PRStatus;
+typedef signed char PRInt8;

=== modified file 'headers/nspr4/prtime.h'
--- a/headers/nspr4/prtime.h	2013-08-08 15:02:47 +0000
+++ b/headers/nspr4/prtime.h	2014-02-20 15:26:23 +0000
@@ -39,7 +39,7 @@
 	PRInt16 tm_year;
 	PRInt8 tm_wday;
 	PRInt16 tm_yday;
-	PRTimeParameters tm_yday;
+	PRTimeParameters tm_params;
     };
 
 #endif				/* __LSB_VERSION__ >= 5.0 */

=== modified file 'headers/nspr4/prtypes.h'
--- a/headers/nspr4/prtypes.h	2013-08-06 18:16:52 +0000
+++ b/headers/nspr4/prtypes.h	2014-02-20 15:26:23 +0000
@@ -45,6 +45,11 @@
 	PR_SUCCESS = 0
     } PRStatus;
 
+#if __LSB_VERSION__ >= 50
+    typedef signed char PRInt8;
+
+#endif				/* __LSB_VERSION__ >= 5.0 */
+
 #ifdef __cplusplus
 }
 #endif

=== modified file 'package/Makefile'
--- a/package/Makefile	2014-02-17 14:42:35 +0000
+++ b/package/Makefile	2014-02-20 15:26:23 +0000
@@ -46,11 +46,11 @@
 # Should have leading "."
 # a big number (80-99) is leading up to the next minor spec
 # build_env is version-independent so can wait till late to bump this
-SUB_VERSION=.67
+SUB_VERSION=.68
 
 # 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=6
+RPM_PACKAGE_RELEASE=1
 
 # Initialize LIB64 to proper value for 64-bit architectures
 export LIB64:=$(shell case `uname -m` in (ppc64 | s390x | x86_64) echo 64 ;; esac)



More information about the lsb-messages mailing list