1
0
forked from ports/contrib

gsimplecal: fixed build against glibc 2.32

This commit is contained in:
Tim Biermann 2020-10-17 14:53:29 +00:00
parent 45eae60b8e
commit 777a75cec0
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 22 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF33x72nwudOEXI7lxzW1EU9IDuZVofBfV/3goinuk7IHO0WQitShmw4rZ6qrfK+RZSCkD9CqyAB/n6gOivj0M4wU=
SHA256 (Pkgfile) = 7ff3fafab2d74c677646741e2d27ad53baa3f0351b6af4b04e57add10ffec698
RWSagIOpLGJF37WvieRY2VT1zDazi+0z1nHfSlfBWo62gua761XQ35EPUpFFmfY5Uvro+ZGlYYFFRzT9q6ADXG25oPih7SVfoQs=
SHA256 (Pkgfile) = c8a7be7bd0d7eb36686400713369dde1007099a962076dffdb55820cfdef2377
SHA256 (.footprint) = ada16d8ef5fb19a07600dee14782f5675e3f4f10f150435c6deecce8f168145d
SHA256 (gsimplecal-2.1.tar.gz) = 660cac7333d3507203a008e142e2b8f5dfcf0735b6ccabdd8d3d902b5d2c40e9

View File

@ -1,16 +1,17 @@
# Description: a lightweight calendar applet written in C++ using GTK
# URL: https://github.com/dmedvinsky/gsimplecal
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: gdk-pixbuf gtk3 harfbuzz libffi libpng xorg-libxcomposite xorg-libxcursor xorg-libxinerama
# Depends on: gtk3 xorg-libxcomposite xorg-libxcursor xorg-libxinerama
name=gsimplecal
version=2.1
release=1
release=2
source=(https://github.com/dmedvinsky/gsimplecal/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
./autogen.sh
sed -i -e 's!sys/sysctl.h!linux/sysctl.h!g' src/Unique.cpp
./configure --prefix=/usr
make
make DESTDIR=$PKG install

17
gsimplecal/Pkgfile.orig Normal file
View File

@ -0,0 +1,17 @@
# Description: a lightweight calendar applet written in C++ using GTK
# URL: https://github.com/dmedvinsky/gsimplecal
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: gdk-pixbuf gtk3 harfbuzz libffi libpng xorg-libxcomposite xorg-libxcursor xorg-libxinerama
name=gsimplecal
version=2.1
release=1
source=(https://github.com/dmedvinsky/gsimplecal/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
./autogen.sh
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}