Commit 20984a33 authored by ROOL's avatar ROOL 🤖

Build fix

Detail:
  Add missing function draw_create_diag() to the ROM version of RISC_OSLib, required by Paint-2_24 and later.
  To keep ROM footprint to a minimum, export only that function; this also avoids adding static workspace and needing to increase RlibSpace.

Version 6.01. Tagged as 'RISC_OSLib-6_01'
parent 6982f5cc
......@@ -349,6 +349,7 @@ ROM_OBJS =\
rm_o_rl.dboxquery \
rm_o_rl.dboxtcol \
rm_o_rl.dragasprit \
rm_o_rl.drawfobj \
rm_o_rl.drawmod \
rm_o_rl.event \
rm_o_rl.fileicon \
......
;
; This file is automatically maintained by srccommit, do not edit manually.
; Last processed by srccommit version: 1.1.
;
GBLS Module_MajorVersion
GBLA Module_Version
......@@ -10,14 +9,12 @@
GBLS Module_ApplicationDate
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "6.00"
Module_Version SETA 600
Module_MajorVersion SETS "6.01"
Module_Version SETA 601
Module_MinorVersion SETS ""
Module_Date SETS "17 Mar 2019"
Module_ApplicationDate SETS "17-Mar-19"
Module_Date SETS "09 Jun 2019"
Module_ApplicationDate SETS "09-Jun-19"
Module_ComponentName SETS "RISC_OSLib"
Module_ComponentPath SETS "apache/RiscOS/Sources/Lib/RISC_OSLib"
Module_FullVersion SETS "6.00"
Module_HelpVersion SETS "6.00 (17 Mar 2019)"
Module_FullVersion SETS "6.01"
Module_HelpVersion SETS "6.01 (09 Jun 2019)"
END
/* (6.00)
/* (6.01)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 6.00
#define Module_MajorVersion_CMHG 6.01
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 17 Mar 2019
#define Module_Date_CMHG 09 Jun 2019
#define Module_MajorVersion "6.00"
#define Module_Version 600
#define Module_MajorVersion "6.01"
#define Module_Version 601
#define Module_MinorVersion ""
#define Module_Date "17 Mar 2019"
#define Module_Date "09 Jun 2019"
#define Module_ApplicationDate "17-Mar-19"
#define Module_ApplicationDate "09-Jun-19"
#define Module_ComponentName "RISC_OSLib"
#define Module_ComponentPath "apache/RiscOS/Sources/Lib/RISC_OSLib"
#define Module_FullVersion "6.00"
#define Module_HelpVersion "6.00 (17 Mar 2019)"
#define Module_LibraryVersionInfo "6:0"
#define Module_FullVersion "6.01"
#define Module_HelpVersion "6.01 (09 Jun 2019)"
#define Module_LibraryVersionInfo "6:1"
......@@ -53,6 +53,7 @@
#include "DrawIntern/drawfile2.h"
#include "drawferror.h"
#ifndef UROM
/*----------------------------- Global data ---------------------------------*/
/* Current mode state */
......@@ -226,6 +227,7 @@ static void dr_translateText(draw_diag *diag, int * transTable)
}
}
}
#endif
/*------------------------------ Interface functions ---------------------------*/
......@@ -262,6 +264,7 @@ void draw_create_diag(draw_diag *diag, char *creator, draw_box bbox)
diag->length = sizeof(draw_fileheader);
}
#ifndef UROM
/*
Function : draw_doObjects
Purpose : render a range of objects
......@@ -595,3 +598,4 @@ BOOL drawfobj_init(void)
&& drawtextc_init()
&& drawfiles_init());
}
#endif
......@@ -34,6 +34,7 @@ rm_o_rl.dboxfile
rm_o_rl.dboxquery
rm_o_rl.dboxtcol
rm_o_rl.dragasprit
rm_o_rl.drawfobj
rm_o_rl.drawmod
rm_o_rl.event
rm_o_rl.fileicon
......
......@@ -583,5 +583,6 @@
Entry xfersend_pipe, imported, , , ,
Entry xferrecv_last_ref, imported, , , ,
Entry wimp_autoscroll, imported, , , ,
Entry draw_create_diag, imported, , , ,
; __va_illegal_arg 0
END
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment