[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2076: fix two ncursesw funcs without return types

Mats Wichmann mats at linuxfoundation.org
Fri Feb 22 15:19:43 UTC 2013


------------------------------------------------------------
revno: 2076
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Fri 2013-02-22 08:19:43 -0700
message:
  fix two ncursesw funcs without return types
modified:
  headers/All/5.0/ncursesw/curses.h.defs
  headers/ncursesw/curses.h
  package/Makefile
-------------- next part --------------
=== modified file 'headers/All/5.0/ncursesw/curses.h.defs'
--- a/headers/All/5.0/ncursesw/curses.h.defs	2013-02-04 19:04:09 +0000
+++ b/headers/All/5.0/ncursesw/curses.h.defs	2013-02-22 15:19:43 +0000
@@ -878,7 +878,7 @@
 extern int napms(int);
 extern WINDOW *newpad(int, int);
 extern WINDOW *newscr;
-extern newterm(char *, FILE *, FILE *);
+extern SCREEN *newterm(char *, FILE *, FILE *);
 extern WINDOW *newwin(int, int, int, int);
 extern int nl(void);
 extern int nocbreak(void);
@@ -915,7 +915,7 @@
 extern int scrl(int);
 extern int scroll(WINDOW *);
 extern int scrollok(WINDOW *, unsigned char);
-extern set_term(SCREEN *);
+extern SCREEN *set_term(SCREEN *);
 extern int setcchar(cchar_t *, wchar_t *, attr_t, short, void *);
 extern int setscrreg(int, int);
 extern attr_t slk_attr(void);

=== modified file 'headers/ncursesw/curses.h'
--- a/headers/ncursesw/curses.h	2013-02-04 19:04:09 +0000
+++ b/headers/ncursesw/curses.h	2013-02-22 15:19:43 +0000
@@ -3,6 +3,7 @@
 #define _NCURSESW_CURSES_H_
 
 #include <stdio.h>
+#include <curses.h>
 #include <stddef.h>
 #include <stdarg.h>
 #include <ncursesw/ncurses_dll.h>
@@ -1069,7 +1070,7 @@
     extern int napms(int);
     extern WINDOW *newpad(int, int);
     extern WINDOW *newscr;
-    extern newterm(char *, FILE *, FILE *);
+    extern SCREEN *newterm(char *, FILE *, FILE *);
     extern WINDOW *newwin(int, int, int, int);
     extern int nl(void);
     extern int nocbreak(void);
@@ -1110,7 +1111,7 @@
 #undef scroll
     extern int scroll(WINDOW *);
     extern int scrollok(WINDOW *, unsigned char);
-    extern set_term(SCREEN *);
+    extern SCREEN *set_term(SCREEN *);
     extern int setcchar(cchar_t *, wchar_t *, attr_t, short, void *);
 #undef setscrreg
     extern int setscrreg(int, int);

=== modified file 'package/Makefile'
--- a/package/Makefile	2013-02-21 19:38:50 +0000
+++ b/package/Makefile	2013-02-22 15:19:43 +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=2
+RPM_PACKAGE_RELEASE=3
 
 # 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