Include proper headers and respect LDFLAGS.
authorMike Frysinger <vapier@gentoo.org>
Tue, 3 Apr 2007 05:15:20 +0000 (05:15 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 3 Apr 2007 05:15:20 +0000 (05:15 +0000)
Package-Manager: portage-2.1.2.3

sys-apps/setserial/ChangeLog
sys-apps/setserial/Manifest
sys-apps/setserial/files/setserial-2.17-build.patch [new file with mode: 0644]
sys-apps/setserial/files/setserial-2.17-headers.patch [new file with mode: 0644]
sys-apps/setserial/setserial-2.17-r3.ebuild

index 3170ca821e8336bf6fdbf77ad06921da82e0a9df..cb62b4e142bf25b5165299596930d1f57a35239d 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sys-apps/setserial
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/setserial/ChangeLog,v 1.11 2007/02/09 08:32:15 flameeyes Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/setserial/ChangeLog,v 1.12 2007/04/03 05:15:20 vapier Exp $
+
+  03 Apr 2007; Mike Frysinger <vapier@gentoo.org>
+  +files/setserial-2.17-build.patch, +files/setserial-2.17-headers.patch,
+  setserial-2.17-r3.ebuild:
+  Include proper headers and respect LDFLAGS.
 
   09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
   Regenerate digest in Manifest2 format.
index 89fc91d5d51dc643c346a8a6bd8b1d15dc3ee2f7..0c8a061accad56473c4c73d63eb4ba0ca92801b2 100644 (file)
@@ -5,6 +5,14 @@ AUX serial 1041 RMD160 4c40e4ad4044b95761b82f7b362f073a9de178b7 SHA1 07bf6a1b1cd
 MD5 4a3c53fc994998ba959e123b697d6d97 files/serial 1041
 RMD160 4c40e4ad4044b95761b82f7b362f073a9de178b7 files/serial 1041
 SHA256 c0d24677b8f72ca4cef6437798a289bbf4e2d7207bd4f287db5bb8c8fb704e87 files/serial 1041
+AUX setserial-2.17-build.patch 306 RMD160 18bd9dfabb66e04e5d006ced5238b1bd7041843f SHA1 05a318aeb819e5d08675b4a169168f63ee002e27 SHA256 ed206d99f02ff051ddb5ad5098d5271acee25751e232f92c75ffbc1d46b266aa
+MD5 0fb655dc1dcb2127d0495a82cdf4021e files/setserial-2.17-build.patch 306
+RMD160 18bd9dfabb66e04e5d006ced5238b1bd7041843f files/setserial-2.17-build.patch 306
+SHA256 ed206d99f02ff051ddb5ad5098d5271acee25751e232f92c75ffbc1d46b266aa files/setserial-2.17-build.patch 306
+AUX setserial-2.17-headers.patch 232 RMD160 bbcc98f5baee69b4b35811008333ee4375d78a17 SHA1 ba9017d1af0f1cbe8bd27293a2f9ff38f77da65f SHA256 62d3b23964b6276682e4d85081a0583f906419a43b6e1bf250bafe1edea4aa1c
+MD5 6915b1af112d3c346904fcf57bec2653 files/setserial-2.17-headers.patch 232
+RMD160 bbcc98f5baee69b4b35811008333ee4375d78a17 files/setserial-2.17-headers.patch 232
+SHA256 62d3b23964b6276682e4d85081a0583f906419a43b6e1bf250bafe1edea4aa1c files/setserial-2.17-headers.patch 232
 AUX setserial-2.17-manpage-updates.patch 1041 RMD160 1ba7336d90ca49369c30254f4cca1e964afd1413 SHA1 23e3d7df0c4f3263db9c92d36bb4c5141287b57b SHA256 504f442b1a6c3889f20636b3afaf97d62418360d104457b7de04d5c1cbf57566
 MD5 33e5a769e532d070876a18ece512dd2f files/setserial-2.17-manpage-updates.patch 1041
 RMD160 1ba7336d90ca49369c30254f4cca1e964afd1413 files/setserial-2.17-manpage-updates.patch 1041
@@ -14,14 +22,14 @@ MD5 0682f2f5228b0463da3d2405a301c132 files/setserial-2.17-spelling.patch 283
 RMD160 9501d0dec67f6cf50da030e748cbcb800b20c63c files/setserial-2.17-spelling.patch 283
 SHA256 8bb76790944fd2a1b90e2d381e9c28d19079947e3960841f90417fa37bc21dea files/setserial-2.17-spelling.patch 283
 DIST setserial-2.17.tar.gz 52437 RMD160 91b87e203f9469dc9c5586652a5231a10cf53cc8 SHA1 68824494a0b5700f7e999564a59358bf34f79eb1 SHA256 7e4487d320ac31558563424189435d396ddf77953bb23111a17a3d1487b5794a
-EBUILD setserial-2.17-r3.ebuild 967 RMD160 d311fd648289ea6a968123abbb1eaa20549927c2 SHA1 cdc4b84ad7370bf4befbd3a32ca9853881237368 SHA256 f9789b810319f66a47f48672a01f8f5adddb0495093a484333f2721a4c14d8fb
-MD5 f5906cab88b80916b9681b8ba7b399d5 setserial-2.17-r3.ebuild 967
-RMD160 d311fd648289ea6a968123abbb1eaa20549927c2 setserial-2.17-r3.ebuild 967
-SHA256 f9789b810319f66a47f48672a01f8f5adddb0495093a484333f2721a4c14d8fb setserial-2.17-r3.ebuild 967
-MISC ChangeLog 1611 RMD160 5d86442337061ddf5855d77f6110b2ba3ffe062e SHA1 353f77629ba19641dcca265a83c57fe29c527772 SHA256 fc9a56e11356b41e1e98a9a4ae3d16c94a1ebfddfe85fc4355f614a2e8e398fa
-MD5 4995fe7be2f2fbc7a0d78802fb3fec9f ChangeLog 1611
-RMD160 5d86442337061ddf5855d77f6110b2ba3ffe062e ChangeLog 1611
-SHA256 fc9a56e11356b41e1e98a9a4ae3d16c94a1ebfddfe85fc4355f614a2e8e398fa ChangeLog 1611
+EBUILD setserial-2.17-r3.ebuild 1047 RMD160 1f1610d5033456697a7d3a1b425365d006c4b739 SHA1 707cdef9636657e28d8c5fcc67e028eaee815d54 SHA256 52cb3dbc2f305590656fa2194b7b81b37eac7a2cca2d35f4cdd69cfcac6c9ddb
+MD5 cfbeea8a83450630f91ecf4730cd7ba5 setserial-2.17-r3.ebuild 1047
+RMD160 1f1610d5033456697a7d3a1b425365d006c4b739 setserial-2.17-r3.ebuild 1047
+SHA256 52cb3dbc2f305590656fa2194b7b81b37eac7a2cca2d35f4cdd69cfcac6c9ddb setserial-2.17-r3.ebuild 1047
+MISC ChangeLog 1807 RMD160 0307dc96a9c856c28138da6191c14e984a06166d SHA1 393d9a2fc645ae10c2efd8a3cd0133c41ba3ef91 SHA256 b5b22f86c0cb14d377d489432d669f376006002ca66ea6647abcb0ca182bd61f
+MD5 f895599d24af3afde8da9820d13ab9ae ChangeLog 1807
+RMD160 0307dc96a9c856c28138da6191c14e984a06166d ChangeLog 1807
+SHA256 b5b22f86c0cb14d377d489432d669f376006002ca66ea6647abcb0ca182bd61f ChangeLog 1807
 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
@@ -30,9 +38,9 @@ MD5 e3129cfa951e8c6af627b811855d00d1 files/digest-setserial-2.17-r3 241
 RMD160 f21b9c6c698859577e1f18cd86f24fde18c3353e files/digest-setserial-2.17-r3 241
 SHA256 60d8b1bc8403b5d46f4cda8d46d965017a162fe2cd5be6e51f3504ccd7f86565 files/digest-setserial-2.17-r3 241
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
+Version: GnuPG v2.0.3 (GNU/Linux)
 
-iD8DBQFFzDGVAiZjviIA2XgRAplFAKCA1Z0G+0n49uFMM33fsYCeXSA3RgCg5Nvk
-cbW8Ik2LbiZApovLWSxdmn8=
-=hVI0
+iD8DBQFGEeMR8bi6rjpTunYRAgwhAKDRmew3hxFBksc06mN3XvsqJpR4xwCgvNTr
+1n4sI23dnWTnUB98IxtiYYw=
+=5+M9
 -----END PGP SIGNATURE-----
diff --git a/sys-apps/setserial/files/setserial-2.17-build.patch b/sys-apps/setserial/files/setserial-2.17-build.patch
new file mode 100644 (file)
index 0000000..ef5c189
--- /dev/null
@@ -0,0 +1,11 @@
+--- Makefile.in
++++ Makefile.in
+@@ -20,7 +20,7 @@
+ all: setserial setserial.cat
+ setserial: setserial.c
+-      $(CC) $(CFLAGS) $(DEFS) $(INCS) setserial.c -o setserial
++      $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) $(INCS) setserial.c -o setserial
+ setserial.cat: setserial.8
+       nroff -man setserial.8 > setserial.cat
diff --git a/sys-apps/setserial/files/setserial-2.17-headers.patch b/sys-apps/setserial/files/setserial-2.17-headers.patch
new file mode 100644 (file)
index 0000000..a6d5f38
--- /dev/null
@@ -0,0 +1,12 @@
+--- setserial.c
++++ setserial.c
+@@ -15,6 +15,9 @@
+ #include <termios.h>
+ #include <string.h>
+ #include <errno.h>
++#include <stdlib.h>
++#include <unistd.h>
++#include <sys/ioctl.h>
+ #ifdef HAVE_ASM_IOCTLS_H
+ #include <asm/ioctls.h>
index f022ade20bc7f4e7b848f21cb09abafd6c1fc826..a7a459d3cb5dae8e0c46f9218cff6c61b02e63a0 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/setserial/setserial-2.17-r3.ebuild,v 1.1 2005/02/21 15:53:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/setserial/setserial-2.17-r3.ebuild,v 1.2 2007/04/03 05:15:20 vapier Exp $
 
 inherit eutils
 
@@ -19,6 +19,8 @@ src_unpack() {
        cd "${S}"
        epatch "${FILESDIR}"/${P}-spelling.patch
        epatch "${FILESDIR}"/${P}-manpage-updates.patch
+       epatch "${FILESDIR}"/${P}-headers.patch
+       epatch "${FILESDIR}"/${P}-build.patch
 }
 
 src_compile() {