File: concurrentqueue.patch

package info (click to toggle)
libatomic-queue 1.6.5-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 13,460 kB
  • sloc: cpp: 1,692; javascript: 368; makefile: 160; python: 82; ansic: 81; sh: 59
file content (22 lines) | stat: -rw-r--r-- 835 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: fix concurrentqueue.h import
 For some reason, possibly Debian specific, the concurrentqueue include has
 a moodycamel namespace straight in the libconcurrentqueue-dev path, which is
 not compatible with what is currently specified in upstream source code.  It's
 a bit unclear right now whether the issue is in concurrentqueue or in the
 libatomic-queue.
Author: Étienne Mollier <emollier@debian.org>
Forwarded: no
Last-Update: 2023-07-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- libatomic-queue.orig/src/moodycamel.h
+++ libatomic-queue/src/moodycamel.h
@@ -6,7 +6,7 @@
 
 #include "benchmarks.h"
 
-#include <concurrentqueue/concurrentqueue.h>
+#include <concurrentqueue/moodycamel/concurrentqueue.h>
 #include <readerwriterqueue/readerwriterqueue.h>
 
 #include "atomic_queue/defs.h"