[SCM] libav/experimental: Fix building with C++ objects, variable names were inconsistent.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:17:51 UTC 2013


The following commit has been merged in the experimental branch:
commit 0d14ab27a805c23b804b6ef9bef6263e092cdfce
Author: François Revol <revol at free.fr>
Date:   Thu Mar 27 16:10:18 2008 +0000

    Fix building with C++ objects, variable names were inconsistent.
    
    Originally committed as revision 12608 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/common.mak b/common.mak
index a8a8b25..11017c0 100644
--- a/common.mak
+++ b/common.mak
@@ -26,8 +26,8 @@ CFLAGS += -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
 EXTRALIBS := $(addprefix -l,$(addsuffix $(BUILDSUF),$(FFLIBS))) $(EXTRALIBS)
 LDFLAGS   := $(addprefix -L$(BUILD_ROOT)/lib,$(FFLIBS)) $(LDFLAGS)
 
-SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp)
-OBJS := $(OBJS) $(ASM_OBJS) $(CPPOBJS)
+SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPP_OBJS:.o=.cpp)
+OBJS := $(OBJS) $(ASM_OBJS) $(CPP_OBJS)
 
 all: $(LIBNAME) $(SLIBNAME)
 
diff --git a/libavdevice/Makefile b/libavdevice/Makefile
index fb7c22b..ddb0113 100644
--- a/libavdevice/Makefile
+++ b/libavdevice/Makefile
@@ -20,7 +20,7 @@ OBJS-$(CONFIG_X11_GRAB_DEVICE_DEMUXER)   += x11grab.o
 # external libraries
 OBJS-$(CONFIG_LIBDC1394_DEMUXER)         += libdc1394.o
 
-CPPOBJS-$(CONFIG_AUDIO_BEOS_DEMUXER)     += beosaudio.o
-CPPOBJS-$(CONFIG_AUDIO_BEOS_MUXER)       += beosaudio.o
+CPP_OBJS-$(CONFIG_AUDIO_BEOS_DEMUXER)     += beosaudio.o
+CPP_OBJS-$(CONFIG_AUDIO_BEOS_MUXER)       += beosaudio.o
 
 include ../common.mak

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list