Skip to content

Commit 9a8002c

Browse files
Duncaenojab
andcommitted
bin/xbps-create: fix build with glibc 2.43 const preserving
Co-authored-by: ojab <ojab@ojab.ru>
1 parent 7f2f103 commit 9a8002c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/xbps-create/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ process_one_alternative(const char *altgrname, const char *val)
235235
{
236236
xbps_dictionary_t d;
237237
xbps_array_t a;
238-
char *altfiles;
238+
const char *altfiles;
239239
bool alloc = false;
240240

241241
if ((d = xbps_dictionary_get(pkg_propsd, "alternatives")) == NULL) {

0 commit comments

Comments
 (0)