Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs
In directory vz-cvs-3.sog:/tmp/cvs-serv27979

Added Files:
        id3lib4.info id3lib4.patch 
Log Message:
move to 10.7
move PatchScript to PatchFile and add clang fixes

--- NEW FILE: id3lib4.patch ---
diff -ruN id3lib-3.8.3-orig/configure id3lib-3.8.3/configure
--- id3lib-3.8.3-orig/configure 2003-03-01 19:23:00.000000000 -0500
+++ id3lib-3.8.3/configure      2011-07-27 17:24:03.000000000 -0400
@@ -5581,7 +5581,7 @@
     # FIXME: Relying on posixy $() will cause problems for
     #        cross-compilation, but unfortunately the echo tests do not
     #        yet detect zsh echo's removal of \ escapes.
-    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo 
-dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags 
-install_name $rpath/$soname $verstring'
+    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle 
$allow_undefined_flag || echo -dynamiclib) -o $lib $libobjs 
$deplibs$linker_flags $(test "x$module" != xyes && echo -install_name 
$rpath/$soname $verstring)'
     # We need to add '_' to the symbols in $export_symbols first
     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
     hardcode_direct=yes
diff -ruN id3lib-3.8.3-orig/examples/demo_convert.cpp 
id3lib-3.8.3/examples/demo_convert.cpp
--- id3lib-3.8.3-orig/examples/demo_convert.cpp 2003-03-01 19:23:00.000000000 
-0500
+++ id3lib-3.8.3/examples/demo_convert.cpp      2011-07-27 17:24:17.000000000 
-0400
@@ -84,7 +84,7 @@
   }
 }
 
-int main( unsigned int argc, char * const argv[])
+int main( int argc, char * const argv[])
 {
   flags_t ulFlag = ID3TT_ALL;
   gengetopt_args_info args;
diff -ruN id3lib-3.8.3-orig/examples/demo_copy.cpp 
id3lib-3.8.3/examples/demo_copy.cpp
--- id3lib-3.8.3-orig/examples/demo_copy.cpp    2003-03-01 19:23:00.000000000 
-0500
+++ id3lib-3.8.3/examples/demo_copy.cpp 2011-07-27 17:24:17.000000000 -0400
@@ -81,7 +81,7 @@
   }
 }
 
