[wiki] [sites] Update st-openbsd patch-page || FRIGN

From: <git_AT_suckless.org>
Date: Sun, 20 Sep 2015 20:55:12 +0200

commit 9f45bbb9663b57cbe047f5e852ad36999855fe16
Author: FRIGN <dev_AT_frign.de>
Date: Sun Sep 20 20:54:51 2015 +0200

    Update st-openbsd patch-page

diff --git a/st.suckless.org/patches/openbsd.md b/st.suckless.org/patches/openbsd.md
new file mode 100644
index 0000000..d6e3015
--- /dev/null
+++ b/st.suckless.org/patches/openbsd.md
_AT_@ -0,0 +1,37 @@
+openbsd
+=======
+
+Description
+-----------
+
+OpenBSD primariley searches for terminfo descriptions in
+terminfo databases before considering terminfo files.
+Given the terminfo currently stored in the global database
+is for st 0.1.1, this leads to conflicts and misbehaviour.
+
+This patch renames st to st-git to force OpenBSD to use
+the provided terminfo file.
+
+
+Notes
+-----
+
+Once a new stable version of st is out, the corresponding changes
+to st.info can be pushed upstream to ncurses and then be merged
+back to OpenBSD, effectively making this patch obsolete for
+future stable releases.
+More information on this issue can be found in this
+[thread](http://marc.info/?l=openbsd-misc&m=139540215025526&w=2)
+
+
+Download
+--------
+
+* [st-git-20150920-openbsd.diff](st-git-20150920-openbsd.diff)
+
+
+Authors
+-------
+
+ * Nils Reuße - nilsreusse_AT_gmail.com
+ * Laslo Hunhold - dev_AT_frign.de (st-git-20150920 port)
diff --git a/st.suckless.org/patches/st-git-20150920-openbsd.diff b/st.suckless.org/patches/st-git-20150920-openbsd.diff
new file mode 100644
index 0000000..9a28a97
--- /dev/null
+++ b/st.suckless.org/patches/st-git-20150920-openbsd.diff
_AT_@ -0,0 +1,27 @@
+diff --git a/Makefile b/Makefile
+index 6158ab2..9b81f88 100644
+--- a/Makefile
++++ b/Makefile
+_AT_@ -49,7 +49,8 @@ install: all
+ _AT_sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1
+ _AT_chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1
+ _AT_echo Please see the README file regarding the terminfo entry of st.
+- _AT_tic -s st.info
++ _AT_sed 's/st\([^t].*\)/st-git/g' st.info > st-git.info
++ _AT_tic -s st-git.info
+
+ uninstall:
+ _AT_echo removing executable file from ${DESTDIR}${PREFIX}/bin
+diff --git a/config.def.h b/config.def.h
+index b6adc5e..ffc2e74 100644
+--- a/config.def.h
++++ b/config.def.h
+_AT_@ -63,7 +63,7 @@ static unsigned int cursorthickness = 2;
+ static int bellvolume = 0;
+
+ /* TERM value */
+-static char termname[] = "st-256color";
++static char termname[] = "st-git-256color";
+
+ static unsigned int tabspaces = 8;
+
diff --git a/st.suckless.org/patches/st-on-openbsd.diff b/st.suckless.org/patches/st-on-openbsd.diff
deleted file mode 100644
index 05954a2..0000000
--- a/st.suckless.org/patches/st-on-openbsd.diff
+++ /dev/null
_AT_@ -1,25 +0,0 @@
-diff --git a/Makefile b/Makefile
---- a/Makefile
-+++ b/Makefile
-_AT_@ -49,7 +49,8 @@
- _AT_sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1
- _AT_chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1
- _AT_echo Please see the README file regarding the terminfo entry of st.
-- _AT_tic -s st.info
-+ _AT_sed 's/st\([^t].*\)/st-git/g' st.info > st-git.info
-+ _AT_tic -s st-git.info
-
- uninstall:
- _AT_echo removing executable file from ${DESTDIR}${PREFIX}/bin
-diff --git a/config.def.h b/config.def.h
---- a/config.def.h
-+++ b/config.def.h
-_AT_@ -44,7 +44,7 @@
- static int bellvolume = 0;
-
- /* TERM value */
--static char termname[] = "st-256color";
-+static char termname[] = "st-git-256color";
-
- static unsigned int tabspaces = 8;
-
diff --git a/st.suckless.org/patches/st_on_openbsd.md b/st.suckless.org/patches/st_on_openbsd.md
deleted file mode 100644
index 6dd3cfb..0000000
--- a/st.suckless.org/patches/st_on_openbsd.md
+++ /dev/null
_AT_@ -1,42 +0,0 @@
-st on OpenBSD
-=============
-
-Description
------------
-
-On OpenBSD, terminfo descriptions are searched for in terminfo
-databases, before terminfo files are considered. At present,
-the terminfo information stored in the systemwide terminfo db
-are from st version 0.1.1, conflicting with newer versions of
-st and thus causing misbehaviour. This patch renames the name
-of st to st-git, so that no terminfo description can be found
-in the OpenBSD database, and therefore the right information is
-loaded from the installed terminfo file.
-
-
-Notes
------
-
-I tested this diff with the latest code from git, but the principle
-applies to the released versions of st as well, i just have not tried
-them. Once a new stable version of st is out, the corresponding
-changes to st.info can be pushed upstream (to ncurses) and then be
-merged back to OpenBSD, making this patch obsolete for future stable
-versions of st. More information on the issue can be found in this
-[thread][1].
-
-
-
-Download
---------
-
-* [st-on-openbsd.diff][2]
-
-[1]: http://marc.info/?l=openbsd-misc&m=139540215025526&w=2
-[2]: st-on-openbsd.diff
-
-
-Author
-------
-
- * Nils Reuße - nilsreusse _AT_ gmail
Received on Sun Sep 20 2015 - 20:55:12 CEST

This archive was generated by hypermail 2.3.0 : Sun Sep 20 2015 - 21:00:17 CEST