Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gdbm: Fix multiple definitions error when building with clang
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
pkgs/development/libraries/gdbm/0001-Remove-duplicate-assignments.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 2c31a95d9e57a4308c5159c50e69b5c9178dee72 Mon Sep 17 00:00:00 2001 | ||
From: Christian Kampka <christian@kampka.net> | ||
Date: Fri, 13 Nov 2020 16:52:12 +0100 | ||
Subject: [PATCH] Remove duplicate assignments | ||
|
||
--- | ||
src/parseopt.c | 2 -- | ||
1 file changed, 2 deletions(-) | ||
|
||
diff --git a/src/parseopt.c b/src/parseopt.c | ||
index 268e080..a4c8576 100644 | ||
--- a/src/parseopt.c | ||
+++ b/src/parseopt.c | ||
@@ -255,8 +255,6 @@ print_option_descr (const char *descr, size_t lmargin, size_t rmargin) | ||
} | ||
|
||
char *parseopt_program_name; | ||
-char *parseopt_program_doc; | ||
-char *parseopt_program_args; | ||
const char *program_bug_address = "<" PACKAGE_BUGREPORT ">"; | ||
void (*parseopt_help_hook) (FILE *stream); | ||
|
||
-- | ||
2.25.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters