Browse Source

libsndfile: made it autotools friendly

cross
Aldas Nabazas 16 years ago committed by Alejandro Mery
parent
commit
536be2e36b
  1. 26
      audio/libsndfile/autoconf-fix.patch
  2. 32
      audio/libsndfile/automake-version.patch
  3. 15
      audio/libsndfile/libsndfile.conf
  4. 31
      audio/libsndfile/macro-fix.patch

26
audio/libsndfile/autoconf-fix.patch

@ -0,0 +1,26 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libsndfile/autoconf-fix.patch
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
diff -Nur libsndfile-1.0.17-orig/configure.ac libsndfile-1.0.17/configure.ac
--- libsndfile-1.0.17-orig/configure.ac 2008-04-19 13:55:59.000000000 +0000
+++ libsndfile-1.0.17/configure.ac 2008-04-19 13:56:46.000000000 +0000
@@ -30,6 +30,7 @@
SHARED_VERSION_INFO="1:17:0"
+AC_PROG_CXX
AC_PROG_CC
AM_PROG_LIBTOOL

32
audio/libsndfile/automake-version.patch

@ -0,0 +1,32 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libsndfile/automake-version.patch
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
diff -Nur libsndfile-1.0.17-orig/configure libsndfile-1.0.17/configure
--- libsndfile-1.0.17-orig/configure 2008-03-06 01:35:07.000000000 +0000
+++ libsndfile-1.0.17/configure 2008-03-06 02:13:16.000000000 +0000
@@ -2414,13 +2414,13 @@
# Some tools Automake needs.
-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}

15
audio/libsndfile/libsndfile.conf

@ -0,0 +1,15 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libsndfile/libsndfile.conf
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
hook_add preconf 5 "autoconf"

31
audio/libsndfile/macro-fix.patch

@ -0,0 +1,31 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libsndfile/macro-fix.patch
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
diff -Nur libsndfile-1.0.17-orig/acinclude.m4 libsndfile-1.0.17/acinclude.m4
--- libsndfile-1.0.17-orig/acinclude.m4 2008-04-14 03:21:02.000000000 +0000
+++ libsndfile-1.0.17/acinclude.m4 2008-04-14 03:21:23.000000000 +0000
@@ -266,11 +266,6 @@
ac_cv_c_big_endian=0
ac_cv_c_little_endian=0
- AC_MSG_WARN([[*****************************************************************]])
- AC_MSG_WARN([[*** Not able to determine endian-ness of target processor. ]])
- AC_MSG_WARN([[*** The constants CPU_IS_BIG_ENDIAN and CPU_IS_LITTLE_ENDIAN in ]])
- AC_MSG_WARN([[*** src/config.h may need to be hand editied. ]])
- AC_MSG_WARN([[*****************************************************************]])
fi
)# AC_C_FIND_ENDIAN
Loading…
Cancel
Save