diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
commit | 7b29169fff9e7c624890c5edffe85def8a293136 (patch) | |
tree | 47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/glib | |
parent | c491dea779dac29afff3578bf8245943817c2339 (diff) | |
download | linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2 |
LinHES 6.01.00
Diffstat (limited to 'abs/core/glib')
-rw-r--r-- | abs/core/glib/PKGBUILD | 32 | ||||
-rw-r--r-- | abs/core/glib/__changelog | 1 | ||||
-rw-r--r-- | abs/core/glib/aclocal-fixes.patch | 11 | ||||
-rw-r--r-- | abs/core/glib/gcc340.patch | 15 |
4 files changed, 59 insertions, 0 deletions
diff --git a/abs/core/glib/PKGBUILD b/abs/core/glib/PKGBUILD new file mode 100644 index 0000000..42f4420 --- /dev/null +++ b/abs/core/glib/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: Eric Belanger <eric@archlinux.org> +# Contributor: dorphell <dorphell@archlinux.org> + +pkgname=glib +pkgver=1.2.10 +pkgrel=10 +pkgdesc="Common C routines used by Gtk+ and other libs" +arch=('i686' 'x86_64') +url="http://www.gtk.org/" +license=('LGPL') +depends=('glibc') +options=('!libtool' '!emptydirs' '!docs' ) +source=(ftp://ftp.gtk.org/pub/gtk/v1.2/$pkgname-$pkgver.tar.gz \ + gcc340.patch \ + aclocal-fixes.patch) +md5sums=('6fe30dad87c77b91b632def29dd69ef9' '877b3330e822a4be69a0f8a8c268cfd7'\ + 'e52c4b88427b9785bb8049dbdc9ff6fb') +sha1sums=('e5a9361c594608d152d5d9650154c2e3260b87fa'\ + 'a2cc224a66aeffdcac16ebd9e8af18143cf54918'\ + 'ae4438cf56c0c9264ee36f6973fb445f9a820be0') + +build() { + cd $startdir/src/$pkgname-$pkgver + patch -Np1 -i ../gcc340.patch || return 1 + patch -Np0 -i ../aclocal-fixes.patch || return 1 + + #Arch64 fixes --build/host + ./configure --prefix=/usr #--host=i686-pc-linux-gnu + make || return 1 + make DESTDIR=$startdir/pkg install +} diff --git a/abs/core/glib/__changelog b/abs/core/glib/__changelog new file mode 100644 index 0000000..f2439db --- /dev/null +++ b/abs/core/glib/__changelog @@ -0,0 +1 @@ +added !emptydir !docs to options diff --git a/abs/core/glib/aclocal-fixes.patch b/abs/core/glib/aclocal-fixes.patch new file mode 100644 index 0000000..b064074 --- /dev/null +++ b/abs/core/glib/aclocal-fixes.patch @@ -0,0 +1,11 @@ +--- glib.m4.orig 2006-03-05 13:13:24.000000000 +0000 ++++ glib.m4 2006-03-05 13:13:35.000000000 +0000 +@@ -5,7 +5,7 @@ + dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if "gmodule" or + dnl gthread is specified in MODULES, pass to glib-config + dnl +-AC_DEFUN(AM_PATH_GLIB, ++AC_DEFUN([AM_PATH_GLIB], + [dnl + dnl Get the cflags and libraries from the glib-config script + dnl diff --git a/abs/core/glib/gcc340.patch b/abs/core/glib/gcc340.patch new file mode 100644 index 0000000..941111a --- /dev/null +++ b/abs/core/glib/gcc340.patch @@ -0,0 +1,15 @@ +diff -Naur glib-1.2.10.orig/glib.h glib-1.2.10/glib.h +--- glib-1.2.10.orig/glib.h 2001-02-27 04:44:38.000000000 +0100 ++++ glib-1.2.10/glib.h 2004-05-27 15:50:32.436527848 +0200 +@@ -271,8 +271,10 @@ + + /* Wrap the gcc __PRETTY_FUNCTION__ and __FUNCTION__ variables with + * macros, so we can refer to them as strings unconditionally. ++ * ++ * Unfortunately these are _not_ treated as strings anymore in GCC3.4. + */ +-#ifdef __GNUC__ ++#if defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ < 4) + #define G_GNUC_FUNCTION __FUNCTION__ + #define G_GNUC_PRETTY_FUNCTION __PRETTY_FUNCTION__ + #else /* !__GNUC__ */ |