You are not logged in.

#1 2017-08-11 16:08:33

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 823
Website

patch for dietlibc

Hi,


I think, I found the problem with the dietlibc build failing.

I posted it in the main ArchLinux project for now:

https://bugs.archlinux.org/task/55108?project=5&cat[0]=33&string=dietlibc

To me it was quite unclear how it should be added to
'https://github.com/archlinux32/packages'.

I would have made a directory 'community/dietlibc'.

I have a patch-file 'dietlib-i386-socketcall-also-with-pic.patch' and a prepare session for PKGBUILD:

source=("https://www.fefe.de/dietlibc/dietlibc-$pkgver.tar.bz2"{,.sig}
        "dietlib-i386-socketcall-also-with-pic.patch")

sha256sums=('68838893790ddd7a42bc1a06e5435054e1dc1914e4b53d2d6c92f603d3b315f5'
            'SKIP'
            '2fabb9922b8a9d2ceafb8127e2dd8271b01e18ce61d61804cc1be8edd0f0d5e9')

prepare() {
  cd "$srcdir"/$pkgname-$pkgver
  patch -p1 -i "${srcdir}"/dietlib-i386-socketcall-also-with-pic.patch
}

Last edited by andreas_baumann (2017-08-11 16:10:33)

Offline

#2 2017-08-17 16:50:11

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 823
Website

Re: patch for dietlibc

Ok. After reading the README in https://github.com/archlinux32/packages, I think I see how it's done:
additional patch file into the directory, a diff for the PKGBUILD.

I'll provide a pull request, after testing it.

Offline

#3 2017-08-18 21:16:52

tyzoid
Administrator
From: Ann Arbor, MI
Registered: 2017-06-17
Posts: 86

Re: patch for dietlibc

Sweet, thanks!

Offline

Board footer

Powered by FluxBB