From: "Samuli Suominen (ssuominen)" <ssuominen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/ssrc/files: ssrc-1.30-makefile.patch
Date: Fri, 19 Jun 2009 14:04:14 +0000 [thread overview]
Message-ID: <E1MHehS-0007xS-MX@stork.gentoo.org> (raw)
ssuominen 09/06/19 14:04:14
Modified: ssrc-1.30-makefile.patch
Log:
Update Makefile patch to respect CC and CFLAGS.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Revision Changes Path
1.2 media-sound/ssrc/files/ssrc-1.30-makefile.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ssrc/files/ssrc-1.30-makefile.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ssrc/files/ssrc-1.30-makefile.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ssrc/files/ssrc-1.30-makefile.patch?r1=1.1&r2=1.2
Index: ssrc-1.30-makefile.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/ssrc/files/ssrc-1.30-makefile.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ssrc-1.30-makefile.patch 6 Jan 2007 21:19:56 -0000 1.1
+++ ssrc-1.30-makefile.patch 19 Jun 2009 14:04:14 -0000 1.2
@@ -1,17 +1,34 @@
---- Makefile.old 2007-01-06 22:10:22.000000000 +0100
-+++ Makefile 2007-01-06 22:11:17.000000000 +0100
-@@ -5,10 +5,10 @@
+diff -ur ssrc-1.30.orig/Makefile ssrc-1.30/Makefile
+--- ssrc-1.30.orig/Makefile 2005-06-28 11:10:07.000000000 +0300
++++ ssrc-1.30/Makefile 2009-06-19 17:03:01.000000000 +0300
+@@ -1,14 +1,13 @@
+-CC = gcc
+-CFLAGS = -O2 -lm
++CC ?= gcc
+ #CFLAGS += -DBIGENDIAN
+
all : ssrc ssrc_hp
ssrc : ssrc.c fftsg_ld.c dbesi0.c
- $(CC) $(CFLAGS) ssrc.c fftsg_ld.c dbesi0.c -o ssrc
-+ $(CC) $(CFLAGS) $(LDFLAGS) ssrc.c fftsg_ld.c dbesi0.c -o ssrc -lm
++ $(CC) $(LDFLAGS) $(CFLAGS) ssrc.c fftsg_ld.c dbesi0.c -o ssrc -lm
ssrc_hp : ssrc.c fftsg_ld.c dbesi0.c
- $(CC) $(CFLAGS) -DHIGHPREC ssrc.c fftsg_ld.c dbesi0.c -o ssrc_hp
-+ $(CC) $(CFLAGS) $(LDFLAGS) -DHIGHPREC ssrc.c fftsg_ld.c dbesi0.c -o ssrc_hp -lm
++ $(CC) $(LDFLAGS) $(CFLAGS) -DHIGHPREC ssrc.c fftsg_ld.c dbesi0.c -o ssrc_hp -lm
clean :
- rm -f ssrc ssrc_hp *.o *~
\ No newline at end of file
+ rm -f ssrc ssrc_hp *.o *~
+diff -ur ssrc-1.30.orig/ssrc.c ssrc-1.30/ssrc.c
+--- ssrc-1.30.orig/ssrc.c 2005-06-28 02:51:11.000000000 +0300
++++ ssrc-1.30/ssrc.c 2009-06-19 17:04:29.000000000 +0300
+@@ -3,6 +3,7 @@
+ #include <math.h>
+ #include <assert.h>
+ #include <time.h>
++#include <string.h>
+
+ #define NDEBUG
+
next reply other threads:[~2009-06-19 14:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-19 14:04 Samuli Suominen (ssuominen) [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-06-16 11:53 [gentoo-commits] gentoo-x86 commit in media-sound/ssrc/files: ssrc-1.30-makefile.patch Pacho Ramos (pacho)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1MHehS-0007xS-MX@stork.gentoo.org \
--to=ssuominen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox