ports/devel/asfml/files/patch-examples_example_main.adb
Alastair Hogge 0e5cb2d39a devel/asfml: New port: Ada bindings to the Simple and Fast Multimedia Library (SFML)
ASFML is an Ada semi-thick binding to SFML. The library uses Ada types,
and portable defined types, which eliminates the inclusion of Ada
interface libraries, however most of the functions are directly
imported.

Website: https://mgrojo.github.io/ASFML/

Differential Revision:	https://reviews.freebsd.org/D42151
2023-10-21 22:35:00 +02:00

11 lines
364 B
Ada

--- examples/example/main.adb.orig 2023-10-21 00:37:05 UTC
+++ examples/example/main.adb
@@ -41,7 +41,7 @@ begin
setTexture(Sprite, Texture, sfTrue);
-- Create a graphical text to display
- Font := createFromFile("arial.ttf");
+ Font := createFromFile("%%PREFIX_FONTDIR%%webfonts/arial.ttf");
Text := create;
setString(Text, "Hello SFML");