Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
f27a6322
Commit
f27a6322
authored
5 months ago
by
Jingyun Hua
Committed by
Celeste
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
community/fvwm: fix build with gcc14
parent
1503b272
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!71814
community/fvwm: fix build with gcc14
Pipeline
#258117
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/fvwm/APKBUILD
+13
-2
13 additions, 2 deletions
community/fvwm/APKBUILD
community/fvwm/gcc14.patch
+23
-0
23 additions, 0 deletions
community/fvwm/gcc14.patch
with
36 additions
and
2 deletions
community/fvwm/APKBUILD
+
13
−
2
View file @
f27a6322
...
...
@@ -2,7 +2,7 @@
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname
=
fvwm
pkgver
=
2.7.0
pkgrel
=
2
pkgrel
=
3
pkgdesc
=
"FVWM is a powerful desktop window manager for the X Window system"
url
=
"http://fvwm.org"
arch
=
"all"
...
...
@@ -23,9 +23,19 @@ makedepends="
libxt-dev
perl
readline-dev
automake
autoconf
"
subpackages
=
"
$pkgname
-doc"
source
=
"https://github.com/fvwmorg/fvwm/releases/download/
$pkgver
/fvwm-
$pkgver
.tar.gz"
source
=
"https://github.com/fvwmorg/fvwm/releases/download/
$pkgver
/fvwm-
$pkgver
.tar.gz
gcc14.patch
"
prepare
()
{
default_prepare
autoreconf
-ivf
}
build
()
{
./configure
\
...
...
@@ -45,4 +55,5 @@ package() {
sha512sums
=
"
fc9076c3f07f36b0b2c7c4d2bdf7bb1a711000e39316e327173548bc99dc2b8a29b591e3644e1492f87603b576cd4a3f58ecbdd84a4384d294417b3c56c81808 fvwm-2.7.0.tar.gz
1576add86910496d802244c217e90338c881761ba7e1aad1987490fed986b20d0145463bc353924e0de9c760bfb85b08fa9f48edfebafa3f84759069c655a863 gcc14.patch
"
This diff is collapsed.
Click to expand it.
community/fvwm/gcc14.patch
0 → 100644
+
23
−
0
View file @
f27a6322
ref: https://github.com/fvwmorg/fvwm/pull/106
diff --git a/configure.ac b/configure.ac
index 97ab9e7..a5452e1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -218,17 +218,6 @@
fi
AC_ISC_POSIX
AC_MINIX
-# catch -Werror and similar options when running configure
-AC_TRY_COMPILE([#include <stdio.h>],
-[int i; static j; int *p; char *c;
- switch (*p = p = *c) { case 0: printf("%Q", c, p); }
- *c = &i; c = p;
- while (1 || (unsigned int)3 >= 0 || ((int)-1) == ((unsigned int)1));
-], , AC_MSG_ERROR("
-configure is not able to compile programs with warnings. Please
-remove all offending options like -Werror from the CFLAGS and
-CPPFLAGS variables and run configure again."))
-
# check size of some types
ac_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $X_CFLAGS"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment