diff options
| author | Sergey Torokhov <torokhov-s-a@yandex.ru> | 2025-04-06 02:15:18 +0300 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-04-06 06:51:16 +0100 |
| commit | 34e7cd325123cbd740bdbefae41cea71012e47e5 (patch) | |
| tree | 73265b10ab84803199d1a96abba67855679a7706 /dev-util/codeblocks/files/codeblocks-25.03_env.patch | |
| parent | a46d239224c106601de566e13843f1927a8c72df (diff) | |
| download | gentoo-34e7cd325123cbd740bdbefae41cea71012e47e5.tar.gz gentoo-34e7cd325123cbd740bdbefae41cea71012e47e5.tar.bz2 gentoo-34e7cd325123cbd740bdbefae41cea71012e47e5.zip | |
dev-util/codeblocks: 25.03 version bump
The codeblocks-25.03_env.patch contains fix
to build DisplayEvents plugin
(upstream issue: https://sourceforge.net/p/codeblocks/tickets/1524/)
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/41470
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/codeblocks/files/codeblocks-25.03_env.patch')
| -rw-r--r-- | dev-util/codeblocks/files/codeblocks-25.03_env.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-util/codeblocks/files/codeblocks-25.03_env.patch b/dev-util/codeblocks/files/codeblocks-25.03_env.patch new file mode 100644 index 000000000000..cb2ee41e9f4b --- /dev/null +++ b/dev-util/codeblocks/files/codeblocks-25.03_env.patch @@ -0,0 +1,44 @@ +# Remove adding of "-g" to CFLAGS and CXXFLAGS if "./configure --enable-debug" +diff -Naur old/m4/acinclude.m4 new/m4/acinclude.m4 +--- old/m4/acinclude.m4 ++++ new/m4/acinclude.m4 +@@ -91,8 +91,6 @@ + AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], [turn on debugging (default is OFF)])],, + enable_debug=$debug_default) + if test "x$enable_debug" = "xyes"; then +- CFLAGS="-g $CFLAGS" +- CXXFLAGS="-g $CXXFLAGS" + CPPFLAGS="-DDEBUG -DcbDEBUG $CPPFLAGS" + AC_MSG_RESULT(yes) + else +diff -Naur a/m4/acinclude.m4 b/m4/acinclude.m4 +--- a/m4/acinclude.m4 ++++ b/m4/acinclude.m4 +@@ -211,7 +211,7 @@ + fi + + AC_MSG_CHECKING(whether to build the displayevents plugin) +-dsplayevents_default="yes" ++displayevents_default="yes" + AC_ARG_ENABLE(displayevents, [AC_HELP_STRING([--enable-displayevents], [build the displayevents plugin (default YES)])],, + enable_displayevents=$displayevents_default) + AM_CONDITIONAL([BUILD_DISPLAYEVENTS], [test "x$enable_displayevents" = "xyes"]) +diff -Naur a/src/plugins/displayevents/Makefile.am b/src/plugins/displayevents/Makefile.am +--- a/src/plugins/displayevents/Makefile.am ++++ b/src/plugins/displayevents/Makefile.am +@@ -8,7 +8,7 @@ + libDisplayEvents_la_LDFLAGS = -module -version-info 0:1:0 -shared -no-undefined -avoid-version + + libDisplayEvents_la_LIBADD = $(PLUGIN_WX_LIBS) \ +- ../../../sdk/libcodeblocks.la ++ ../../sdk/libcodeblocks.la + + libDisplayEvents_la_SOURCES = DisplayEvents.cpp + +@@ -21,5 +21,5 @@ + + CLEANFILES = $(pkgdata_DATA) + +-IncrementalSearch.zip: manifest.xml ++DisplayEvents.zip: manifest.xml + PWD=`pwd` cd $(srcdir) && zip -R $(PWD)/DisplayEvents.zip manifest.xml > /dev/null |
