Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion doc/paccapability.pod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ paccapability - query libalpm capabilities

=head1 DESCRIPTION

B<paccapability> provides a way to query which features libalpm was built with.
B<paccapability> provides a way to query which features L<libalpm(3)> was built with.
Recognized capabilities are:

=over
Expand Down Expand Up @@ -52,3 +52,11 @@ Display version information and exit.
paccapability signatures >/dev/null && ...

=back

=head1 SEE ALSO

=over

L<libalpm(3)>

=back
2 changes: 1 addition & 1 deletion doc/pacconf.pod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ a normalized format. By default, if only a single I<directive> is provided,
only its value will be printed without the option name. For directives without
a value, the directive name will be used as the value.

The values displayed are the final values as would be parsed by pacman itself.
The values displayed are the final values as would be parsed by L<pacman(8)> itself.
All default values are set, C<Include> directives are processed, C<$arch> and
C<$repo> variables in repository servers are replaced, and C<Architecture> will
be replaced if set to C<auto>.
Expand Down
2 changes: 1 addition & 1 deletion doc/paclog.pod
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ Display errors, warnings, and notes.
B<paclog> determines whether or not to read the log file from F<stdin> based on
a naive check using L<isatty(3)>. If B<paclog> is called in an environment,
such as a shell function or script being used in a pipe, where F<stdin> is not
connected to a terminal but does not a log file to parse, B<paclog> should be
connected to a terminal but does not contain a log file to parse, B<paclog> should be
called with F<stdin> closed. For POSIX-compatible shells, this can be done
with C<< <&- >>.
4 changes: 2 additions & 2 deletions doc/pacrepairdb.pod
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Disable low-speed timeouts for downloads.

=item B<--print-only>

Display the packages to be repaired and the cache packages to be used and exit.
Display the packages to be repaired and the cached packages to be used and exit.

=item B<--root>=F<path>

Expand Down Expand Up @@ -107,7 +107,7 @@ nonetheless has the same name and version, B<pacrepairdb> will blindly install
it, worsening any database problems.

B<pacrepairdb> does not check for leftover orphaned files. It is the user's
responsibility locate and handle orphaned files.
responsibility to locate and handle orphaned files.

B<pacrepairdb> determines whether or not to read package names from F<stdin>
based on a naive check using L<isatty(3)>. If B<pacrepairdb> is called in an
Expand Down
5 changes: 5 additions & 0 deletions ext/globdir.c/t/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ GIT ?= git

CFLAGS += -Wall -Wextra -Wpedantic -g

LBITS := $(shell getconf LONG_BIT)
ifeq ($(LBITS),32)
CFLAGS += -D_FILE_OFFSET_BITS=64
endif

override CPPFLAGS += -I..

TESTS = \
Expand Down
5 changes: 5 additions & 0 deletions ext/mini.c/t/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

CFLAGS += -Wall -Wextra -Wpedantic -g

LBITS := $(shell getconf LONG_BIT)
ifeq ($(LBITS),32)
CFLAGS += -D_FILE_OFFSET_BITS=64
endif

override CPPFLAGS += -I..

TESTS = 01-sanity.t 10-basic.t 10-lookup.t 90-smoke.t
Expand Down
5 changes: 5 additions & 0 deletions lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ ALPM_CFLAGS ?= $(shell pkg-config libalpm --cflags)

CFLAGS ?= -Wall -Wextra -Wpedantic -Werror -g

LBITS := $(shell getconf LONG_BIT)
ifeq ($(LBITS),32)
CFLAGS += -D_FILE_OFFSET_BITS=64
endif

override CFLAGS += $(ALPM_CFLAGS)
override LDLIBS += -lalpm

Expand Down
2 changes: 1 addition & 1 deletion lib/pacutils/ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ void pu_ui_cb_download(void *ctx, const char *filename,
(int)(100 * downloaded / s->total));
} else {
fprintf(c->out, "(%d/%d) %s (%jd)\r",
c->index + 1, num, s->filename, s->downloaded);
c->index + 1, num, s->filename, (intmax_t)s->downloaded);
}
}
fflush(c->out);
Expand Down
5 changes: 5 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ ALPM_CFLAGS ?= $(shell pkg-config libalpm --cflags)

CFLAGS ?= -Wall -Wextra -Wpedantic -Werror -g

LBITS := $(shell getconf LONG_BIT)
ifeq ($(LBITS),32)
CFLAGS += -D_FILE_OFFSET_BITS=64
endif

override CFLAGS += $(ALPM_CFLAGS)
override CPPFLAGS += -I../lib
override LDFLAGS += -L../lib
Expand Down
5 changes: 5 additions & 0 deletions t/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ CFLAGS += -Wall -g -Wextra -I../lib
LDFLAGS += -L../lib
LDLIBS += -lpacutils -lalpm -larchive

LBITS := $(shell getconf LONG_BIT)
ifeq ($(LBITS),32)
CFLAGS += -D_FILE_OFFSET_BITS=64
endif

ALPM_CFLAGS ?= $(shell pkg-config libalpm --cflags)
override CFLAGS += $(ALPM_CFLAGS)

Expand Down