Delete multiarch.patch, applied usptream.
authorAlessio Treglia <alessio@debian.org>
Mon, 13 Feb 2012 15:55:54 +0000 (16:55 +0100)
committerAlessio Treglia <alessio@debian.org>
Mon, 13 Feb 2012 15:55:54 +0000 (16:55 +0100)
Refresh patches.

debian/patches/multiarch.patch [deleted file]
debian/patches/series
debian/patches/soname-fix.patch

diff --git a/debian/patches/multiarch.patch b/debian/patches/multiarch.patch
deleted file mode 100644 (file)
index e633021..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-Author: Alessio Treglia <alessio@debian.org>
-Description: Process configure's --libdir option to set the shared library
- installation path properly.
-Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3486615&group_id=84101&atid=571738
----
- Makefile  |    1 +
- configure |    8 +++-----
- 2 files changed, 4 insertions(+), 5 deletions(-)
-
---- gpac.orig/configure
-+++ gpac/configure
-@@ -292,6 +292,8 @@ for opt do
-     case "$opt" in
-         --prefix=*) prefix=`echo $opt | cut -d '=' -f 2`
-             ;;
-+        --libdir=*) libdir=`echo $opt | cut -d '=' -f 2`
-+            ;;
-         --mandir=*) mandir=`echo $opt | cut -d '=' -f 2`
-             ;;
-         --source-path=*) source_path=`echo $opt | cut -d '=' -f 2`
-@@ -340,9 +342,6 @@ case "$cpu" in
-         if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then
-             if [ -z "`echo $CFLAGS | grep -- -m32`"  ]; then
-                 cpu="x86_64"
--                if test "$linux" = "yes" ; then
--                    libdir="lib64"
--                fi
-                 want_pic="yes"
-             fi
-         fi
-@@ -355,7 +354,6 @@ case "$cpu" in
-         ;;
-     ppc64)
-         cpu="powerpc"
--        libdir="lib64"
-         ;;  
-     "Power Macintosh"|ppc)
-         cpu="powerpc"
-@@ -2310,6 +2308,7 @@ echo "# Automatically generated by confi
- echo "GPAC_CONFIGURATION=$GPAC_CONFIGURATION" >> config.mak
- echo "prefix=$prefix" >> config.mak
-+echo "libdir=$libdir" >> config.mak
- echo "DESTDIR=$DESTDIR" >> config.mak
- echo "moddir=$prefix/$libdir/gpac" >> config.mak
- echo "moddir_path=$prefix/$libdir/gpac" >> config.mak
-@@ -2326,7 +2325,6 @@ echo "OPTFLAGS=$CFLAGS" >> config.mak
- echo "CPPFLAGS=$CPPFLAGS" >> config.mak
- echo "LDFLAGS=$LDFLAGS" >> config.mak
- echo "SHFLAGS=$SHFLAGS" >> config.mak
--echo "libdir=$libdir" >> config.mak
- #for cross-compilation
---- gpac.orig/Makefile
-+++ gpac/Makefile
-@@ -55,6 +55,7 @@ tar:
- install:
-       $(INSTALL) -d "$(DESTDIR)$(prefix)"
-+      $(INSTALL) -d "$(DESTDIR)$(prefix)/$(libdir)"
-       $(INSTALL) -d "$(DESTDIR)$(prefix)/bin"
-       $(INSTALL) $(INSTFLAGS) -m 755 bin/gcc/MP4Box "$(DESTDIR)$(prefix)/bin"
-       $(INSTALL) $(INSTFLAGS) -m 755 bin/gcc/MP4Client "$(DESTDIR)$(prefix)/bin"
index b4608cfe58d24e401fd672da281202ee1aa08ed1..6c94bcc99a096aa6ea4cbb5089322be84bc5af6f 100644 (file)
@@ -1,5 +1,4 @@
 soname-fix.patch
 mp4box-manpage-fix.patch
-multiarch.patch
 dfsg.patch
 gcc-optflags.patch
index e9219e5cbb7d8ac5ea75217502ebfad3219590df..d6a59cb9ef4dfb1cdaa1ead5da979484e448bc2a 100644 (file)
@@ -10,7 +10,7 @@ Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3295894&group_id=841
 
 --- gpac.orig/configure
 +++ gpac/configure
-@@ -2011,6 +2011,10 @@ echo "#define GF_CONFIG_H" >> $TMPH
+@@ -2009,6 +2009,10 @@ echo "#define GF_CONFIG_H" >> $TMPH
  echo "#define GPAC_CONFIGURATION \"$GPAC_CONFIGURATION\"" >> $TMPH
  
  version="`grep '#define GPAC_VERSION ' \"$source_path/include/gpac/tools.h\" | cut -d '"' -f 2`"
@@ -21,7 +21,7 @@ Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3295894&group_id=841
  
  if which svnversion >/dev/null
  then
-@@ -2351,6 +2355,9 @@ if test "$bigendian" = "yes" ; then
+@@ -2349,6 +2353,9 @@ if test "$bigendian" = "yes" ; then
  fi
  echo "EXTRALIBS=$extralibs" >> config.mak
  echo "VERSION=$version" >>config.mak
@@ -31,7 +31,7 @@ Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3295894&group_id=841
  
  if test "$use_fixed_point" = "yes"; then
      echo "#define GPAC_FIXED_POINT" >> $TMPH
-@@ -2393,6 +2400,7 @@ else
+@@ -2391,6 +2398,7 @@ else
  fi
  
  if test "$win32" = "no" ; then
@@ -41,7 +41,7 @@ Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3295894&group_id=841
  else
 --- gpac.orig/Makefile
 +++ gpac/Makefile
-@@ -107,8 +107,9 @@ ifeq ($(CONFIG_DARWIN),yes)
+@@ -112,8 +112,9 @@ ifeq ($(CONFIG_DARWIN),yes)
        $(INSTALL) -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX) $(DESTDIR)$(prefix)/$(libdir)/libgpac.$(VERSION).$(DYN_LIB_SUFFIX)
        ln -sf libgpac.$(VERSION).$(DYN_LIB_SUFFIX) $(DESTDIR)$(prefix)/$(libdir)/libgpac.$(DYN_LIB_SUFFIX)
  else