[arch-commits] Commit in acpid/trunk (PKGBUILD libc_compat.h)

Sébastien Luttringer seblu at archlinux.org
Tue Aug 18 15:27:52 UTC 2015


    Date: Tuesday, August 18, 2015 @ 17:27:52
  Author: seblu
Revision: 138486

upgpkg: acpid 2.0.25-1

Modified:
  acpid/trunk/PKGBUILD
Deleted:
  acpid/trunk/libc_compat.h

---------------+
 PKGBUILD      |   14 ++++----------
 libc_compat.h |   40 ----------------------------------------
 2 files changed, 4 insertions(+), 50 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-18 13:35:19 UTC (rev 138485)
+++ PKGBUILD	2015-08-18 15:27:52 UTC (rev 138486)
@@ -5,7 +5,7 @@
 # Contributor: Jonathan Schmidt <j.schmidt at archlinux.us
 
 pkgname=acpid
-pkgver=2.0.24
+pkgver=2.0.25
 pkgrel=1
 pkgdesc='A daemon for delivering ACPI power management events with netlink support'
 arch=('i686' 'x86_64')
@@ -18,18 +18,12 @@
 source=("http://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
         'acpid.service'
         'anything'
-        'handler.sh'
-        'libc_compat.h')
-md5sums=('54719f8cbafed5875c2e481635ac7007'
+        'handler.sh')
+md5sums=('69bb0cc4a0a89eb2dfecc4851087f568'
          'b9a9810eefae2142e20c965c01b410de'
          '2d37b98d6e74bab815604b8b48c6cfd4'
-         '47f44ff5f02685dce8bcdab8568f0c38'
-         'd798029e5d3896cd5fd2fb7ebdf2a81a')
+         '47f44ff5f02685dce8bcdab8568f0c38')
 
-prepare() {
-  mv libc_compat.h $pkgname-$pkgver
-}
-
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr --sbindir=/usr/bin

Deleted: libc_compat.h
===================================================================
--- libc_compat.h	2015-08-18 13:35:19 UTC (rev 138485)
+++ libc_compat.h	2015-08-18 15:27:52 UTC (rev 138486)
@@ -1,40 +0,0 @@
-/*
- *  libc_compat.h - implement defs/macros missing from some libcs
- *
- *  Copyright (C) 1999-2000 Andrew Henroid
- *  Copyright (C) 2001 Sun Microsystems
- *  Portions Copyright (C) 2004 Tim Hockin (thockin at hockin.org)
- *
- *  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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- */
-
-#ifndef LIBC_COMPAT_H__
-#define LIBC_COMPAT_H__
-
-/* Evaluate EXPRESSION, and repeat as long as it returns -1 with `errno'
-   set to EINTR. This macro is present on glibc/uclibc but may not be in other cases.  */
-
-#ifndef ____GLIBC__
-#ifndef TEMP_FAILURE_RETRY
-#define TEMP_FAILURE_RETRY(expression) \
-  (__extension__                                                             \
-    ({ long int __result;                                                    \
-       do __result = (long int) (expression);                                \
-       while (__result == -1L && errno == EINTR);                            \
-       __result; }))
-#endif
-#endif /* __GLIBC__ */
-
-#endif /* LIBC_COMPAT_H__ */



More information about the arch-commits mailing list