[packages/fsplib] - rediff - rel 2
witekfl
witekfl at pld-linux.org
Sun Jun 4 13:40:11 CEST 2023
commit 0fc20b9aeaa4b828ef9ae54e7a0967f2f35e1c45
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sun Jun 4 13:39:49 2023 +0200
- rediff
- rel 2
fsplib-scons.patch | 17 +++++++++--------
fsplib.spec | 2 +-
2 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/fsplib.spec b/fsplib.spec
index ab79071..898563f 100644
--- a/fsplib.spec
+++ b/fsplib.spec
@@ -6,7 +6,7 @@ Summary: fsp library
Summary(pl.UTF-8): Biblioteka fsp
Name: fsplib
Version: 0.14
-Release: 1
+Release: 2
License: BSD-like (see COPYING)
Group: Libraries
Source0: http://downloads.sourceforge.net/fsp/%{name}-%{version}.tar.gz
diff --git a/fsplib-scons.patch b/fsplib-scons.patch
index 91134b3..ec03b76 100644
--- a/fsplib-scons.patch
+++ b/fsplib-scons.patch
@@ -1,17 +1,18 @@
---- fsplib-0.11/SConstruct.orig 2009-06-13 18:13:00.000000000 +0200
-+++ fsplib-0.11/SConstruct 2010-06-15 20:55:48.113833712 +0200
-@@ -11,8 +11,6 @@
+diff -up fsplib-0.14/SConstruct.orig fsplib-0.14/SConstruct
+--- fsplib-0.14/SConstruct.orig 2019-08-16 08:29:00.000000000 +0200
++++ fsplib-0.14/SConstruct 2023-06-04 13:37:10.122039427 +0200
+@@ -11,8 +11,6 @@ PREFIX='/usr/local'
SHARED=0
env = Environment()
-# Turn CPPFLAGS to list
-env.Append( CPPFLAGS = [])
- ################### Functions ######################
- def importEnv(list=None, prefix=None):
-@@ -31,6 +29,20 @@
- kw={ 'ENV': kw }
- env.Append(**kw)
+ ############## Imports #################
+ from maintainer import checkForMaintainerMode
+@@ -40,6 +38,20 @@ def importEnv(list=None, prefix=None):
+ kw={ 'ENV': kw }
+ env.Append(**kw)
+importEnv(['CPPFLAGS','CCFLAGS'])
+if env['ENV'].get('CPPFLAGS'):
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fsplib.git/commitdiff/0fc20b9aeaa4b828ef9ae54e7a0967f2f35e1c45
More information about the pld-cvs-commit
mailing list