Hello,

On the following system:

Package manager version: 0.36.4.1
Distribution version: selfupdate-rsync Wed Apr 16 22:56:44 2014, 10.9, x86_64
Trees: local/main stable/main
Xcode.app: 5.1.1
Xcode command-line tools: 5.1.0.0.1.1396320587
Max. Fink build jobs:  8

the failure goes as follows:

libtool: compile:  g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
-DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I. -I.. 
-I/sw/include -O3 -Wuninitialized -fexpensive-optimizations 
-fomit-frame-pointer -minline-all-stringops -falign-functions=4 -pipe -g 
-pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra 
-Wno-error=unused-private-field -mmmx -DHAVE_MMX -c codingparams_byteio.cpp  
-fno-common -DPIC -o .libs/libdirac_byteio_la-codingparams_byteio.o
parseparams_byteio.cpp:43:20: error: unused variable 'PP_AU_PICTURE_NUM_SIZE'
      [-Werror,-Wunused-const-variable]
const unsigned int PP_AU_PICTURE_NUM_SIZE = 4;
                   ^
1 error generated.

Interestingly enough this is not the fault of the new Apple
command-line tools; indeed, notice the -Werror introduced by the
package.  In any event, the following trivial (symptomatic) patch
fixes things:

------ begin dirac.info.patch ------
--- dirac.info-orig     2013-02-03 19:02:08.000000000 -0500
+++ dirac.info  2014-04-17 00:39:39.000000000 -0400
@@ -1,8 +1,10 @@
 Package: dirac
 Version: 1.0.2
-Revision: 2
+Revision: 3
 Source: mirror:sourceforge:%n/%n-%v.tar.gz
 Source-MD5: a57c2c5e58062d437d9ab13dffb28f0f
+PatchFile: %n.patch
+PatchFile-MD5: 9b8402081249d99a42fcafaf995450ac
 License: OSI-Approved
 Maintainer: Pierre-Henri Lavigne <yakesonchih...@aim.com>
 Homepage: http://diracvideo.org/
@@ -20,6 +22,7 @@
 Depends: %N-shlibs (>= %v-%r)
 DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
 PatchScript:<<
+/usr/bin/patch -p1 < %{PatchFile}
 perl -pi -e "s,\-dR,\-R,g" doc/Makefile.am
 perl -pi -e "s,\-dR,\-R,g" doc/Makefile.in
 perl -pi -e "s,march\=,arch ,g" configure
------ end dirac.info.patch ------

------ begin dirac.patch ------
diff -Pur dirac-1.0.2-orig/Makefile.in dirac-1.0.2/Makefile.in
--- dirac-1.0.2-orig/libdirac_byteio/parseparams_byteio.cpp     2008-10-20 
20:04:08.000000000 -0400
+++ dirac-1.0.2/libdirac_byteio/parseparams_byteio.cpp  2014-04-17 
00:24:47.000000000 -0400
@@ -40,7 +40,7 @@
 #include <libdirac_byteio/parseparams_byteio.h>
 #include <libdirac_common/dirac_exception.h>

-const unsigned int PP_AU_PICTURE_NUM_SIZE = 4;
+//const unsigned int PP_AU_PICTURE_NUM_SIZE = 4;

 using namespace dirac;
 
------ begin dirac.patch ------

Best regards,
Stefan

-- 
If it was so, it might be; and if it were so, it would be; but as it 
isn't, it ain't.  That's logic.  --Lewis Carroll, Through the Looking-Glass

No HTML emails and proprietary attachments please <http://bruda.ca/ascii>

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to