mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/java-openjdk to 17.0.3.u3-1
This commit is contained in:
parent
4209fcd3bc
commit
b8c0fcce57
1 changed files with 15 additions and 5 deletions
|
@ -1,5 +1,6 @@
|
||||||
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||||
# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
|
# Maintainer: Frederik Schwan <freswa at archlinux dot org>
|
||||||
|
# Contributor: Guillaume ALAUX <guillaume@archlinux.org>
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - drop pandoc makedepend
|
# - drop pandoc makedepend
|
||||||
|
@ -23,11 +24,11 @@ pkgbase=java-openjdk
|
||||||
pkgname=('jre-openjdk-headless' 'jre-openjdk' 'jdk-openjdk' 'openjdk-src')
|
pkgname=('jre-openjdk-headless' 'jre-openjdk' 'jdk-openjdk' 'openjdk-src')
|
||||||
_majorver=17
|
_majorver=17
|
||||||
_minorver=0
|
_minorver=0
|
||||||
_securityver=1
|
_securityver=3
|
||||||
_updatever=12
|
_updatever=3
|
||||||
pkgrel=1
|
|
||||||
pkgver=${_majorver}.${_minorver}.${_securityver}.u${_updatever}
|
pkgver=${_majorver}.${_minorver}.${_securityver}.u${_updatever}
|
||||||
#pkgver=${_majorver}.u${_updatever}
|
#pkgver=${_majorver}.u${_updatever}
|
||||||
|
pkgrel=1
|
||||||
_git_tag=jdk-${_majorver}.${_minorver}.${_securityver}+${_updatever}
|
_git_tag=jdk-${_majorver}.${_minorver}.${_securityver}+${_updatever}
|
||||||
#_git_tag=jdk-${_majorver}+${_updatever}
|
#_git_tag=jdk-${_majorver}+${_updatever}
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -37,11 +38,12 @@ makedepends=('java-environment>=11' 'cpio' 'unzip' 'zip' 'libelf' 'libcups' 'lib
|
||||||
'libxrender' 'libxtst' 'libxt' 'libxext' 'libxrandr' 'alsa-lib'
|
'libxrender' 'libxtst' 'libxt' 'libxext' 'libxrandr' 'alsa-lib'
|
||||||
'graphviz' 'freetype2' 'libjpeg-turbo' 'giflib' 'libpng' 'lcms2'
|
'graphviz' 'freetype2' 'libjpeg-turbo' 'giflib' 'libpng' 'lcms2'
|
||||||
'libnet' 'bash' 'harfbuzz' 'gcc-libs' 'glibc')
|
'libnet' 'bash' 'harfbuzz' 'gcc-libs' 'glibc')
|
||||||
|
options=(!lto)
|
||||||
source=(https://github.com/openjdk/jdk${_majorver}u/archive/${_git_tag}.tar.gz
|
source=(https://github.com/openjdk/jdk${_majorver}u/archive/${_git_tag}.tar.gz
|
||||||
freedesktop-java.desktop
|
freedesktop-java.desktop
|
||||||
freedesktop-jconsole.desktop
|
freedesktop-jconsole.desktop
|
||||||
freedesktop-jshell.desktop)
|
freedesktop-jshell.desktop)
|
||||||
sha256sums=('8c076203a6f85ab916b3e54de1992bcbcc5ffe580c52b1ac8d52ca7afb9f02d1'
|
sha256sums=('f985bc954c50b9c09d1f8fab698b6591cc46ce3ef6a18570aa192567ff661ca0'
|
||||||
'85c4742764590783160af74587a47269e6797fbdf17ec485c7644bd239adf61d'
|
'85c4742764590783160af74587a47269e6797fbdf17ec485c7644bd239adf61d'
|
||||||
'abac1ab09a33a3654378bc69be5a7cf075263ab3ae9efec1eb25cf388e711bb7'
|
'abac1ab09a33a3654378bc69be5a7cf075263ab3ae9efec1eb25cf388e711bb7'
|
||||||
'e7cce0ecf868f656d8dc2eb25ab82ab665526a0a28aba20f02632dd29962dac3')
|
'e7cce0ecf868f656d8dc2eb25ab82ab665526a0a28aba20f02632dd29962dac3')
|
||||||
|
@ -90,6 +92,14 @@ build() {
|
||||||
_CXXFLAGS=${CXXFLAGS/-fno-plt/}
|
_CXXFLAGS=${CXXFLAGS/-fno-plt/}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# TODO: Should be rechecked for the next releases
|
||||||
|
# compiling with -fexceptions leads to:
|
||||||
|
# /usr/bin/ld: /build/java-openjdk/src/jdk17u-jdk-17.0.3-2/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zPhysicalMemory.o: in function `ZList<ZMemory>::~ZList()':
|
||||||
|
# /build/java-openjdk/src/jdk17u-jdk-17.0.3-2/src/hotspot/share/gc/z/zList.hpp:54: undefined reference to `ZListNode<ZMemory>::~ZListNode()'
|
||||||
|
# collect2: error: ld returned 1 exit status
|
||||||
|
_CFLAGS=${CFLAGS/-fexceptions/}
|
||||||
|
_CXXFLAGS=${CXXFLAGS/-fexceptions/}
|
||||||
|
|
||||||
# CFLAGS, CXXFLAGS and LDFLAGS are ignored as shown by a warning
|
# CFLAGS, CXXFLAGS and LDFLAGS are ignored as shown by a warning
|
||||||
# in the output of ./configure unless used like such:
|
# in the output of ./configure unless used like such:
|
||||||
# --with-extra-cflags="${CFLAGS}"
|
# --with-extra-cflags="${CFLAGS}"
|
||||||
|
|
Loading…
Reference in a new issue