aboutsummaryrefslogtreecommitdiff
path: root/sysutils/conky
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2017-01-04 20:51:46 +0000
committerMark Linimon <linimon@FreeBSD.org>2017-01-04 20:51:46 +0000
commitbda391284d72d8a0af7be358a31a3ddddd9b2c5a (patch)
treebab7165ceeb8e8193f7608d712c7d989bc1e47e4 /sysutils/conky
parente16173effb2cb0f0fb5c11f117c27caf488fd027 (diff)
downloadports-bda391284d72d8a0af7be358a31a3ddddd9b2c5a.tar.gz
ports-bda391284d72d8a0af7be358a31a3ddddd9b2c5a.zip
Attempt to fix build on tier-2 archs.
Tested on: armv6 Submitted by: madpilot (maintainer)
Notes
Notes: svn path=/head/; revision=430594
Diffstat (limited to 'sysutils/conky')
-rw-r--r--sysutils/conky/files/patch-src_bsdapm.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/conky/files/patch-src_bsdapm.cc b/sysutils/conky/files/patch-src_bsdapm.cc
new file mode 100644
index 000000000000..3a89bbce3621
--- /dev/null
+++ b/sysutils/conky/files/patch-src_bsdapm.cc
@@ -0,0 +1,18 @@
+--- src/bsdapm.cc.orig 2016-10-04 07:49:19 UTC
++++ src/bsdapm.cc
+@@ -27,6 +27,10 @@
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
++
++#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__) \
++ || defined(__DragonFly__) \
++ || defined(__OpenBSD__)) && (defined(i386) || defined(__i386__))
+ #include "config.h"
+ #include "conky.h"
+ #include "text_object.h"
+@@ -208,3 +212,4 @@ void print_apm_battery_time(struct text_
+ }
+ #endif
+ }
++#endif