mirror of https://gitee.com/openkylin/libbs2b.git
changed debian/source/format to native
This commit is contained in:
parent
51a2d68d3f
commit
bb6b41f028
|
@ -1,21 +0,0 @@
|
|||
Description: Apply "format security" warning/error fix from Ilya Barygin.
|
||||
I don't think it will actually cause a security issue in this context and
|
||||
i'm not sure if it will cause a FTBFS in debian (apparently it didn't back
|
||||
in 2011) but it's certainly horrible coding practice to pass a string that
|
||||
is not explicitly intended to be a format string to the first parameter of
|
||||
a printf so may as well fix it. (Closes: #646327)
|
||||
Author: Ilya Barygin <randomaction@ubuntu.com>
|
||||
Reviewed-by: Peter Michael Green <plugwash@debian.org>
|
||||
Bug-Debian: https://bugs.debian.org/646327
|
||||
|
||||
--- libbs2b-3.1.0+dfsg.orig/src/bs2bconvert.c
|
||||
+++ libbs2b-3.1.0+dfsg/src/bs2bconvert.c
|
||||
@@ -153,7 +153,7 @@ int main( int argc, char *argv[] )
|
||||
if( ( infile = sf_open( infilename, SFM_READ, &sfinfo ) ) == NULL )
|
||||
{
|
||||
printf( "Not able to open input file %s.\n", infilename );
|
||||
- printf( sf_strerror( NULL ) );
|
||||
+ printf( "%s", sf_strerror( NULL ) );
|
||||
return 1;
|
||||
}
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
Index: libbs2b-3.1.0+dfsg/src/Makefile.am
|
||||
===================================================================
|
||||
--- libbs2b-3.1.0+dfsg.orig/src/Makefile.am 2009-03-20 10:13:53.000000000 -0400
|
||||
+++ libbs2b-3.1.0+dfsg/src/Makefile.am 2014-01-02 11:28:11.433565170 -0500
|
||||
@@ -18,7 +18,10 @@
|
||||
$(bs2b_HEADERS)
|
||||
|
||||
libbs2b_la_LDFLAGS = \
|
||||
- -lm -version-info 0:0:0
|
||||
+ -version-info 0:0:0
|
||||
+
|
||||
+libbs2b_la_LIBADD = \
|
||||
+ -lm
|
||||
|
||||
libbs2b_la_SOURCES = \
|
||||
bs2b.c \
|
||||
Index: libbs2b-3.1.0+dfsg/configure.ac
|
||||
===================================================================
|
||||
--- libbs2b-3.1.0+dfsg.orig/configure.ac 2009-06-04 14:17:02.000000000 -0400
|
||||
+++ libbs2b-3.1.0+dfsg/configure.ac 2014-01-02 11:39:23.214145269 -0500
|
||||
@@ -5,7 +5,7 @@
|
||||
AC_INIT([libbs2b], [3.1.0], [boris_mikhaylov@users.sourceforge.net])
|
||||
AC_CONFIG_AUX_DIR([build-aux])
|
||||
AM_INIT_AUTOMAKE([1.10.1 -Wall foreign subdir-objects
|
||||
- dist-zip dist-bzip2 dist-lzma])
|
||||
+ dist-zip dist-bzip2])
|
||||
AC_CONFIG_SRCDIR([src/bs2b.h])
|
||||
|
||||
# Checks for programs.
|
|
@ -1,2 +0,0 @@
|
|||
fix-format-security-warning.diff
|
||||
missing_math_lib.patch
|
|
@ -1 +1 @@
|
|||
3.0 (quilt)
|
||||
3.0 (native)
|
||||
|
|
Loading…
Reference in New Issue