Debian Patches

Status for openocd/0.12.0-4

Patch Description Author Forwarded Bugs Origin Last update
no-duplicate-udev.patch Don't install the udev file into /usr/share

We install the udev rules into /etc/udev/ so there's no need for a
duplicate copy in /usr/share/
Jonathan McDowell <noodles@earth.li> no 2017-09-25
remove-jimtcl-configure.patch diff --git a/jimtcl/configure.ac b/jimtcl/configure.ac
deleted file mode 100644
index 8c451142f..000000000
no
no-libgpiod-v2.patch configure: prevent build of linuxgpiod with libgpiod v2
The API in libgpiod v2 have changed, and current driver code for
linuxgpiod does not build anymore.

Prevent building the current driver linuxgpiod with the new
library.
Antonio Borneo <borneo.antonio@gmail.com> no debian upstream, https://github.com/openocd-org/openocd/commit/74e7fcb2dd96c09f946bc8b0f59bfdf6215d8873 2024-03-24
jimtcl-expr-0.81-onwards.patch commit 95603fae18f81eebdafc5b318e70f9e2cdefab9e

openocd: revert workarounds for 'expr' syntax change

With OpenOCD v0.12.0 released, drop the workarounds for 'expr'
syntax change by reverting:
- commit 320043c054dc ("openocd: fix for polling during "expr"
computation");
- commit c7eaaf620488 ("openocd: prepare for jimtcl 0.81 'expr'
syntax change").

Replace the call to target_call_timer_callbacks_now() with call
to target_call_timer_callbacks().

Change-Id: Iae5afc50e3f688e11176a52648efc9a6577a9a11
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7405
Tested-by: jenkins

diff --git a/src/helper/command.c b/src/helper/command.c
index 6898e2d7c..ca66cf7dd 100644
Antonio Borneo <borneo.antonio@gmail.com> no 2022-12-18
jimtcl-0.83-include-fix.patch openocd: fix build with jimtcl 0.83
In jimtcl 0.82, the include file jim.h included in turn stdio.h
This made redundant to include the former in openocd source files.
Since jimtcl 0.83, jim.h drops the include of stdio.h, causing
openocd build to fail.

Include stdio.h in the files that need it.
Antonio Borneo <borneo.antonio@gmail.com> no 2024-09-27
jimtcl-0.84-build-issue.patch jimtcl: fix build with jimtcl master branch
Current jimtcl release 0.83 has been tagged on 2024-08-28 and the
new 0.84 is on the way.

The change [1] merged in jimtcl branch 'master' for 0.84 breaks
the build of OpenOCD.
OpenOCD releases are not frequent and jimtcl is now by default an
external build dependency. The release of jimtcl 0.84 could force
OpenOCD to deliver a fix release to support it.

Anticipate the change [1] by detecting it at compile time, without
relying on jimtcl version, and providing an alternative code.
Antonio Borneo <borneo.antonio@gmail.com> no 2024-09-28

All known versions for source package 'openocd'

Links