Skip to content

Instantly share code, notes, and snippets.

@figue
Last active July 14, 2023 14:58
Show Gist options
  • Save figue/8ecdf31ce7e0437efe36ad13c4aca9e5 to your computer and use it in GitHub Desktop.
Save figue/8ecdf31ce7e0437efe36ad13c4aca9e5 to your computer and use it in GitHub Desktop.
AUR diff eternalterminal 6.2.4-2
diff --git a/.SRCINFO b/.SRCINFO
index bbf56d5..9c5d0a6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = eternalterminal
pkgver = 6.2.4
- pkgrel = 1
+ pkgrel = 2
url = https://mistertea.github.io/EternalTerminal/
arch = x86_64
license = Apache
@@ -28,4 +28,3 @@ pkgname = eternalterminal
pkgdesc = Re-Connectable Terminal connection. Includes both client and server.
conflicts = eternalterminal-client
conflicts = eternalterminal-server
-
diff --git a/PKGBUILD b/PKGBUILD
index 96c2adf..56281a3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ _tarname='et'
pkgbase='eternalterminal'
pkgname=('eternalterminal-client' 'eternalterminal-server' 'eternalterminal')
pkgver='6.2.4'
-pkgrel=1
+pkgrel=2
arch=('x86_64')
depends=(
'libutempter' 'libunwind' 'openssl' 'libsodium' 'protobuf' 'curl'
@@ -18,15 +18,15 @@ url='https://mistertea.github.io/EternalTerminal/'
license=('Apache')
source=(
- "https://github.com/MisterTea/${_ghname}/archive/${_tarname}-v${pkgver}.tar.gz"
-)
-sha256sums=(
- '95cfb79bc2f25d19eb84ca3c28dba860bb52b3750334d373adeb2cd061de6ba6'
+ "https://github.com/MisterTea/${_ghname}/archive/${_tarname}-v${pkgver}.tar.gz"
)
+sha256sums=('95cfb79bc2f25d19eb84ca3c28dba860bb52b3750334d373adeb2cd061de6ba6')
prepare() {
cd "${srcdir}/${_ghname}-${_tarname}-v${pkgver}"
+ sed -i '33 i #include <cstdint>' -i external_imported/sentry-native/external/breakpad/src/client/linux/handler/minidump_descriptor.h
+
msg2 'Preparing directories'
mkdir -p build
}
@@ -35,7 +35,7 @@ build() {
cd "${srcdir}/${_ghname}-${_tarname}-v${pkgver}/build"
msg2 'Running cmake'
- cmake ../ -DDISABLE_VCPKG=ON
+ cmake ../ -DDISABLE_VCPKG=ON -DCMAKE_EXE_LINKER_FLAGS="-Wl,--copy-dt-needed-entries" -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--copy-dt-needed-entries"
msg2 "Building ${_ghname}"
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment