svn commit: r546922 - head/devel/openocd/files

Niclas Zeising zeising at FreeBSD.org
Sat Aug 29 15:53:15 UTC 2020


Author: zeising
Date: Sat Aug 29 15:53:14 2020
New Revision: 546922
URL: https://svnweb.freebsd.org/changeset/ports/546922

Log:
  devel/openocd: Fix build with -fno-common
  
  Fix the build of devel/openocd with -fno-common.  The patch is based on the
  upstream fix.
  
  MFH:		2020Q3 (implicit, -fno-common fixes, ok by joenum)

Added:
  head/devel/openocd/files/
  head/devel/openocd/files/patch-src_jtag_drivers_bitbang.h   (contents, props changed)

Added: head/devel/openocd/files/patch-src_jtag_drivers_bitbang.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/openocd/files/patch-src_jtag_drivers_bitbang.h	Sat Aug 29 15:53:14 2020	(r546922)
@@ -0,0 +1,11 @@
+--- src/jtag/drivers/bitbang.h.orig	2020-08-29 10:55:23 UTC
++++ src/jtag/drivers/bitbang.h
+@@ -35,7 +35,7 @@ struct bitbang_interface {
+ 	void (*swdio_drive)(bool on);
+ };
+ 
+-const struct swd_driver bitbang_swd;
++extern const struct swd_driver bitbang_swd;
+ 
+ extern bool swd_mode;
+ 


More information about the svn-ports-head mailing list