From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Alex Myczko <tar@debian.org>
Date: Nov, 10 2026 03:37:53 +0100
Subject: [PATCH] <short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

Bug-Debian: https://bugs.debian.org/1153456
---
The information above should follow the Patch Tagging Guidelines,
see https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-<Vendor>: <vendor-bugtracker-url>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>

--- qblike-0+git20261110+ds.orig/build_linux.sh
+++ qblike-0+git20261110+ds/build_linux.sh
@@ -4,7 +4,7 @@
 # Fedora:                       sudo dnf install gcc SDL2-devel glew-devel
 CORE="src/lexer.c src/compiler.c src/interp.c src/util.c src/using.c src/screen.c src/sound.c src/files.c src/source.c src/image.c src/exepack.c src/doslike/dos.c"
 # qblike: editor + interpreter.  qbrun: run-time module for File > Make EXE (no editor)
-FLAGS="-O2 -DDISABLE_SCREEN_FRAME -DDISABLE_SYSTEM_CURSOR"
-LIBS="`sdl2-config --libs --cflags` -lGLEW -lGL -lm -lpthread"
-gcc $FLAGS -o qblike $CORE src/ide.c src/help.c src/clip.c src/beautify.c src/main.c $LIBS && echo "OK: ./qblike" &&
-gcc $FLAGS -o qbrun $CORE src/runtime.c $LIBS && echo "OK: ./qbrun"
+FLAGS="$CFLAGS -g -O2 -DDISABLE_SCREEN_FRAME -DDISABLE_SYSTEM_CURSOR"
+LIBS="$LDFLAGS `sdl2-config --libs --cflags` -lGLEW -lGL -lm -lpthread"
+$CC $FLAGS -o qblike $CORE src/ide.c src/help.c src/clip.c src/beautify.c src/main.c $LIBS && echo "OK: ./qblike" &&
+$CC $FLAGS -o qbrun $CORE src/runtime.c $LIBS && echo "OK: ./qbrun"
