mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 06:58:22 +00:00
xscreensaver: compile with glx
This commit is contained in:
@@ -101,10 +101,22 @@ index fc34a3b..b1a95a9 100644
|
|||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|
||||||
diff --git mlibc-clean/options/posix/generic/unistd-stubs.cpp mlibc-workdir/options/posix/generic/unistd-stubs.cpp
|
diff --git mlibc-clean/options/posix/generic/unistd-stubs.cpp mlibc-workdir/options/posix/generic/unistd-stubs.cpp
|
||||||
index 16ab8b7..688908c 100644
|
index 16ab8b7..5ccc503 100644
|
||||||
--- mlibc-clean/options/posix/generic/unistd-stubs.cpp
|
--- mlibc-clean/options/posix/generic/unistd-stubs.cpp
|
||||||
+++ mlibc-workdir/options/posix/generic/unistd-stubs.cpp
|
+++ mlibc-workdir/options/posix/generic/unistd-stubs.cpp
|
||||||
@@ -1257,6 +1257,7 @@ void encrypt(char[64], int) {
|
@@ -484,8 +484,9 @@ int lockf(int fd, int op, off_t size) {
|
||||||
|
}
|
||||||
|
|
||||||
|
int nice(int) {
|
||||||
|
- __ensure(!"Not implemented");
|
||||||
|
- __builtin_unreachable();
|
||||||
|
+ return EPERM;
|
||||||
|
+ //__ensure(!"Not implemented");
|
||||||
|
+ //__builtin_unreachable();
|
||||||
|
}
|
||||||
|
|
||||||
|
long pathconf(const char *, int name) {
|
||||||
|
@@ -1257,6 +1258,7 @@ void encrypt(char[64], int) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -112,7 +124,7 @@ index 16ab8b7..688908c 100644
|
|||||||
#if __MLIBC_BSD_OPTION
|
#if __MLIBC_BSD_OPTION
|
||||||
void *sbrk(intptr_t increment) {
|
void *sbrk(intptr_t increment) {
|
||||||
if(increment) {
|
if(increment) {
|
||||||
@@ -1273,3 +1274,4 @@ void *sbrk(intptr_t increment) {
|
@@ -1273,3 +1275,4 @@ void *sbrk(intptr_t increment) {
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -3,10 +3,10 @@ revision=1
|
|||||||
from_source=xscreensaver
|
from_source=xscreensaver
|
||||||
imagedeps="meson ninja base-devel intltool"
|
imagedeps="meson ninja base-devel intltool"
|
||||||
hostdeps="xgcc xbinutils pkgconfig"
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
deps="mlibc libxcrypt libx11 libxt libjpeg-turbo libpng libxft libxext libxi"
|
deps="mlibc libxcrypt libx11 libxt libjpeg-turbo libpng libxft libxext libxi mesa glu"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --with-glx
|
||||||
make -j${parallelism}
|
make -j${parallelism}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user