[SCM] mjpegtools/master: Do not use -fno-PIC

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Wed Nov 16 20:53:00 UTC 2016


The following commit has been merged in the master branch:
commit c7db21c44fe0da1f4cefef10c1418e59c87a6f8e
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Wed Nov 16 21:48:43 2016 +0100

    Do not use -fno-PIC
    
    Closes: #837566

diff --git a/debian/patches/18_no_noPIC.patch b/debian/patches/18_no_noPIC.patch
new file mode 100644
index 0000000..a59b250
--- /dev/null
+++ b/debian/patches/18_no_noPIC.patch
@@ -0,0 +1,48 @@
+Description: Do not use -fno-PIC
+Author: Sebastian Ramacher <sramacher at debian.org>
+Bug-Debian: https://bugs.debian.org/837566
+Last-Update: 2016-11-16
+
+--- mjpegtools-2.1.0+debian.orig/y4mdenoise/Makefile.am
++++ mjpegtools-2.1.0+debian/y4mdenoise/Makefile.am
+@@ -4,8 +4,8 @@ MAINTAINERCLEANFILES = Makefile.in
+ 
+ EXTRA_DIST = implementation.html
+ 
+-AM_CFLAGS = -DNDEBUG -finline-functions @PROGRAM_NOPIC@
+-AM_CXXFLAGS = -DNDEBUG -finline-functions @PROGRAM_NOPIC@
++AM_CFLAGS = -DNDEBUG -finline-functions
++AM_CXXFLAGS = -DNDEBUG -finline-functions
+ 
+ INCLUDES =  -I$(top_srcdir) -I$(top_srcdir)/utils
+ 
+--- mjpegtools-2.1.0+debian.orig/y4munsharp/Makefile.am
++++ mjpegtools-2.1.0+debian/y4munsharp/Makefile.am
+@@ -4,8 +4,6 @@ MAINTAINERCLEANFILES = Makefile.in
+ 
+ INCLUDES = -I $(top_srcdir)/utils -I $(top_srcdir)
+ 
+-y4munharp_CFLAGS=@PROGRAM_NOPIC@
+-
+ bin_PROGRAMS = y4munsharp
+ 
+ y4munsharp_SOURCES = y4munsharp.c
+--- mjpegtools-2.1.0+debian.orig/y4mutils/Makefile.am
++++ mjpegtools-2.1.0+debian/y4mutils/Makefile.am
+@@ -2,7 +2,6 @@
+ 
+ MAINTAINERCLEANFILES = Makefile.in
+ 
+-AM_CFLAGS   = @PROGRAM_NOPIC@
+ AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/utils
+ 
+ LIBMJPEGUTILS = $(top_builddir)/utils/libmjpegutils.la
+--- mjpegtools-2.1.0+debian.orig/yuvscaler/Makefile.am
++++ mjpegtools-2.1.0+debian/yuvscaler/Makefile.am
+@@ -18,6 +18,5 @@ noinst_HEADERS = \
+ 
+ EXTRA_DIST = yuvscaler_implementation.txt
+ 
+-yuvscaler_CFLAGS=@PROGRAM_NOPIC@
+ yuvscaler_SOURCES = yuvscaler.c yuvscaler_resample.c yuvscaler_bicubic.c
+ yuvscaler_LDADD = $(LIBMJPEGUTILS) $(LIBM_LIBS)
diff --git a/debian/patches/series b/debian/patches/series
index d6e3410..4fce907 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@
 15_fix_qttoy4m_linking.diff
 16_fix_ftbfs_format_security.patch
 17_hurd.patch
+18_no_noPIC.patch

-- 
mjpegtools packaging



More information about the pkg-multimedia-commits mailing list