aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-17 09:49:30 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-17 09:49:30 +0000
commit473ee080162838e7cf78455ce886dbeea5890829 (patch)
tree7ee895ff0bb58bc5f0454e88391ff7b432d5564b /main
parentd78b46d25e88eaef297d0d4ed215721ad9c8d116 (diff)
downloadaports-473ee080162838e7cf78455ce886dbeea5890829.tar.bz2
aports-473ee080162838e7cf78455ce886dbeea5890829.tar.xz
main/gnome-system-monitor: fix musl build
Diffstat (limited to 'main')
-rw-r--r--main/gnome-system-monitor/APKBUILD34
-rw-r--r--main/gnome-system-monitor/musl-ni-idn.patch13
2 files changed, 45 insertions, 2 deletions
diff --git a/main/gnome-system-monitor/APKBUILD b/main/gnome-system-monitor/APKBUILD
index dfbd2ae8a3..d646eb8bd9 100644
--- a/main/gnome-system-monitor/APKBUILD
+++ b/main/gnome-system-monitor/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gnome-system-monitor
pkgver=2.28.2
-pkgrel=5
+pkgrel=6
pkgdesc="GNOME system monitor"
url="http://www.gnome.org"
arch="all"
@@ -48,6 +48,7 @@ source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}
010-cpu-model-arm.patch
011-max-nice-linux.patch
link-gmodule.patch
+musl-ni-idn.patch
"
_builddir="${srcdir}/${pkgname}-${pkgver}"
@@ -93,4 +94,33 @@ a30694c6790c06336b81ac86b8c3f494 007-deprecated-gconf_init.patch
cd900e83ba75892979ad32c2c7779724 009-add-close-button.patch
674e96dd3967fda8a26acbcf719b8914 010-cpu-model-arm.patch
6ffce80f40adeb53862762a55b638c18 011-max-nice-linux.patch
-5f3f590af871a78202c8ce54b83d10c4 link-gmodule.patch"
+5f3f590af871a78202c8ce54b83d10c4 link-gmodule.patch
+6b447b1b12bc436f3577b218d4a75257 musl-ni-idn.patch"
+sha256sums="b628edfd39e3a6b374ce133f367d3568475eb4e981a367f4f9d62a9784e5ae59 gnome-system-monitor-2.28.2.tar.bz2
+7c3b93e88524d60e4fae0e744e3930122a04155908fa7cb111b4907b58fbba5c 001-duplicate-label.patch
+90b5cd1ab392834b031ae2bdca55c0b996cab9dfdc2c18c0a9b93662dd9e68e0 002-replace-gtknotebookpage.patch
+6a30445a7f03e811170c5546ef59f2b22ea3b785a4df4c3a48a8ca84aee40fe9 003-replace-old-drawing.patch
+58fbdc8c94ef8805939d07c4045cb98cb956cde9035e592bd991c4810e5b05be 004-replace-dialog-set.patch
+027378f3f75555c151c9a78a29e536476c66403405989057cb1ea8b9e3a48435 005-replace-gdk_drawable.patch
+f331aa3e71bb9005f856816b9001c29accfad8348f42a65c6c4461b57c6a8ddd 006-fix-includes.patch
+a36c0ddeb77a17983916c8f6eb1b595c7b68d91456d1e9174d16ba541431815d 007-deprecated-gconf_init.patch
+9a37f71f7254885c05aec023734978e824b60c17924524e7daa12e8ffaf67671 008-rsvg-fix.patch
+6fd98ef29d5300a8fa1c952891c78008b838c69d7914043672b06c319045d21c 009-add-close-button.patch
+e1a11e94c25acd6620b878792813a610b6e875f91eac9903894b017d9428ffe6 010-cpu-model-arm.patch
+bb90241bc8e68b2a0d0317d449686642cbef30462a6e0e3d466bab31c41cfd5d 011-max-nice-linux.patch
+a0e21a7ae0d9350cd6036a69d3c3aa27733c68a591ab22ecfdc18d68356a9eea link-gmodule.patch
+be09b9d5356dddce7660686b7aa4833a334e324f5168e7963ba70c4197a700c4 musl-ni-idn.patch"
+sha512sums="41d77fa9055ecfa1b379d7fd35c8f6401773f07a640f0b11e787cc985387d264cdb718aa0eed68e8b54f74abd301a98dbe8360160bda1e8e33459f83b3426e27 gnome-system-monitor-2.28.2.tar.bz2
+b09ad0f544483538e06fa0111f03901360fb55248046a9af0a6792808b8522369c0833d08bb7054a888827989813ffa664fc506e683523a2424fa8c7ab81dccc 001-duplicate-label.patch
+16244aef266cb143d80ee7ae4f4f5bc711008b788ea55e131801ad1b98deddad590f8e046e94aeab3abf991ed1449391262d2c08914237f98ecfdf4b3c4f2ece 002-replace-gtknotebookpage.patch
+b821c8443bfa369435e72851799493f3df3a960abca1ad20ad55a5453bf20dc2b77d3be8c0778e70eadb4f6229a2ea4d73bd0bbec20de3215d46da93c5060603 003-replace-old-drawing.patch
+82faea5a61227ec6cf8ad488bdcb10b28a24e94441c247673a3497dc104eb3c31f8e905974b5cd8c869f96f5c82d5205d4e147ac1d39d42def161d1ce10f3933 004-replace-dialog-set.patch
+53d542fb8cd1823a8c0d3786a1a1650d13591350d8f277c7195c107e6905b8780abc4a12b2b20b04917709fc735e1597a7fda9621db916e078d5ac2f3fedafbd 005-replace-gdk_drawable.patch
+618dfe6ecb84463eda98db979f933fd87e7862ef155b5c856d01bcf3dc5d468022f9bb3461dfef1ac930c44104b5b29bcf3137d7130d603561569687e7406019 006-fix-includes.patch
+ba5686a66a2c1ec9338afd2c78ad21bdda9e5a1582d8c8fa0f885bf51ed84ce462e9db41a836ff8170d24ad8496831058d7fa11a963414c46c79e1ec6f1b65ec 007-deprecated-gconf_init.patch
+397a77507f8cb5ae085e5180962d637687921a16195e356cc88606c8809a3be6768a1c11a8cc273990729cb9d717039bac7113eb846620b1342b18f0fb45082f 008-rsvg-fix.patch
+3a6a7530ec26494514cd6a97172ccb8bbaa04aa1fd357ecb020689be25ed63fa2f6ef482efc459d4cf3254537429cd9302718ea005576e9d7fb66fafc064a97d 009-add-close-button.patch
+489aeb049344a940fd0b48729162ea0817533c788be1dd2875527c44fcdb9f69dfcfa11efd9da706ce9210a3fefd295b4fa91832e1b48754443304fbf51fa457 010-cpu-model-arm.patch
+24cc61c5f3c7b6253e50d4e64d5d5de30fc19ba7dfe0009dbaffec56a3db41a64379308be0b16d043de5ec17adcfb4b4c847c8fa589174a32e46142ed5633adb 011-max-nice-linux.patch
+83d1dea183a49f5c5d2efd6fbc06ba88b39c219ec0cfe0014d95ef0086565995701c40151a4480441ef30f2db7e4ce339d5d29a13f0a6889233e7203916896b1 link-gmodule.patch
+120c20afe40c62ce2e6f257f17feb1794486664ba5baefe1f3568eeb7d77f40648b27aa524620600d36139a74a94a2422b4a89b08332a1286f9319e30df7d467 musl-ni-idn.patch"
diff --git a/main/gnome-system-monitor/musl-ni-idn.patch b/main/gnome-system-monitor/musl-ni-idn.patch
new file mode 100644
index 0000000000..07cd489359
--- /dev/null
+++ b/main/gnome-system-monitor/musl-ni-idn.patch
@@ -0,0 +1,13 @@
+--- gnome-system-monitor-2.28.2/src/openfiles.cpp.orig
++++ gnome-system-monitor-2.28.2/src/openfiles.cpp
+@@ -15,6 +15,10 @@
+ #include "util.h"
+ #include "gconf-keys.h"
+
++#ifndef NI_IDN
++#define NI_IDN 0
++#endif
++
+ enum
+ {
+ COL_FD,