Обновление README.md, исходников, пакетки
This commit is contained in:
39
assets/var/gnu/openjdk8.md
Normal file
39
assets/var/gnu/openjdk8.md
Normal file
@ -0,0 +1,39 @@
|
||||
openjdk8
|
||||
=
|
||||
https://github.com/openjdk/shenandoah-jdk8u.git
|
||||
|
||||
``` sh ** patch **
|
||||
sed -i 's/INVOKE(SplashLoadMemory, NULL)/INVOKE(SplashLoadMemory, 0)/' jdk/src/share/bin/splashscreen_stubs.c
|
||||
sed -i 's/INVOKE(SplashLoadFile, NULL)/INVOKE(SplashLoadFile, 0)/' jdk/src/share/bin/splashscreen_stubs.c
|
||||
sed -i 's/freeArray(scale, numBands)/freeArray((void**)scale, numBands)/g' jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c
|
||||
```
|
||||
|
||||
``` env *** env ***
|
||||
disable=true
|
||||
PATH=$PATH:/pkg/gnu/zulujdk8/bin
|
||||
```
|
||||
|
||||
``` sh *** build ***
|
||||
./configure \
|
||||
--prefix=/pkg/gnu/openjdk8 \
|
||||
--with-debug-level=release \
|
||||
--with-boot-jdk=/pkg/gnu/zulujdk8 \
|
||||
--with-extra-cflags="-std=gnu17 -Wno-error -Wno-implicit-fallthrough -Wno-sign-compare -Werror=maybe-uninitialized -Werror=unterminated-string-initialization" \
|
||||
--with-extra-cxxflags="-std=gnu++98 -Wno-error -Wno-implicit-fallthrough -Wno-sign-compare -Werror=maybe-uninitialized -Werror=unterminated-string-initialization"
|
||||
make images install
|
||||
```
|
||||
|
||||
``` cfg *** build deps ***
|
||||
zulujdk8
|
||||
xproto
|
||||
libx11
|
||||
libxrender
|
||||
libxtst
|
||||
libxt
|
||||
cups
|
||||
alsa-lib
|
||||
```
|
||||
|
||||
``` cfg *** run deps ***
|
||||
zip
|
||||
```
|
||||
Reference in New Issue
Block a user