public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bpfilter] f44: Remove CMocka patch, which is now unused
@ 2026-11-03  8:54 Quentin Deslandes
  0 siblings, 0 replies; only message in thread
From: Quentin Deslandes @ 2026-11-03  8:54 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/bpfilter
Branch : f44
Commit : ae834e02c7f31651da45b0bb3f32fcdd1e20229f
Author : Quentin Deslandes <qde@naccy.de>
Date   : 2026-11-03T09:47:31+01:00
Stats  : +0/-15 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/bpfilter/c/ae834e02c7f31651da45b0bb3f32fcdd1e20229f?branch=f44

Log:
Remove CMocka patch, which is now unused

---
diff --git a/bpfilter-fix-for-cmocka2.diff b/bpfilter-fix-for-cmocka2.diff
deleted file mode 100644
index e9a4239..0000000
--- a/bpfilter-fix-for-cmocka2.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/tests/harness/mock.h
-+++ b/tests/harness/mock.h
-@@ -78,10 +78,10 @@ void bf_test_filepath_free(char **path);
-     })
- 
- #define bf_test_mock_will_return(mock, value)                                  \
--    _will_return((mock).wrap_name, __FILE__, __LINE__, ((uintmax_t)(value)), 1)
-+    _will_return((mock).wrap_name, __FILE__, __LINE__, "uintmax_t", assign_uint_to_cmocka_value((uintmax_t)(value)), 1)
- 
- #define bf_test_mock_will_return_always(mock, value)                           \
--    _will_return((mock).wrap_name, __FILE__, __LINE__, ((uintmax_t)(value)), -1)
-+    _will_return((mock).wrap_name, __FILE__, __LINE__, "uintmax_t", assign_uint_to_cmocka_value((uintmax_t)(value)), -1)
- 
- #define bf_test_mock_real(mock) __real_##mock
- #define bf_test_mock_define(ret, x, args)                                      \

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03  8:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03  8:54 [rpms/bpfilter] f44: Remove CMocka patch, which is now unused Quentin Deslandes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox