facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
52 lines
1.7 KiB
Diff
52 lines
1.7 KiB
Diff
*** error.in.h.bak 2023-02-04 18:32:38.885731972 +0100
|
|
--- error.in.h 2023-02-04 18:34:04.056640179 +0100
|
|
***************
|
|
*** 30,35 ****
|
|
--- 30,44 ----
|
|
# define _GL_ATTRIBUTE_SPEC_PRINTF_ERROR _GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM
|
|
#endif
|
|
|
|
+ #if GNULIB_REPLACE_ERROR
|
|
+ # undef error_print_progname
|
|
+ # undef error_message_count
|
|
+ # undef error_one_per_line
|
|
+ # define error_print_progname rpl_error_print_progname
|
|
+ # define error_message_count rpl_error_message_count
|
|
+ # define error_one_per_line rpl_error_one_per_line
|
|
+ #endif
|
|
+
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
***************
|
|
*** 90,103 ****
|
|
/* If NULL, error will flush stdout, then print on stderr the program
|
|
name, a colon and a space. Otherwise, error will call this
|
|
function without parameters instead. */
|
|
! extern void (*error_print_progname) (void);
|
|
|
|
/* This variable is incremented each time 'error' is called. */
|
|
! extern unsigned int error_message_count;
|
|
|
|
/* Sometimes we want to have at most one error per line. This
|
|
variable controls whether this mode is selected or not. */
|
|
! extern int error_one_per_line;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
--- 99,112 ----
|
|
/* If NULL, error will flush stdout, then print on stderr the program
|
|
name, a colon and a space. Otherwise, error will call this
|
|
function without parameters instead. */
|
|
! extern DLL_VARIABLE void (*error_print_progname) (void);
|
|
|
|
/* This variable is incremented each time 'error' is called. */
|
|
! extern DLL_VARIABLE unsigned int error_message_count;
|
|
|
|
/* Sometimes we want to have at most one error per line. This
|
|
variable controls whether this mode is selected or not. */
|
|
! extern DLL_VARIABLE int error_one_per_line;
|
|
|
|
#ifdef __cplusplus
|
|
}
|