diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-10 21:08:29 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-12 00:29:43 +0700 |
commit | a4483b4930d69a7af282b4b581072e60ddb4640c (patch) | |
tree | 855fa8a2da11e4703dbb98bd4a58fd9a2b848752 | |
parent | 5f4d043bcfb09779b6c9a0b2794f5b13f46dcb74 (diff) | |
download | slackbuilds-a4483b4930d69a7af282b4b581072e60ddb4640c.tar.gz |
desktop/wmfire: Drop broken inlining (tnx gentoo!).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | desktop/wmfire/wmfire-1.2.4-inline_c99.patch | 21 | ||||
-rw-r--r-- | desktop/wmfire/wmfire.SlackBuild | 2 |
2 files changed, 23 insertions, 0 deletions
diff --git a/desktop/wmfire/wmfire-1.2.4-inline_c99.patch b/desktop/wmfire/wmfire-1.2.4-inline_c99.patch new file mode 100644 index 0000000000..34846bf86b --- /dev/null +++ b/desktop/wmfire/wmfire-1.2.4-inline_c99.patch @@ -0,0 +1,21 @@ +diff -Naur wmfire-1.2.4.orig/src/wmfire.c wmfire-1.2.4/src/wmfire.c +--- wmfire-1.2.4.orig/src/wmfire.c 2005-12-04 11:39:16.000000000 +0100 ++++ wmfire-1.2.4/src/wmfire.c 2019-07-30 22:43:03.306268675 +0200 +@@ -108,7 +108,7 @@ + void change_flame(int); + GdkCursor *setup_cursor(); + void burn_spot(int, int, int); +-inline void draw_fire(unsigned int); ++void draw_fire(unsigned int); + static void make_wmfire_dockapp(); + void read_config(int, char **); + void do_help(void); +@@ -470,7 +470,7 @@ + /* Draw fire */ + /******************************************/ + +-inline void ++void + draw_fire(unsigned int load) + { + int x, y, i, j; diff --git a/desktop/wmfire/wmfire.SlackBuild b/desktop/wmfire/wmfire.SlackBuild index 223943ec7e..c1e7b963ed 100644 --- a/desktop/wmfire/wmfire.SlackBuild +++ b/desktop/wmfire/wmfire.SlackBuild @@ -64,6 +64,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 < $CWD/wmfire-1.2.4-inline_c99.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |