[126800] trunk/dports/devel/libdvbpsi

ctreleaven at macports.org ctreleaven at macports.org
Wed Oct 15 06:53:53 PDT 2014


Revision: 126800
          https://trac.macports.org/changeset/126800
Author:   ctreleaven at macports.org
Date:     2014-10-15 06:53:53 -0700 (Wed, 15 Oct 2014)
Log Message:
-----------
libdvbpsi: fix Mavericks build, lint whitespace

Modified Paths:
--------------
    trunk/dports/devel/libdvbpsi/Portfile
    trunk/dports/devel/libdvbpsi/files/patch-no_examples.diff

Added Paths:
-----------
    trunk/dports/devel/libdvbpsi/files/patch-configure_Mavericks_flags.diff

Modified: trunk/dports/devel/libdvbpsi/Portfile
===================================================================
--- trunk/dports/devel/libdvbpsi/Portfile	2014-10-15 12:24:53 UTC (rev 126799)
+++ trunk/dports/devel/libdvbpsi/Portfile	2014-10-15 13:53:53 UTC (rev 126800)
@@ -32,12 +32,18 @@
 depends_build-append \
                     port:automake port:autoconf port:libtool
 
-pre-configure { 
-    system -W ${worksrcpath} "/bin/sh bootstrap" 
+pre-configure {
+    system -W ${worksrcpath} "/bin/sh bootstrap"
 }
 
 configure.args-append \
                     --disable-silent-rules --enable-release
 
+platform darwin {
+    if {${os.major} >= 13} {
+        # assume Yosemite will also have this issue
+        patchfiles-append patch-configure_Mavericks_flags.diff
+    }
+}
 livecheck.url       http://download.videolan.org/pub/${name}/
 livecheck.regex     {>([0-9.]+)/<}

Added: trunk/dports/devel/libdvbpsi/files/patch-configure_Mavericks_flags.diff
===================================================================
--- trunk/dports/devel/libdvbpsi/files/patch-configure_Mavericks_flags.diff	                        (rev 0)
+++ trunk/dports/devel/libdvbpsi/files/patch-configure_Mavericks_flags.diff	2014-10-15 13:53:53 UTC (rev 126800)
@@ -0,0 +1,12 @@
+$ diff -u configure.ac.orig configure.ac
+--- configure.ac.orig	2014-10-15 09:00:52.000000000 -0400
++++ configure.ac	2014-10-15 09:04:11.000000000 -0400
+@@ -23,7 +23,7 @@
+ 
+ dnl add features to CFLAGS
+ CFLAGS_dist="-Wall -Werror --std=gnu99 -D_GNU_SOURCE"
+-CFLAGS_dist="${CFLAGS_dist} -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare"
++CFLAGS_dist="${CFLAGS_dist} -Wno-tautological-constant-out-of-range-compare -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare"
+ 
+ dnl check the operating system
+ case "${target_os}" in

Modified: trunk/dports/devel/libdvbpsi/files/patch-no_examples.diff
===================================================================
--- trunk/dports/devel/libdvbpsi/files/patch-no_examples.diff	2014-10-15 12:24:53 UTC (rev 126799)
+++ trunk/dports/devel/libdvbpsi/files/patch-no_examples.diff	2014-10-15 13:53:53 UTC (rev 126800)
@@ -10,7 +10,7 @@
  DIST_SUBDIRS = $(SUBDIRS) doc wince
  
  EXTRA_DIST = libdvbpsi.spec libdvbpsi.spec.in libdvbpsi.pc.in bootstrap
-SixBare:libdvbpsi-1.2.0 craigtreleaven$ diff -u configure.ac.orig configure.ac
+$ diff -u configure.ac.orig configure.ac
 --- configure.ac.orig	2014-10-14 14:57:26.000000000 -0400
 +++ configure.ac	2014-10-14 14:57:59.000000000 -0400
 @@ -105,8 +105,6 @@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141015/878a9e73/attachment.html>


More information about the macports-changes mailing list