pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[PATCH] multimedia/libmp4v2 invalid check for nasm version



By default configure passes "-r" to nasm to get the version, but nasm (at least
the one in pkgsrc, 2.05.01) does not recognize that parameter and instead
needs "-v".
Attached patch fixes this problem
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/libmp4v2/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo    19 Nov 2007 09:48:43 -0000      1.5
+++ distinfo    25 Nov 2008 13:28:18 -0000
@@ -4,7 +4,7 @@
 RMD160 (mpeg4ip-1.6.1.tar.gz) = ee8375d9581cccbbf685f730bb36f3866eaf12f7
 Size (mpeg4ip-1.6.1.tar.gz) = 6324289 bytes
 SHA1 (patch-aa) = d2bcba203cd373f02f9e7c6e45daf4c29c0b2c3a
-SHA1 (patch-ab) = ddf8650416757f161f156b0928062d39eae7fe3e
+SHA1 (patch-ab) = f5ebbcf84d2c84f0721ce77b6e3c7bc2fcaae396
 SHA1 (patch-ac) = 9e4683fdbbfa3b85941243547773814ea50125a9
 SHA1 (patch-ad) = e5dd062d7f17230bf27ffde0fc2db72d8357fd56
 SHA1 (patch-ae) = 0418c4fa0fd966b3d5303d4f95a300d94fc48111
Index: patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/libmp4v2/patches/patch-ab,v
retrieving revision 1.2
diff -u -r1.2 patch-ab
--- patches/patch-ab    14 Nov 2007 18:44:46 -0000      1.2
+++ patches/patch-ab    25 Nov 2008 13:28:18 -0000
@@ -11,3 +11,12 @@
  touch config.h
  ac_aux_dir=
  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
+@@ -29211,7 +29211,7 @@
+    if test x$USENASM = xtrue; then
+       { echo "$as_me:$LINENO: checking nasm version..." >&5
+ echo $ECHO_N "checking nasm version...... $ECHO_C" >&6; }
+-      BILLSNASM_arg=`nasm -r | tr '.' ' '`
++      BILLSNASM_arg=`nasm -v | tr '.' ' '`
+         BILLSNASM_ret=`util/testnasm.sh $BILLSNASM_arg`
+       if test x$BILLSNASM_ret = x"yes"; then
+          USENASM=true



Home | Main Index | Thread Index | Old Index