svn commit: r430594 - head/sysutils/conky/files

Mark Linimon linimon at FreeBSD.org
Wed Jan 4 20:51:48 UTC 2017


Author: linimon
Date: Wed Jan  4 20:51:46 2017
New Revision: 430594
URL: https://svnweb.freebsd.org/changeset/ports/430594

Log:
  Attempt to fix build on tier-2 archs.
  
  Tested on:	armv6
  Submitted by:	madpilot (maintainer)

Added:
  head/sysutils/conky/files/patch-src_bsdapm.cc   (contents, props changed)

Added: head/sysutils/conky/files/patch-src_bsdapm.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/conky/files/patch-src_bsdapm.cc	Wed Jan  4 20:51:46 2017	(r430594)
@@ -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


More information about the svn-ports-head mailing list