-int main( unsigned int argc, char * const argv[])
+int main( int argc, char * const argv[])
 {
   int ulFlag = ID3TT_ID3;
   ID3D_INIT_DOUT();
diff -ruN id3lib-3.8.3-orig/examples/demo_info.cpp 
id3lib-3.8.3/examples/demo_info.cpp
--- id3lib-3.8.3-orig/examples/demo_info.cpp    2003-03-01 19:23:00.000000000 
-0500
+++ id3lib-3.8.3/examples/demo_info.cpp 2011-07-27 17:24:17.000000000 -0400
@@ -309,7 +309,7 @@
 
 #define DEBUG
 
-int main( unsigned int argc, char * const argv[])
+int main( int argc, char * const argv[])
 {
   ID3D_INIT_DOUT();
 
diff -ruN id3lib-3.8.3-orig/examples/demo_tag.cpp 
id3lib-3.8.3/examples/demo_tag.cpp
--- id3lib-3.8.3-orig/examples/demo_tag.cpp     2003-03-01 19:23:00.000000000 
-0500
+++ id3lib-3.8.3/examples/demo_tag.cpp  2011-07-27 17:24:17.000000000 -0400
@@ -46,7 +46,7 @@
     os << "v2";
 }
 
-int main( unsigned int argc, char * const argv[])
+int main( int argc, char * const argv[])
 {
   int ulFlag = ID3TT_ID3;
   ID3D_INIT_DOUT();
diff -ruN id3lib-3.8.3-orig/examples/findeng.cpp 
id3lib-3.8.3/examples/findeng.cpp
--- id3lib-3.8.3-orig/examples/findeng.cpp      2003-03-01 19:23:00.000000000 
-0500
+++ id3lib-3.8.3/examples/findeng.cpp   2011-07-27 17:24:17.000000000 -0400
@@ -9,7 +9,7 @@
 using std::cout;
 using std::endl;
 
-int main(unsigned argc, char* argv[])
+int main(int argc, char* argv[])
 {
   ID3D_INIT_DOUT();
   ID3D_INIT_WARNING();
diff -ruN id3lib-3.8.3-orig/examples/findstr.cpp 
id3lib-3.8.3/examples/findstr.cpp
--- id3lib-3.8.3-orig/examples/findstr.cpp      2003-03-01 19:23:00.000000000 
-0500
+++ id3lib-3.8.3/examples/findstr.cpp   2011-07-27 17:24:17.000000000 -0400
@@ -9,7 +9,7 @@
 using std::cout;
 using std::endl;
 
-int main(unsigned argc, char* argv[])
+int main(int argc, char* argv[])
 {
   ID3D_INIT_DOUT();
   ID3D_INIT_WARNING();
diff -ruN id3lib-3.8.3-orig/examples/test_io.cpp 
id3lib-3.8.3/examples/test_io.cpp
--- id3lib-3.8.3-orig/examples/test_io.cpp      2003-03-01 19:23:00.000000000 
-0500
+++ id3lib-3.8.3/examples/test_io.cpp   2011-07-27 17:24:17.000000000 -0400
@@ -4,6 +4,8 @@
 #  include <config.h>
 #endif
 
+#include <iostream.h>
+#include <iomanip.h>
 #include <id3/readers.h>
 #include <id3/writers.h>
 #include <id3/io_decorators.h>
@@ -18,7 +18,7 @@
 using namespace dami;
 
 int
-main(size_t argc, const char** argv)
+main(int argc, const char** argv)
 {
   ID3D_INIT_DOUT();
   ID3D_INIT_WARNING();
diff -ruN id3lib-3.8.3-orig/ltmain.sh id3lib-3.8.3/ltmain.sh
--- id3lib-3.8.3-orig/ltmain.sh 2003-03-01 19:23:00.000000000 -0500
+++ id3lib-3.8.3/ltmain.sh      2011-07-27 17:23:53.000000000 -0400
@@ -1739,7 +1739,7 @@
 
          if test "$installed" = no; then
            notinst_deplibs="$notinst_deplibs $lib"
-           need_relink=yes
+           need_relink=no
          fi
 
          if test -n "$old_archive_from_expsyms_cmds"; then
diff -ruN id3lib-3.8.3-orig/src/Makefile.in id3lib-3.8.3/src/Makefile.in
--- id3lib-3.8.3-orig/src/Makefile.in   2003-03-01 19:23:00.000000000 -0500
+++ id3lib-3.8.3/src/Makefile.in        2011-07-27 17:24:13.000000000 -0400
@@ -183,7 +183,7 @@
 
 libid3_la_LDFLAGS = \
   -version-info $(LT_VERSION) \
-  -release $(LT_RELEASE) \
+    \
   -export-dynamic
 
 subdir = src

--- NEW FILE: id3lib4.info ---
Package: id3lib4
Version: 3.8.3
Revision: 2001
Source: mirror:sourceforge:id3lib/id3lib-%v.tar.gz
Source-MD5: 19f27ddd2dda4b2d26a559a4f0f402a7
SourceDirectory: id3lib-%v
BuildDepends: <<
        fink (>= 0.24.12),
        libiconv-dev
<<
Depends: %N-shlibs (>= %v-%r), libiconv
GCC: 4.0
PatchFile: %n.patch
PatchFile-MD5: 7b830be1ef203512938f3d80bff9f47d
NoSetLDFLAGS: true
SetLIBS: -L%p/lib -lz
ConfigureParams: --with-pic --enable-shared --disable-static 
--mandir=%i/share/man --infodir=%p/share/info --libexecdir=%p/lib
UseMaxBuildJobs: true
DocFiles: COPYING AUTHORS  README* ChangeLog HISTORY THANKS TODO 
Description: Library for manipulating ID3v1 and ID3v2 tags
InfoTest: <<
        TestScript: make -w check || exit 2
<<
InstallScript: <<
  make install prefix=%i
<<

SplitOff: <<
  Package: %N-shlibs
  Depends: libiconv
  Description: Shared libraries for manipulating ID3v1 and ID3v2 tags
  DocFiles: COPYING
  Files: lib/libid3.*.dylib
  Shlibs: %p/lib/libid3.3.dylib 4.0.0 %n (>= 3.8.3-1)
<<

SplitOff2: <<
  Package: %N-dev
  Depends: %N-shlibs (>= %v-%r)
  BuildDependsOnly: true
  Conflicts: id3lib37-dev, id3lib3.7-dev
  Replaces: id3lib37-dev, id3lib3.7-dev
  Description: Development files for id3lib
  DocFiles: COPYING
  Files: <<
    lib
    include
  <<
<<
SplitOff3: <<
  Package: %N-doc
  Description: Documentation for id3lib *FIXME*
  DocFiles: COPYING AUTHORS  README ChangeLog HISTORY THANKS TODO 
<<
DescDetail: <<
An open-source, cross-platform software development library for reading,
writing, and manipulating ID3v1 and ID3v2 tags. It is an on-going project
whose primary goals are full compliance with the ID3v2 standard, portability
across several platforms, and providing a powerful and feature-rich API with
a highly stable and efficient implementation.
<<
License: GPL
Maintainer: Chris Zubrzycki <[email protected]>
Homepage: http://id3lib.sourceforge.net/


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to