diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
commit | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch) | |
tree | 66e860a5099bcad013f1cf667255dc372a7c11b3 /x11-libs/libfm-extra/files | |
parent | 7218e1b46bceac05841e90472501742d905fb3fc (diff) |
gentoo resync : 20.03.2021
Diffstat (limited to 'x11-libs/libfm-extra/files')
-rw-r--r-- | x11-libs/libfm-extra/files/libfm-extra-1.3.2-buildsystem.patch | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/x11-libs/libfm-extra/files/libfm-extra-1.3.2-buildsystem.patch b/x11-libs/libfm-extra/files/libfm-extra-1.3.2-buildsystem.patch new file mode 100644 index 000000000000..fd9a0535a4c3 --- /dev/null +++ b/x11-libs/libfm-extra/files/libfm-extra-1.3.2-buildsystem.patch @@ -0,0 +1,59 @@ +From a5cabf67a7460ce27c73e66c9ac98481c6cd1db2 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Mon, 15 Mar 2021 09:44:40 +0100 +Subject: [PATCH] Drop -Werror and unwanted CPPFLAGS, disable docs + +--- + Makefile.am | 2 +- + configure.ac | 8 ++------ + 2 files changed, 3 insertions(+), 7 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 427edae..f5fd4f0 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -5,7 +5,7 @@ NULL= + DIST_SUBDIRS = src po data + + # a little trick against gtk-doc is here +-SUBDIRS_DOCS = docs ++SUBDIRS_DOCS = + + EXTRA_DIST_DOCS = \ + gtk-doc.make \ +diff --git a/configure.ac b/configure.ac +index bf6b07f..2f331ec 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3,7 +3,7 @@ + + AC_PREREQ([2.63]) + AC_INIT([libfm], [1.3.2], [http://pcmanfm.sourceforge.net/]) +-AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects no-dist-gzip dist-xz -Wno-portability]) ++AM_INIT_AUTOMAKE([-Wall foreign subdir-objects no-dist-gzip dist-xz -Wno-portability]) + AC_CONFIG_MACRO_DIR(m4) + AC_CONFIG_HEADERS([config.h]) + +@@ -277,7 +277,7 @@ AC_ARG_ENABLE(debug, + ) + if test "$enable_debug" = "yes"; then + # turn on debug and disable optimization +- CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG -O0 -g" ++ CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG" + case "$CC" in + gcc*) + CPPFLAGS="$CPPFLAGS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers" +@@ -323,10 +323,6 @@ AC_CONFIG_FILES([ + data/lxshortcut.1 + data/ui/Makefile + po/Makefile.in +- docs/Makefile +- docs/reference/Makefile +- docs/reference/libfm/Makefile +- docs/reference/libfm/version.xml + libfm.pc + libfm-gtk.pc + libfm-gtk3.pc +-- +2.30.2 + |