Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv4224

Modified Files:
        rtmpdump-10.6.info 
Added Files:
        rtmpdump-10.6.patch 
Removed Files:
        rtmpdump.patch 
Log Message:
Change rtmpdump.patch to rtmpdump-10.6.patch to match info file name.


--- NEW FILE: rtmpdump-10.6.patch ---
diff -ru rtmpdump-2.3.orig/librtmp/Makefile rtmpdump-2.3/librtmp/Makefile
--- rtmpdump-2.3.orig/librtmp/Makefile  2010-06-30 16:01:28.000000000 -0400
+++ rtmpdump-2.3/librtmp/Makefile       2010-08-27 13:19:47.000000000 -0400
@@ -25,12 +25,12 @@
 CRYPTO_REQ=$(REQ_$(CRYPTO))
 CRYPTO_DEF=$(DEF_$(CRYPTO))
 
-SO_posix=so.0
+SO_posix=0.dylib
 SO_mingw=dll
 SO_EXT=$(SO_$(SYS))
 
 SHARED=yes
-SODEF_yes=-fPIC
+SODEF_yes=-fPIC -fno-common
 SOLIB_yes=librtmp.$(SO_EXT)
 SOINST_yes=install_$(SO_EXT)
 SO_DEF=$(SODEF_$(SHARED))
@@ -55,14 +55,14 @@
 all:   librtmp.a $(SO_LIB)
 
 clean:
-       rm -f *.o *.a *.so *.$(SO_EXT)
+       rm -f *.o *.a *.dylib *.$(SO_EXT)
 
 librtmp.a: $(OBJS)
        $(AR) rs $@ $?
 
 librtmp.$(SO_EXT): $(OBJS)
-       $(CC) -shared -Wl,-soname,$@ $(LDFLAGS) -o $@ $^ $> $(CRYPTO_LIB)
-       ln -sf $@ librtmp.so
+       $(CC) -shared -install_name $(libdir)/$@ -current_version 1.0.0 
-compatibility_version 1.0.0 $(LDFLAGS) -o $@ $^ $> $(CRYPTO_LIB)
+       ln -sf $@ librtmp.dylib
 
 log.o: log.c log.h Makefile
 rtmp.o: rtmp.c rtmp.h rtmp_sys.h handshake.h dh.h log.h amf.h Makefile
@@ -83,9 +83,9 @@
        cp librtmp.pc $(LIBDIR)/pkgconfig
        cp librtmp.3 $(MANDIR)/man3
 
-install_so.0:  librtmp.so.0
-       cp librtmp.so.0 $(LIBDIR)
-       cd $(LIBDIR); ln -sf librtmp.so.0 librtmp.so
+install_0.dylib:       librtmp.0.dylib
+       cp librtmp.0.dylib $(LIBDIR)
+       cd $(LIBDIR); ln -sf librtmp.0.dylib librtmp.dylib
 
 install_dll:   librtmp.dll
        cp librtmp.dll $(BINDIR)

--- rtmpdump.patch DELETED ---

Index: rtmpdump-10.6.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/rtmpdump-10.6.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- rtmpdump-10.6.info  12 Oct 2010 22:42:04 -0000      1.1
+++ rtmpdump-10.6.info  12 Oct 2010 23:39:45 -0000      1.2
@@ -24,7 +24,7 @@
 Source: http://rtmpdump.mplayerhq.hu/download/%{ni}-%v.tgz
 Source-MD5: eb961f31cd55f0acf5aad1a7b900ef59
 
-PatchFile: %n.patch
+PatchFile: %n-10.6.patch
 PatchFile-MD5: ecd1343e47f920b03bd900554b28abec
 
 Depends: ( %type_raw[-64bit] = -64bit ) 64bit-cpu


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to