~toasterking

Recent activity

[PATCH] Explicitly link in libc for project 2 months ago

From Stephen Gregoratto to ~emersion/mrsh-dev

---
 meson.build | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meson.build b/meson.build
index eaa9a8e..080c34d 100644
--- a/meson.build
+++ b/meson.build
@@ -17,6 +17,10 @@ add_project_arguments([
 	'-Wno-unused-parameter',
 ], language: 'c')
 
+add_project_link_arguments([
+        '-lc',
[message trimmed]

Re: Build failure on OpenBSD due to differing types for glob(3) 2 months ago

From Stephen Gregoratto to ~emersion/mrsh-dev

It seems that Todd Miller made the glob changes[1]. Huzzah! I just 
compiled on -current and it worked with readline linked in.

On 2019-01-30 10:20, Simon Ser wrote:
> On Wednesday, January 30, 2019 10:55 AM, Stephen Gregoratto <dev@sgregoratto.me> wrote:
> > Also, I've been trying to work around linking errors. OpenBSD is 
> > picky
> > about using the right linker flags, so you need to add '-lc' globally.
> 
> I see. I wonder if that's something that should be added to Meson.

I can't see why not. I think other compilers link in libc by default, so 
it won't harm anything. I'll send a patch through.

Build failure on OpenBSD due to differing types for glob(3) 2 months ago

From Stephen Gregoratto to ~emersion/mrsh-dev

I tried building mrsh on OpenBSD, but it fails due to a type mismatch 
for the glob(3) interface: POSIX/Linux/FreeBSD uses size_t but OpenBSD 
uses int. Quoting from the manual[1]:

  The include file <glob.h> defines the structure type glob_t,
  which contains at least the following fields:

  typedef struct {
    int gl_pathc;    /* count of total paths so far */
    int gl_matchc;   /* count of paths matching pattern */
    int gl_offs;     /* reserved at beginning of gl_pathv */
    int gl_flags;    /* returned flags */
    char **gl_pathv; /* list of paths matching pattern */
  } glob_t;

scdoc missing from AUR 2 months ago

From Stephen Gregoratto to ~sircmpwn/public-inbox

I noticed you tagged a new release for scdoc, but when I tried to update 
it from the AUR[1], it wasn't there. I can't see any deletion requests, 
so this might just be a bug.

[1] https://aur.archlinux.org/packages/scdoc/
-- 
Stephen Gregoratto
PGP Fingerprint: 3FC6 3D0E 2801 C348 1C44 2D34 A80C 0F8E 8BAB EC8B
Need my key? Get it with:
	gpg --keyserver pgp.mit.edu --recv-keys 8BABEC8B
or off my server at https://www.sgregoratto.me/pubkey.txt

[PATCH sway-git package] Add swaylock/swayidle back as optdepends 3 months ago

From Stephen Gregoratto to ~sircmpwn/public-inbox

---
 .SRCINFO | 4 +++-
 PKGBUILD | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index c5a95d8..65a19c1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = sway-git
 	pkgdesc = i3-compatible Wayland compositor
-	pkgver = r4818.183a4b0d
+	pkgver = r5522.70637b40
[message trimmed]

502 errors when cloning repos from man.sr.ht 3 months ago

From Stephen Gregoratto to ~sircmpwn/sr.ht-discuss

For some reason, cloning repos using https is broken on my end, git
spits out 502 errors every time:

Cloning into 'root'...
fatal: unable to access 'https://man.sr.ht/root/':
	The requested URL returned error: 502

SSH cloning works fine. This seemed to work fine yesterday. I cant seem
to find a bug in todo so I'd like to confirm it here first. The error
shows on all my Australian located servers.
-- 
Stephen Gregoratto
PGP Fingerprint: 3FC6 3D0E 2801 C348 1C44 2D34 A80C 0F8E 8BAB EC8B
Need my key? Get it with:

How tdo you generate your signature for applied patches? 3 months ago

From Stephen Gregoratto to ~sircmpwn/public-inbox

You know, the ones that go like:

    To man.sr.ht:root
       d70774e..10cd5d3  master -> master

Is there a script you made for this or do you just copy the result from 
the console?
-- 
Stephen Gregoratto
PGP Fingerprint: 3FC6 3D0E 2801 C348 1C44 2D34 A80C 0F8E 8BAB EC8B
Need my key? Get it with:
	gpg --keyserver pgp.mit.edu --recv-keys 8BABEC8B
or off my server at https://www.sgregoratto.me/pubkey.txt

[PATCH man.sr.ht 2/2] Update sway example manifest 3 months ago

From Stephen Gregoratto to ~sircmpwn/sr.ht-dev

---
 builds.sr.ht/manifest.md | 49 ++++++++++++++++++++--------------------
 1 file changed, 25 insertions(+), 24 deletions(-)

diff --git a/builds.sr.ht/manifest.md b/builds.sr.ht/manifest.md
index c4e37c9..7dd6844 100644
--- a/builds.sr.ht/manifest.md
+++ b/builds.sr.ht/manifest.md
@@ -1,30 +1,31 @@
 A build manifest is a YAML file that describes how to perform a build. Here's an
 example:
 
-    image: archlinux
-    packages:
[message trimmed]

[PATCH man.sr.ht 1/2] Use fenced code blocks where applicable. 3 months ago

From Stephen Gregoratto to ~sircmpwn/sr.ht-dev

---
 builds.sr.ht/api.md                      | 86 +++++++++++++-----------
 builds.sr.ht/index.md                    | 72 +++++++++++---------
 builds.sr.ht/manifest.md                 | 12 ++--
 builds.sr.ht/triggers.md                 | 22 +++---
 git.sr.ht/installation.md                | 54 ++++++++-------
 tutorials/getting-started-with-builds.md |  8 +--
 6 files changed, 137 insertions(+), 117 deletions(-)

diff --git a/builds.sr.ht/api.md b/builds.sr.ht/api.md
index 086504e..14385b7 100644
--- a/builds.sr.ht/api.md
+++ b/builds.sr.ht/api.md
@@ -14,35 +14,37 @@ specified scope.
[message trimmed]

Re: [PATCH] Update sway manifest, use fenced blocks where applicable 3 months ago

From Stephen Gregoratto to ~sircmpwn/sr.ht-dev

This is for man.sr.ht, since I forgot to put it in the prefix. Oops.
-- 
Stephen Gregoratto
PGP Fingerprint: 3FC6 3D0E 2801 C348 1C44 2D34 A80C 0F8E 8BAB EC8B
Need my key? Get it with:
	gpg --keyserver pgp.mit.edu --recv-keys 8BABEC8B
or off my server at https://www.sgregoratto.me/pubkey.txt