diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-05 00:38:04 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-05 00:38:04 +0100 |
commit | bd18758a7695aa969e682665065086f5ecc3382c (patch) | |
tree | 5444bd2984a5dee03d8d27a58daa0f80ae4dfa49 /main | |
parent | ecbd872ce9afc47fab6a2ac5f01ded47cf1dc2be (diff) | |
download | aports-bd18758a7695aa969e682665065086f5ecc3382c.tar.bz2 aports-bd18758a7695aa969e682665065086f5ecc3382c.tar.xz |
main/remmina: fix build on eglibc
Diffstat (limited to 'main')
-rw-r--r-- | main/remmina/APKBUILD | 25 | ||||
-rw-r--r-- | main/remmina/uclibc-underlinking.patch (renamed from main/remmina/underlinking.patch) | 0 |
2 files changed, 18 insertions, 7 deletions
diff --git a/main/remmina/APKBUILD b/main/remmina/APKBUILD index df7f2921f..d73e74329 100644 --- a/main/remmina/APKBUILD +++ b/main/remmina/APKBUILD @@ -15,7 +15,7 @@ replaces="remmina-plugins" subpackages="$pkgname-dev $pkgname-lang" source="https://github.com/downloads/FreeRDP/Remmina/Remmina-$pkgver.tar.gz no-gnome-keyring.patch - underlinking.patch + uclibc-underlinking.patch remmina-1.0.0-add-clipboard-support.patch remmina-1.0.0-clipboard-bugfix.patch @@ -27,11 +27,22 @@ source="https://github.com/downloads/FreeRDP/Remmina/Remmina-$pkgver.tar.gz prepare() { cd "$srcdir"/FreeRDP-Remmina-* - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + for patch in $source; do + case $patch in + # we concider patches with uclibc in its name + # only usefull on uclibc install + *uclibc*.patch) + if [ "$ALPINE_LIBC" != "eglibc" ]; then + msg "Applying patch $patch" + patch -p1 -i "$srcdir"/$patch || return 1 + fi + ;; + *.patch) + msg "Applying patch $patch" + patch -p1 -i "$srcdir"/$patch || return 1 + ;; + esac + done } build() { @@ -58,7 +69,7 @@ package() { md5sums="701c540acaab961bc3adf130a2ddb8b1 Remmina-1.0.0.tar.gz 178d55f7aa59d6dc73b19e03201ad1e4 no-gnome-keyring.patch -594668bf54d4068cc57f8cfdae482adb underlinking.patch +594668bf54d4068cc57f8cfdae482adb uclibc-underlinking.patch 9312b5bf953a63e6203f0d0be6cb8134 remmina-1.0.0-add-clipboard-support.patch 65bfcc39ae51343b90928ea329cc4900 remmina-1.0.0-clipboard-bugfix.patch 42b971116f887657fc210da70c3afba5 remmina-1.0.0-some-more-clipboard-fixes.patch diff --git a/main/remmina/underlinking.patch b/main/remmina/uclibc-underlinking.patch index 63fa39a9c..63fa39a9c 100644 --- a/main/remmina/underlinking.patch +++ b/main/remmina/uclibc-underlinking.patch |