packages: libebml/libebml.spec, libebml/libtool-tag.patch (NEW) - fix build...

glen glen at pld-linux.org
Thu Aug 5 21:56:25 CEST 2010


Author: glen                         Date: Thu Aug  5 19:56:25 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix build with cc with spaces

---- Files affected:
packages/libebml:
   libebml.spec (1.27 -> 1.28) , libtool-tag.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libebml/libebml.spec
diff -u packages/libebml/libebml.spec:1.27 packages/libebml/libebml.spec:1.28
--- packages/libebml/libebml.spec:1.27	Sun Jul 13 22:00:32 2008
+++ packages/libebml/libebml.spec	Thu Aug  5 21:56:20 2010
@@ -9,6 +9,7 @@
 Source0:	http://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.bz2
 # Source0-md5:	6278109f52e4f9d2c8a8dfc0d668b587
 Patch0:		%{name}-makefile.patch
+Patch1:		libtool-tag.patch
 URL:		http://www.matroska.org/
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
@@ -52,6 +53,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__make} -C make/linux \
@@ -98,6 +100,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2010/08/05 19:56:20  glen
+- fix build with cc with spaces
+
 Revision 1.27  2008/07/13 20:00:32  qboosh
 - updated to 0.7.8
 - updated makefile patch

================================================================
Index: packages/libebml/libtool-tag.patch
diff -u /dev/null packages/libebml/libtool-tag.patch:1.1
--- /dev/null	Thu Aug  5 21:56:26 2010
+++ packages/libebml/libtool-tag.patch	Thu Aug  5 21:56:20 2010
@@ -0,0 +1,15 @@
+--- libebml-0.7.8/make/linux/Makefile~	2010-08-05 22:53:47.000000000 +0300
++++ libebml-0.7.8/make/linux/Makefile	2010-08-05 22:54:21.405342023 +0300
+@@ -82,10 +82,10 @@
+ 
+ # Build rules
+ %.lo: %$(EXTENSION)
+-	$(LIBTOOL) --mode=compile $(CXX) -c $(COMPILEFLAGS) -o $@ $<
++	$(LIBTOOL) --mode=compile --tag=CC $(CXX) -c $(COMPILEFLAGS) -o $@ $<
+ 
+ $(LIBRARY): $(objects)
+-	$(LIBTOOL) --mode=link $(LD) $(LDFLAGS) -o $@ $^ $(LIBS) -rpath $(libdir)
++	$(LIBTOOL) --mode=link --tag=CC $(LD) $(LDFLAGS) -o $@ $^ $(LIBS) -rpath $(libdir)
+ 
+ clean:
+ 	rm -f $(objects) $(objects_so)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libebml/libebml.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list