Skip to content

Commit

Permalink
user/drawterm: update to 0_git20241003
Browse files Browse the repository at this point in the history
  • Loading branch information
z-erica committed Oct 6, 2024
1 parent fb017b0 commit 33b6eba
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 97 deletions.
21 changes: 21 additions & 0 deletions user/drawterm/patches/flags.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
make sure our CFLAGS/LDFLAGS are respected

diff -ruN a/Make.linux b/Make.linux
--- a/Make.linux 2024-10-04 03:22:35.000000000 +0200
+++ b/Make.linux 2024-10-06 14:03:04.320760656 +0200
@@ -4,12 +4,12 @@
AS=as
RANLIB=ranlib
CC=cc
-CFLAGS=-Wall -Wno-missing-braces -Wno-parentheses -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -D_THREAD_SAFE -DPTHREAD $(PTHREAD) `pkg-config --cflags libpipewire-0.3` -D_REENTRANT -O2
+override CFLAGS := -fno-strict-aliasing -Wall -Wno-missing-braces -Wno-parentheses -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -D_THREAD_SAFE -DPTHREAD $(PTHREAD) `pkg-config --cflags libpipewire-0.3` -D_REENTRANT $(CFLAGS)
O=o
OS=posix
GUI=wl
-LDADD=-lwayland-client -lxkbcommon -ggdb -lm -lrt -lpipewire-0.3
-LDFLAGS=$(PTHREAD)
+LDADD=-lwayland-client -lxkbcommon -lm -lrt -lpipewire-0.3
+override LDFLAGS := $(PTHREAD) $(LDFLAGS)
TARG=drawterm
# AUDIO=none
AUDIO=pipewire
94 changes: 0 additions & 94 deletions user/drawterm/patches/posix_generic.patch

This file was deleted.

6 changes: 3 additions & 3 deletions user/drawterm/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "drawterm"
_commit = "789b8fe40e156ad0252230b13dd4ada96f3eed8b"
pkgver = "0_git20240909"
_commit = "d7620e8d528a87a3d6cf7285a839d52d4f705771"
pkgver = "0_git20241003"
pkgrel = 0
build_style = "makefile"
make_env = {"CONF": "linux"}
Expand All @@ -22,7 +22,7 @@
f"!https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/raw/{_wlr_protocols_commit}/unstable/wlr-virtual-pointer-unstable-v1.xml>{_wlr_protocols_commit}.xml",
]
sha256 = [
"d5353af6d0557b345cb0df70141cdc9a443a747dc24d888f059750933ee2ad29",
"9c40457a26a5cd618092b454acf9225732a7e304b8c39e0dd0d58d4672ea0422",
"3ff6d540be0bc5228195bf072bde42117ea17945a5c2061add5d3cf97d6bb524",
]
# no tests
Expand Down

0 comments on commit 33b6eba

Please sign in to comment.