[arch-commits] Commit in sg3_utils/trunk (PKGBUILD stdint.patch)
François Charette
francois at archlinux.org
Tue Jun 30 14:22:29 UTC 2009
Date: Tuesday, June 30, 2009 @ 10:22:28
Author: francois
Revision: 43973
patch to fix headers: see http://bugs.gentoo.org/show_bug.cgi?id=229653
Added:
sg3_utils/trunk/stdint.patch
Modified:
sg3_utils/trunk/PKGBUILD
--------------+
PKGBUILD | 8 +++++---
stdint.patch | 22 ++++++++++++++++++++++
2 files changed, 27 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-06-30 13:16:08 UTC (rev 43972)
+++ PKGBUILD 2009-06-30 14:22:28 UTC (rev 43973)
@@ -2,18 +2,20 @@
# Maintainer: Daniel Isenmann <daniel at archlinux.org>
pkgname=sg3_utils
pkgver=1.27
-pkgrel=1
+pkgrel=2
pkgdesc="Generic SCSI utilities"
arch=(i686 x86_64)
url="http://sg.danny.cz/sg/sg3_utils.html"
license=('GPL' 'custom:BSD')
depends=('glibc')
options=('!libtool')
-source=(http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tgz)
-md5sums=('de42374a6ba11258f1963134542af12c')
+source=("http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tgz" "stdint.patch")
+md5sums=('de42374a6ba11258f1963134542af12c'
+ '795480007541389d2ceebb364c75dbcf')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p0 < ../stdint.patch || return 1
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
Added: stdint.patch
===================================================================
--- stdint.patch (rev 0)
+++ stdint.patch 2009-06-30 14:22:28 UTC (rev 43973)
@@ -0,0 +1,22 @@
+--- include/sg_cmds_basic.h 2008/06/26 23:27:40 1.1
++++ include/sg_cmds_basic.h 2008/06/26 23:28:06
+@@ -30,6 +30,8 @@
+ *
+ */
+
++#include <stdint.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+--- include/sg_cmds_extra.h 2008/06/26 23:27:40 1.1
++++ include/sg_cmds_extra.h 2008/06/26 23:29:02
+@@ -30,6 +30,8 @@
+ *
+ */
+
++#include <stdint.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
More information about the arch-commits
mailing list