From c13c7f3c9086cf295815bfa4091817bc4dd3a131 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Thu, 10 Mar 2011 16:02:54 +0000 Subject: [PATCH] Add patch --- gpac-0.4.6-noldflag.patch | 12 ++++++++++++ gpac.spec | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 gpac-0.4.6-noldflag.patch diff --git a/gpac-0.4.6-noldflag.patch b/gpac-0.4.6-noldflag.patch new file mode 100644 index 0000000..2abe239 --- /dev/null +++ b/gpac-0.4.6-noldflag.patch @@ -0,0 +1,12 @@ +diff -up gpac/configure.noldflag gpac/configure +--- gpac/configure.noldflag 2011-03-10 16:15:56.887459002 +0100 ++++ gpac/configure 2011-03-10 16:58:50.029459001 +0100 +@@ -143,7 +143,7 @@ extralibs="-lm" + bigendian="no" + SHFLAGS=-shared + need_inet_aton="no" +-LDFLAGS="$LDFLAGS -Wl --warn-common" ++#LDFLAGS="$LDFLAGS -Wl --warn-common" + CFLAGS="" + CPPFLAGS="" + GPAC_SH_FLAGS=-lpthread diff --git a/gpac.spec b/gpac.spec index 965414c..30a9ace 100644 --- a/gpac.spec +++ b/gpac.spec @@ -32,6 +32,7 @@ Patch5: gpac-0.4.6-js_cflags.patch #https://sourceforge.net/tracker/?func=detail&atid=571740&aid=2853857&group_id=84101 Patch9: gpac-0.4.6-ffmpeg.patch Patch11: gpac-0.4.6-osmo.patch +Patch12: gpac-0.4.6-noldflag.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) BuildRequires: ImageMagick @@ -153,6 +154,7 @@ web browsers. %patch5 -p1 -b .jscflags %patch9 -p1 -b .ffmpeg %patch11 -p1 -b .osmo +%patch12 -p1 -b .noldflag ## kwizart - enable dynamic mode - hardcoded with patch2 # define SONAME number from the first number of gpac version. @@ -336,6 +338,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Thu Mar 10 2011 Nicolas Chauvet - 0.4.6-0.12.cvs20100527 - Rebuilt for openjpeg +- Remove usage of --warn-common as LDFLAGS * Tue Dec 14 2010 Nicolas Chauvet - 0.4.6-0.11.cvs20100527 - Fix include - rfbz#1551