mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
New package: xwmfs-0.83
This commit is contained in:
parent
f9d312b0af
commit
0b61e9524a
2 changed files with 44 additions and 0 deletions
27
srcpkgs/xwmfs/patches/musl_strerr_types.patch
Normal file
27
srcpkgs/xwmfs/patches/musl_strerr_types.patch
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
--- src/common/Exception.cxx
|
||||||
|
+++ src/common/Exception.cxx
|
||||||
|
@@ -39,8 +39,13 @@ SystemException::SystemException(const std::string &err) :
|
||||||
|
|
||||||
|
char msg[256];
|
||||||
|
|
||||||
|
+#if defined(__GLIBC__)
|
||||||
|
char *m = ::strerror_r(m_errno, msg, 256);
|
||||||
|
ss << " (\"" << m << "\", errno = " << m_errno << ")";
|
||||||
|
+#else
|
||||||
|
+ ::strerror_r(m_errno, msg, 256);
|
||||||
|
+ ss << " (\"" << msg << "\", errno = " << m_errno << ")";
|
||||||
|
+#endif
|
||||||
|
m_error.append( ss.str() );
|
||||||
|
}
|
||||||
|
|
||||||
|
--- src/fuse/Entry.hxx
|
||||||
|
+++ src/fuse/Entry.hxx
|
||||||
|
@@ -1,6 +1,8 @@
|
||||||
|
#ifndef XWMFS_ENTRY_HXX
|
||||||
|
#define XWMFS_ENTRY_HXX
|
||||||
|
|
||||||
|
+#include <sys/types.h>
|
||||||
|
+
|
||||||
|
// C++
|
||||||
|
#include <atomic>
|
||||||
|
|
17
srcpkgs/xwmfs/template
Normal file
17
srcpkgs/xwmfs/template
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Template file for 'xwmfs'
|
||||||
|
pkgname=xwmfs
|
||||||
|
version=0.83
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
hostmakedepends="automake autoconf pkg-config"
|
||||||
|
makedepends="fuse-devel libX11-devel"
|
||||||
|
short_desc="X11 Window-Manager file system based on FUSE"
|
||||||
|
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
|
||||||
|
license="GPL-2.0-or-later"
|
||||||
|
homepage="https://github.com/gerstner-hub/xwmfs"
|
||||||
|
distfiles="https://github.com/gerstner-hub/xwmfs/archive/v${version}.tar.gz"
|
||||||
|
checksum=427207694a34c128b7efdf67552c38b3ca9dad1aa956d2fd6d987e7b8eba4fb5
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
./bootstrap
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue