<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/asap/patches/" rel="alternate"/><link href="https://sourceforge.net/p/asap/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/asap/patches/</id><updated>2024-07-04T16:11:52.439000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>#5 RPM Spec file for Audacious plugin</title><link href="https://sourceforge.net/p/asap/patches/5/?limit=250#b452" rel="alternate"/><published>2024-07-04T16:11:52.439000Z</published><updated>2024-07-04T16:11:52.439000Z</updated><author><name>Piotr Fusik</name><uri>https://sourceforge.net/u/pfusik/</uri></author><id>https://sourceforge.netc47c082989af299329b8b181b7289a4f669cac2f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-out-of-date&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Piotr Fusik&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#6 Honour pre-set CFLAGS and LDFLAGS.</title><link href="https://sourceforge.net/p/asap/patches/6/?limit=250#d0cb/248d" rel="alternate"/><published>2023-05-08T09:12:05.814000Z</published><updated>2023-05-08T09:12:05.814000Z</updated><author><name>Drei Eck</name><uri>https://sourceforge.net/u/dreieck/</uri></author><id>https://sourceforge.net50a8fe289f2ea689750f8a08a98439627820f4a9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ahoj,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;It doesn't stop from overriding the flags on the command&lt;br/&gt;
line:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;`C:\0\a8\asap\git&amp;gt;make CFLAGS=-g V=1 asapconv`
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;/blockquote&gt;
&lt;p&gt;Ah, OK, I was not aware of that!&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Why is &lt;code&gt;+=&lt;/code&gt; superior? I understand it enables environment variables,&lt;br/&gt;
but &lt;em&gt;why&lt;/em&gt; would we want to set flags via an environment variable and&lt;br/&gt;
not the &lt;code&gt;make&lt;/code&gt; command line?  &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In your use case, you can still specify specific CFLAGS that are needed&lt;br/&gt;
to build the project correctly (I suppose mainly when you forcefully&lt;br/&gt;
need to switch off some optimisations).&lt;/p&gt;
&lt;p&gt;In the use case I am referring to, it is helpful with Arch Linux&lt;br/&gt;
packaging:&lt;/p&gt;
&lt;p&gt;There you can define in a global configuration file standard CFLAGS,&lt;br/&gt;
which get passed to the build scripts via environment variable.&lt;/p&gt;
&lt;p&gt;This way, they are automatically honoured if the software's build&lt;br/&gt;
system honours the envoronment variable.&lt;/p&gt;
&lt;p&gt;OK, if this patch is not applied, I can add in the package manually the&lt;br/&gt;
inclusion of &lt;code&gt;$CFLAGS&lt;/code&gt;, or just keep the patch around.&lt;/p&gt;
&lt;p&gt;Regards!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#6 Honour pre-set CFLAGS and LDFLAGS.</title><link href="https://sourceforge.net/p/asap/patches/6/?limit=250#c646" rel="alternate"/><published>2023-05-07T19:13:06.263000Z</published><updated>2023-05-07T19:13:06.263000Z</updated><author><name>Piotr Fusik</name><uri>https://sourceforge.net/u/pfusik/</uri></author><id>https://sourceforge.net7a67314df8890304e147b45cc81ecaf42d4d5878</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Piotr Fusik&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#6 Honour pre-set CFLAGS and LDFLAGS.</title><link href="https://sourceforge.net/p/asap/patches/6/?limit=250#f66f" rel="alternate"/><published>2023-05-06T12:27:26.784000Z</published><updated>2023-05-06T12:27:26.784000Z</updated><author><name>Drei Eck</name><uri>https://sourceforge.net/u/dreieck/</uri></author><id>https://sourceforge.neta022987aee138030c80f465bdc7d5bb9492bc202</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;(Use even &lt;code&gt;-O3&lt;/code&gt; and not &lt;code&gt;-O2&lt;/code&gt; to achieve even more optimisation. Or not set this at all, so the user can influence this via &lt;code&gt;$CFLAGS&lt;/code&gt;, e.g. can also set &lt;code&gt;-Og&lt;/code&gt; for debug optimisation.)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Honour pre-set CFLAGS and LDFLAGS.</title><link href="https://sourceforge.net/p/asap/patches/6/" rel="alternate"/><published>2023-05-06T12:26:14.985000Z</published><updated>2023-05-06T12:26:14.985000Z</updated><author><name>Drei Eck</name><uri>https://sourceforge.net/u/dreieck/</uri></author><id>https://sourceforge.net27fb5213cd23797163767fa74a984e43a6847cb4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Current &lt;code&gt;Makefile&lt;/code&gt; hard-sets &lt;code&gt;$CFLAGS&lt;/code&gt; and &lt;code&gt;$LDFLAGS&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Feature request: Do not re-set the flags, but just append options.&lt;/p&gt;
&lt;p&gt;The following patch, which does this, is taken from &lt;a class="" href="https://aur.archlinux.org/packages/asap" rel="nofollow"&gt;the &lt;code&gt;asap&lt;/code&gt; Arch Linux package&lt;/a&gt;:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="gd"&gt;--- a/Makefile  2021-10-07 21:48:58.204086012 -0700&lt;/span&gt;
&lt;span class="gi"&gt;+++ b/Makefile  2021-10-07 22:14:39.290565502 -0700&lt;/span&gt;
&lt;span class="gu"&gt;@@ -3,9 +3,9 @@&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;bindir = $(prefix)/bin
&lt;span class="w"&gt; &lt;/span&gt;libdir = $(prefix)/lib
&lt;span class="w"&gt; &lt;/span&gt;CC = gcc
&lt;span class="gd"&gt;-CFLAGS = -O2 -Wall&lt;/span&gt;
&lt;span class="gi"&gt;+CFLAGS += -O2 -Wall&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;CPPFLAGS =
&lt;span class="gd"&gt;-LDFLAGS = -s&lt;/span&gt;
&lt;span class="gi"&gt;+LDFLAGS += -s&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;AR = ar
&lt;span class="w"&gt; &lt;/span&gt;ARFLAGS = rc
&lt;span class="w"&gt; &lt;/span&gt;DO_CC = $(DO)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(if $(filter %.so,$@),-shared -fPIC) $(INCLUDEOPTS) $(filter %.c,$^) $(LDFLAGS)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry><entry><title>Honour pre-set CFLAGS and LDFLAGS.</title><link href="https://sourceforge.net/p/asap/patches/6/" rel="alternate"/><published>2023-05-06T12:26:14.985000Z</published><updated>2023-05-06T12:26:14.985000Z</updated><author><name>Drei Eck</name><uri>https://sourceforge.net/u/dreieck/</uri></author><id>https://sourceforge.net38100e6add8777b00f214722d17d02a151b7dc55</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 6 has been modified: Honour pre-set CFLAGS and LDFLAGS.&lt;br/&gt;
Edited By: Piotr Fusik (pfusik)&lt;br/&gt;
Owner updated: None =&amp;gt; 'pfusik'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#5 RPM Spec file for Audacious plugin</title><link href="https://sourceforge.net/p/asap/patches/5/?limit=25#81af" rel="alternate"/><published>2015-04-07T10:57:19.963000Z</published><updated>2015-04-07T10:57:19.963000Z</updated><author><name>dash551</name><uri>https://sourceforge.net/u/dash551/</uri></author><id>https://sourceforge.net5c9eb28d1dcc07f5484075379271a15648209311</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This is a source RPM generated using that spec file.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RPM Spec file for Audacious plugin</title><link href="https://sourceforge.net/p/asap/patches/5/" rel="alternate"/><published>2015-04-07T10:56:28.311000Z</published><updated>2015-04-07T10:56:28.311000Z</updated><author><name>dash551</name><uri>https://sourceforge.net/u/dash551/</uri></author><id>https://sourceforge.net4b7ede1d7a9d59b73217d7f74c6cbe0b3e389894</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have updated the asap.spec file to add support for Audacious plugin if somebody needs it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RPM Spec file for Audacious plugin</title><link href="https://sourceforge.net/p/asap/patches/5/" rel="alternate"/><published>2015-04-07T10:56:28.311000Z</published><updated>2015-04-07T10:56:28.311000Z</updated><author><name>dash551</name><uri>https://sourceforge.net/u/dash551/</uri></author><id>https://sourceforge.net27415d9f648cbc56ab5ed7e58fdbd0e839bd23bd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 5 has been modified: RPM Spec file for Audacious plugin&lt;br/&gt;
Edited By: Piotr Fusik (pfusik)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'closed-out-of-date'&lt;br/&gt;
Owner updated: None =&amp;gt; 'pfusik'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#4 Update to Audacious 3.5 plugin API</title><link href="https://sourceforge.net/p/asap/patches/4/?limit=25#63ec" rel="alternate"/><published>2014-09-13T17:49:23.477000Z</published><updated>2014-09-13T17:49:23.477000Z</updated><author><name>Piotr Fusik</name><uri>https://sourceforge.net/u/pfusik/</uri></author><id>https://sourceforge.net8f81a6ddefb8209e5ed425980e659ac1d8bd49e6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Piotr Fusik&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry></feed>