[wiki] [sites] The patch now can be applied to st-0.8.2. Variable types changed from 'unsigned int' to 'static unsigned int' at line 8, 68, 71, 72. || Waifod

From: <git_AT_suckless.org>
Date: Sat, 20 Apr 2019 16:58:05 +0200

commit 9c42b9237da62d14ac883ac60fe18d85a9054d2b
Author: Waifod <signupWaifod_AT_protonmail.com>
Date: Sat Apr 20 16:54:27 2019 +0200

    The patch now can be applied to st-0.8.2.
    Variable types changed from 'unsigned int' to 'static unsigned int' at line 8, 68, 71, 72.

diff --git a/st.suckless.org/patches/dracula/index.md b/st.suckless.org/patches/dracula/index.md
index 64d2d5fb..d4137ec9 100644
--- a/st.suckless.org/patches/dracula/index.md
+++ b/st.suckless.org/patches/dracula/index.md
_AT_@ -21,7 +21,7 @@ Running zsh and tmux.
 
 Download
 --------
-* [st-dracula-20170803-7f99032.diff](st-dracula-20170803-7f99032.diff)
+* [st-dracula-0.8.2.diff](st-dracula-0.8.2.diff)
 
 Authors
 -------
diff --git a/st.suckless.org/patches/dracula/st-dracula-20170803-7f99032.diff b/st.suckless.org/patches/dracula/st-dracula-0.8.2.diff
similarity index 92%
rename from st.suckless.org/patches/dracula/st-dracula-20170803-7f99032.diff
rename to st.suckless.org/patches/dracula/st-dracula-0.8.2.diff
index 0af9f1a7..1f561a86 100644
--- a/st.suckless.org/patches/dracula/st-dracula-20170803-7f99032.diff
+++ b/st.suckless.org/patches/dracula/st-dracula-0.8.2.diff
_AT_@ -5,7 +5,7 @@ index 877afab..6a1699f 100644
 _AT_@ -84,44 +84,49 @@ static unsigned int tabspaces = 8;
  
  /* Terminal colors (16 first used in escape sequence) */
- const char *colorname[] = {
+ static const char *colorname[] = {
 - /* 8 normal colors */
 - "black",
 - "red3",
_AT_@ -65,11 +65,11 @@ index 877afab..6a1699f 100644
   */
 -unsigned int defaultfg = 7;
 -unsigned int defaultbg = 0;
--unsigned int defaultcs = 256;
+-static unsigned int defaultcs = 256;
 +unsigned int defaultfg = 257;
 +unsigned int defaultbg = 256;
-+unsigned int defaultcs = 257;
- unsigned int defaultrcs = 257;
++static unsigned int defaultcs = 257;
+ static unsigned int defaultrcs = 257;
  
  /*
 + * Colors used, when the specific fg == defaultfg. So in reverse mode this
Received on Sat Apr 20 2019 - 16:58:05 CEST

This archive was generated by hypermail 2.3.0 : Sat Apr 20 2019 - 17:00:29 CEST