summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2016-02-16 08:56:27 +0000
committerleot <leot@pkgsrc.org>2016-02-16 08:56:27 +0000
commitd9437ac5932c5bd6c075e3f88450d4d5e7c58c41 (patch)
treeffc97a31c25ec01d8d65885b3afb5c1f23ac52e8 /audio
parent3436139e08a13e832a1fc16b53d3dce4b8311600 (diff)
downloadpkgsrc-d9437ac5932c5bd6c075e3f88450d4d5e7c58c41.tar.gz
...and also remove moc-devel/patches/*.
Diffstat (limited to 'audio')
-rw-r--r--audio/moc-devel/patches/patch-aa2
-rw-r--r--audio/moc-devel/patches/patch-ab28
-rw-r--r--audio/moc-devel/patches/patch-ac11
-rw-r--r--audio/moc-devel/patches/patch-ad108
-rw-r--r--audio/moc-devel/patches/patch-af2
-rw-r--r--audio/moc-devel/patches/patch-ag2
-rw-r--r--audio/moc-devel/patches/patch-decoder__plugins_vorbis_vorbis.m413
-rw-r--r--audio/moc-devel/patches/patch-playlist__file.c28
8 files changed, 0 insertions, 194 deletions
diff --git a/audio/moc-devel/patches/patch-aa b/audio/moc-devel/patches/patch-aa
deleted file mode 100644
index b3a3e8b66f3..00000000000
--- a/audio/moc-devel/patches/patch-aa
+++ /dev/null
@@ -1,2 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2013/02/10 08:39:00 ryoon Exp $
-
diff --git a/audio/moc-devel/patches/patch-ab b/audio/moc-devel/patches/patch-ab
deleted file mode 100644
index 8f51196266f..00000000000
--- a/audio/moc-devel/patches/patch-ab
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2013/02/10 08:39:00 ryoon Exp $
-
-- use export-dynamic correctly
-- check for sched_get_priority_max being in -lrt
-
---- configure.in.orig 2012-10-11 19:39:37.000000000 +0000
-+++ configure.in
-@@ -87,7 +87,10 @@ AC_CHECK_HEADERS([fcntl.h string.h strin
- AC_MSG_ERROR([Can't find required header files.]))
- AC_CHECK_HEADERS([sys/select.h inttypes.h limits.h stdint.h])
-
--AC_CHECK_FUNCS([sched_get_priority_max])
-+AC_CHECK_FUNCS([sched_get_priority_max], ,
-+ [AC_CHECK_LIB([rt],
-+ [sched_get_priority_max],
-+ [EXTRA_LIBS="$EXTRA_LIBS -lrt"])])
-
- dnl langinfo
- AC_CHECK_HEADERS([langinfo.h])
-@@ -142,7 +145,7 @@ AX_CFLAGS_GCC_OPTION(-W)
-
- PKG_PROG_PKG_CONFIG([0.20])
-
--if test "x$PKG_CONFIG" == "x"
-+if test "x$PKG_CONFIG" = "x"
- then
- AC_MSG_WARN([No pkg-config utility found or it's too old, I will have trouble finding installed libraries.])
- fi
diff --git a/audio/moc-devel/patches/patch-ac b/audio/moc-devel/patches/patch-ac
deleted file mode 100644
index 8fe5f7842ef..00000000000
--- a/audio/moc-devel/patches/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2013/02/10 08:39:00 ryoon Exp $
-
---- Makefile.am.orig 2012-07-08 01:16:08.000000000 +0000
-+++ Makefile.am
-@@ -1,5 +1,6 @@
- ACLOCAL_AMFLAGS = -I m4
- SUBDIRS = themes decoder_plugins
-+ACLOCAL_AMFLAGS = -I m4
- AM_CPPFLAGS = -DSYSTEM_THEMES_DIR=\"$(pkgdatadir)/themes\" \
- -DPLUGIN_DIR=\"$(plugindir)/$(DECODER_PLUGIN_DIR)\"
-
diff --git a/audio/moc-devel/patches/patch-ad b/audio/moc-devel/patches/patch-ad
deleted file mode 100644
index aeecb538921..00000000000
--- a/audio/moc-devel/patches/patch-ad
+++ /dev/null
@@ -1,108 +0,0 @@
-$NetBSD: patch-ad,v 1.4 2013/02/10 08:39:00 ryoon Exp $
-
-regen after patching configure.in:
-
-- use export-dynamic correctly (first hunk)
-- check for sched_get_priority_max being in -lrt
-
---- configure.orig 2012-10-11 19:45:04.000000000 +0000
-+++ configure
-@@ -18085,7 +18085,7 @@ $as_echo "no" >&6; }
-
- fi
-
--if test "x$PKG_CONFIG" == "x"
-+if test "x$PKG_CONFIG" = "x"
- then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No pkg-config utility found or it's too old, I will have trouble finding installed libraries." >&5
- $as_echo "$as_me: WARNING: No pkg-config utility found or it's too old, I will have trouble finding installed libraries." >&2;}
-@@ -24165,6 +24165,72 @@ eval as_val=\$$as_ac_var
- #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
- _ACEOF
-
-+else
-+ { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lrt" >&5
-+echo $ECHO_N "checking for sched_get_priority_max in -lrt... $ECHO_C" >&6; }
-+if test "${ac_cv_lib_rt_sched_get_priority_max+set}" = set; then
-+ echo $ECHO_N "(cached) $ECHO_C" >&6
-+else
-+ ac_check_lib_save_LIBS=$LIBS
-+LIBS="-lrt $LIBS"
-+cat >conftest.$ac_ext <<_ACEOF
-+/* confdefs.h. */
-+_ACEOF
-+cat confdefs.h >>conftest.$ac_ext
-+cat >>conftest.$ac_ext <<_ACEOF
-+/* end confdefs.h. */
-+
-+/* Override any GCC internal prototype to avoid an error.
-+ Use char because int might match the return type of a GCC
-+ builtin and then its argument prototype would still apply. */
-+#ifdef __cplusplus
-+extern "C"
-+#endif
-+char sched_get_priority_max ();
-+int
-+main ()
-+{
-+return sched_get_priority_max ();
-+ ;
-+ return 0;
-+}
-+_ACEOF
-+rm -f conftest.$ac_objext conftest$ac_exeext
-+if { (ac_try="$ac_link"
-+case "(($ac_try" in
-+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-+ *) ac_try_echo=$ac_try;;
-+esac
-+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-+ (eval "$ac_link") 2>conftest.er1
-+ ac_status=$?
-+ grep -v '^ *+' conftest.er1 >conftest.err
-+ rm -f conftest.er1
-+ cat conftest.err >&5
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); } && {
-+ test -z "$ac_c_werror_flag" ||
-+ test ! -s conftest.err
-+ } && test -s conftest$ac_exeext &&
-+ $as_test_x conftest$ac_exeext; then
-+ ac_cv_lib_rt_sched_get_priority_max=yes
-+else
-+ echo "$as_me: failed program was:" >&5
-+sed 's/^/| /' conftest.$ac_ext >&5
-+
-+ ac_cv_lib_rt_sched_get_priority_max=no
-+fi
-+
-+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-+ conftest$ac_exeext conftest.$ac_ext
-+LIBS=$ac_check_lib_save_LIBS
-+fi
-+{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_get_priority_max" >&5
-+echo "${ECHO_T}$ac_cv_lib_rt_sched_get_priority_max" >&6; }
-+if test $ac_cv_lib_rt_sched_get_priority_max = yes; then
-+ EXTRA_LIBS="$EXTRA_LIBS -lrt"
-+fi
-+
- fi
- done
-
-@@ -25078,6 +25144,7 @@ if ac_fn_c_try_link "$LINENO"; then :
- mp_cv_ncursesw=yes
- else
- mp_cv_ncursesw=no
-+ LIBS="$mp_save_LIBS"
- fi
- rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-@@ -27422,7 +27489,7 @@ if test "${with_vorbis+set}" = set; then
- fi
-
-
--if test "x$with_vorbis" == "xtremor"
-+if test "x$with_vorbis" = "xtremor"
- then
-
- pkg_failed=no
diff --git a/audio/moc-devel/patches/patch-af b/audio/moc-devel/patches/patch-af
deleted file mode 100644
index 94271ab6e9c..00000000000
--- a/audio/moc-devel/patches/patch-af
+++ /dev/null
@@ -1,2 +0,0 @@
-$NetBSD: patch-af,v 1.2 2013/02/10 08:39:00 ryoon Exp $
-
diff --git a/audio/moc-devel/patches/patch-ag b/audio/moc-devel/patches/patch-ag
deleted file mode 100644
index 3126973c49e..00000000000
--- a/audio/moc-devel/patches/patch-ag
+++ /dev/null
@@ -1,2 +0,0 @@
-$NetBSD: patch-ag,v 1.2 2013/02/10 08:39:00 ryoon Exp $
-
diff --git a/audio/moc-devel/patches/patch-decoder__plugins_vorbis_vorbis.m4 b/audio/moc-devel/patches/patch-decoder__plugins_vorbis_vorbis.m4
deleted file mode 100644
index 3d51ae8b5a7..00000000000
--- a/audio/moc-devel/patches/patch-decoder__plugins_vorbis_vorbis.m4
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-decoder__plugins_vorbis_vorbis.m4,v 1.1 2013/02/10 08:39:00 ryoon Exp $
-
---- decoder_plugins/vorbis/vorbis.m4.orig 2012-04-16 03:18:59.000000000 +0000
-+++ decoder_plugins/vorbis/vorbis.m4
-@@ -3,7 +3,7 @@ dnl vorbis
- AC_ARG_WITH(vorbis, AS_HELP_STRING([--without-vorbis],
- [Compile without Ogg Vorbis support]))
-
--if test "x$with_vorbis" == "xtremor"
-+if test "x$with_vorbis" = "xtremor"
- then
- PKG_CHECK_MODULES(OGG_VORBIS,
- [vorbisidec >= 1.0],
diff --git a/audio/moc-devel/patches/patch-playlist__file.c b/audio/moc-devel/patches/patch-playlist__file.c
deleted file mode 100644
index a2962293860..00000000000
--- a/audio/moc-devel/patches/patch-playlist__file.c
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-playlist__file.c,v 1.2 2013/02/10 08:39:00 ryoon Exp $
-
---- playlist_file.c.orig 2012-08-16 06:44:35.000000000 +0000
-+++ playlist_file.c
-@@ -90,9 +90,11 @@ static int plist_load_m3u (struct plist
- return 0;
- }
-
-+#ifndef __sun
- /* Lock gets released by fclose(). */
- if (flock (fileno (file), LOCK_SH) == -1)
- logit ("Can't flock() the playlist file: %s", strerror (errno));
-+#endif
-
- while ((line = read_line (file))) {
- if (!strncmp (line, "#EXTINF:", sizeof("#EXTINF:") - 1)) {
-@@ -412,9 +414,11 @@ static int plist_save_m3u (struct plist
- return 0;
- }
-
-+#ifndef __sun
- /* Lock gets released by fclose(). */
- if (flock (fileno (file), LOCK_EX) == -1)
- logit ("Can't flock() the playlist file: %s", strerror (errno));
-+#endif
-
- if (fprintf (file, "#EXTM3U\r\n") < 0) {
- error ("Error writing playlist: %s", strerror (errno));