nixpkgs/pkgs/by-name/li/libpostal/0001-test-adding-header-to-fix-warning.patch
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

25 lines
587 B
Diff

From bfdb6b8f87cc1cae9ba47870ff23deae0bb8ba51 Mon Sep 17 00:00:00 2001
From: Al <albarrentine@gmail.com>
Date: Sun, 17 Dec 2017 20:17:01 -0500
Subject: [PATCH] [test] adding header to fix warning
---
test/test_expand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/test_expand.c b/test/test_expand.c
index 59ed9af7..2b211728 100644
--- a/test/test_expand.c
+++ b/test/test_expand.c
@@ -4,6 +4,7 @@
#include <stdarg.h>
#include "greatest.h"
+#include "../src/string_utils.h"
#include "../src/libpostal.h"
SUITE(libpostal_expansion_tests);
--
2.42.0