Removed declaration of legacy ncursus variables.
authorAbou Al Montacir <abou.almontacir@sfr.fr>
Fri, 5 Jan 2024 07:40:08 +0000 (08:40 +0100)
committerAbou Al Montacir <abou.almontacir@sfr.fr>
Fri, 5 Jan 2024 07:40:08 +0000 (08:40 +0100)
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789091

These variables are now internal and no more exported by new ncursus libraries.

Gbp-Pq: Name remove-depreciated-ncursus-variables-declaration.patch

fpcsrc/packages/ncurses/src/form.pp

index a930b75adad346afbaddf1d34e2f3c9b442648d5..136a8d2f7fdc3a7ef4227dfd9c137ac7980a976b 100644 (file)
@@ -232,15 +232,6 @@ var
   TYPE_IPV4 : PFIELDTYPE external libform name 'TYPE_IPV4';
 {$endif darwin}
 
-(* Default objects  *)
-{$ifndef darwin}
-  _nc_Default_Form : PFORM;cvar;external;
-  _nc_Default_Field : PFIELD;cvar;external;
-{$else darwin}
-  _nc_Default_Form : PFORM external libform name '_nc_Default_Form';
-  _nc_Default_Field : PFIELD external libform name '_nc_Default_Field';
-{$endif darwin}
-
 (* FIELDTYPE routines *)
 function new_fieldtype(field_check: TFieldCheck; char_check:TCharCheck):PFIELDTYPE; cdecl;external libform;