diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-01-05 21:31:46 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-01-05 21:31:46 +0000 |
commit | c7540cad1e25cf412abb0dd7f2c5b59ea11cfe2f (patch) | |
tree | 0af3c86afdbd89598df71d4b2fce351d4129cb92 /sys-freebsd | |
parent | Remove 6.1 ebuild. (diff) | |
download | gentoo-2-c7540cad1e25cf412abb0dd7f2c5b59ea11cfe2f.tar.gz gentoo-2-c7540cad1e25cf412abb0dd7f2c5b59ea11cfe2f.tar.bz2 gentoo-2-c7540cad1e25cf412abb0dd7f2c5b59ea11cfe2f.zip |
Remove 6.1 ebuild.
(Portage version: 2.1.2_rc4-r6)
(Signed Manifest commit)
Diffstat (limited to 'sys-freebsd')
9 files changed, 8 insertions, 923 deletions
diff --git a/sys-freebsd/freebsd-sources/Manifest b/sys-freebsd/freebsd-sources/Manifest index acd30f148363..6b6410beeffb 100644 --- a/sys-freebsd/freebsd-sources/Manifest +++ b/sys-freebsd/freebsd-sources/Manifest @@ -1,10 +1,6 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX SA-06-16-smbfs.patch 874 RMD160 73c3680d7ed5c452c4160105baf1407e69b71eee SHA1 f6157a02e0cfdcdc2f3fceed56a15f451ba219ac SHA256 73dab3542ffb63818151b9d6fe21d6d0b0734da992c76d80525b711d02efaee6 -MD5 05e64e6f86c3e33185f6a1a0d2ccddf4 files/SA-06-16-smbfs.patch 874 -RMD160 73c3680d7ed5c452c4160105baf1407e69b71eee files/SA-06-16-smbfs.patch 874 -SHA256 73dab3542ffb63818151b9d6fe21d6d0b0734da992c76d80525b711d02efaee6 files/SA-06-16-smbfs.patch 874 AUX freebsd-sources-6.0-asm.patch 4172 RMD160 7872cbedbbe9fbead0d69f26674489b335317606 SHA1 350d5453ec523a6835ff7ad36bcff7f3bc7dce3f SHA256 2431b2dae991eef15c00c3e19ac01e23e374a1e8e6992053e64486032631b52e MD5 d7ba170be5603b2bc377cbd544c82a23 files/freebsd-sources-6.0-asm.patch 4172 RMD160 7872cbedbbe9fbead0d69f26674489b335317606 files/freebsd-sources-6.0-asm.patch 4172 @@ -17,18 +13,6 @@ AUX freebsd-sources-6.0-werror.patch 898 RMD160 41a6f582a70018f29c96c08a5853bcbf MD5 1c230261604f76eb3766df9769864942 files/freebsd-sources-6.0-werror.patch 898 RMD160 41a6f582a70018f29c96c08a5853bcbf167157d0 files/freebsd-sources-6.0-werror.patch 898 SHA256 7fbd139296e98697c94dcc6a4cd4d926b057779cb2415cb62bbb881b8acf26e5 files/freebsd-sources-6.0-werror.patch 898 -AUX freebsd-sources-6.1-devfs-deadlock.patch 4616 RMD160 85ce3ae845c435d5b50a4e820a9e3f9f364f7dde SHA1 99c7a0c61f9dbd31890865b6e86e01a71de67462 SHA256 196652d16339a1fe6c934c889c40eec78ed668c0fc2f253fed819587a7755825 -MD5 0e514494ce056f722aca5e98ff951916 files/freebsd-sources-6.1-devfs-deadlock.patch 4616 -RMD160 85ce3ae845c435d5b50a4e820a9e3f9f364f7dde files/freebsd-sources-6.1-devfs-deadlock.patch 4616 -SHA256 196652d16339a1fe6c934c889c40eec78ed668c0fc2f253fed819587a7755825 files/freebsd-sources-6.1-devfs-deadlock.patch 4616 -AUX freebsd-sources-6.1-gcc41.patch 16013 RMD160 c259aec856d5d4b68682138c7b1112e60b6814fa SHA1 5a0e61de9dde00279d36425cc451a2e0af1b38ae SHA256 d5b702657dae7e30774c4222094166334e5e466ccc5307a92992ed8df29e6b05 -MD5 8effd8101607ae4f84a9621e57f1ae2f files/freebsd-sources-6.1-gcc41.patch 16013 -RMD160 c259aec856d5d4b68682138c7b1112e60b6814fa files/freebsd-sources-6.1-gcc41.patch 16013 -SHA256 d5b702657dae7e30774c4222094166334e5e466ccc5307a92992ed8df29e6b05 files/freebsd-sources-6.1-gcc41.patch 16013 -AUX freebsd-sources-6.1-intrcnt.patch 800 RMD160 b6f36e51dc8267537af828c808b4502db452378e SHA1 a07cd296f1a545c5734750627206bc638b88b275 SHA256 24cd3cbd09852fe08d272eff1d8d335d4975489857669e74aae8c63a7019bd08 -MD5 b9280c2eeae04a5afa38fbf6505f6120 files/freebsd-sources-6.1-intrcnt.patch 800 -RMD160 b6f36e51dc8267537af828c808b4502db452378e files/freebsd-sources-6.1-intrcnt.patch 800 -SHA256 24cd3cbd09852fe08d272eff1d8d335d4975489857669e74aae8c63a7019bd08 files/freebsd-sources-6.1-intrcnt.patch 800 AUX freebsd-sources-6.1-ntfs.patch 1043 RMD160 0389ef971934db5b239d81ec016d94a21398c226 SHA1 03d8c702bbd6bd79f7b3cbe64f720487b87fa442 SHA256 2eb0e22bea267d7ac41c3dec81682d3cc1f1744316ea39342e2aaae1f2dca469 MD5 ea9ee941c9105bed2e9d226450087ee1 files/freebsd-sources-6.1-ntfs.patch 1043 RMD160 0389ef971934db5b239d81ec016d94a21398c226 files/freebsd-sources-6.1-ntfs.patch 1043 @@ -45,41 +29,26 @@ AUX freebsd-sources-gentoo.patch 1191 RMD160 1c8ce1849d767a995f075fe43b7313b341b MD5 91662a80d0cd0cd3dca34f3c1ca54830 files/freebsd-sources-gentoo.patch 1191 RMD160 1c8ce1849d767a995f075fe43b7313b341bd0805 files/freebsd-sources-gentoo.patch 1191 SHA256 e5e7186858259e7d6d21e925dde640a68b27255cf69ab089ee82675568e7d9a7 files/freebsd-sources-gentoo.patch 1191 -DIST freebsd-sys-6.1.tar.bz2 17361671 RMD160 eb19f6a345c665542df694a4f9170d227beaf3b6 SHA1 f9da69cabdaaad268c79670c06ba4fff3e3ef6a8 SHA256 d2ecd79b83ba06c12e358adfccc7e057e15fb7c5be76d92c537b99cbe1d84f0f DIST freebsd-sys-6.2_rc2.tar.bz2 18339807 RMD160 ab2e6110b767319a0135130f9ad16d074de61483 SHA1 f7881f43e815930fe3ef6c3517d4e2475f80479e SHA256 392d80c8dae6b7cddc4810f59869a87ec4d0d699c534d8a034b2b273640a7666 -EBUILD freebsd-sources-6.1-r3.ebuild 2419 RMD160 0b883b91a5c9e6c4cd5139fb16982e4b00696a5b SHA1 9bbf8a010ea090eebcf64e204defc628289f65bc SHA256 bb0fa9e58602f70288ceb22f27f603bfb997686f48ddbc03e821abfa07f36e57 -MD5 242afb82662fb880568a677072a59eb9 freebsd-sources-6.1-r3.ebuild 2419 -RMD160 0b883b91a5c9e6c4cd5139fb16982e4b00696a5b freebsd-sources-6.1-r3.ebuild 2419 -SHA256 bb0fa9e58602f70288ceb22f27f603bfb997686f48ddbc03e821abfa07f36e57 freebsd-sources-6.1-r3.ebuild 2419 -EBUILD freebsd-sources-6.1-r4.ebuild 2572 RMD160 d7ee3293d2bc651367b669154690ef59ae31e55e SHA1 15129e9f0a8ce018da10fb8e0b2a95a73c9143fc SHA256 926542fbef0bb45f7f5e24b8bcb8844f91e78ca4ad4af9b29fd3f0d013a60448 -MD5 8cf11566c5e1e2d0dc534d606ef1b74f freebsd-sources-6.1-r4.ebuild 2572 -RMD160 d7ee3293d2bc651367b669154690ef59ae31e55e freebsd-sources-6.1-r4.ebuild 2572 -SHA256 926542fbef0bb45f7f5e24b8bcb8844f91e78ca4ad4af9b29fd3f0d013a60448 freebsd-sources-6.1-r4.ebuild 2572 EBUILD freebsd-sources-6.2_rc2.ebuild 2704 RMD160 167582989f1d0dc6a2f0c20182b15d5c82894976 SHA1 9e0d7872671def56029e91484f47d8ce564efd20 SHA256 4f2f97bde2aa424321572a1327a76f891e2aef8de552ee568178f9bbe562a9d1 MD5 d82ed8fe4afba9c1c1cf79b5ae752e35 freebsd-sources-6.2_rc2.ebuild 2704 RMD160 167582989f1d0dc6a2f0c20182b15d5c82894976 freebsd-sources-6.2_rc2.ebuild 2704 SHA256 4f2f97bde2aa424321572a1327a76f891e2aef8de552ee568178f9bbe562a9d1 freebsd-sources-6.2_rc2.ebuild 2704 -MISC ChangeLog 9599 RMD160 cf4e72856825e54519fb34f55aec432dcfcb7015 SHA1 24f25997f0b8bda9a34bc2132fefbc6863c682be SHA256 95ee1419723087444819964a8be133f9185799c8a1fee1950f441d22ce01f250 -MD5 a88adca42493037dd5ee60788f7cd2cb ChangeLog 9599 -RMD160 cf4e72856825e54519fb34f55aec432dcfcb7015 ChangeLog 9599 -SHA256 95ee1419723087444819964a8be133f9185799c8a1fee1950f441d22ce01f250 ChangeLog 9599 +MISC ChangeLog 9906 RMD160 390e3004bf14377e59588e9ec017ca6be92b0f3a SHA1 58dbc15441e24d61d51ef39a82a8e84d2a2b6e2d SHA256 83bed4ade3449bb4bba2c42f331b3f7200d241982efb8f655479ef60ebd499cc +MD5 1f0fc43f3d53be2dd4d7619d09a5c47e ChangeLog 9906 +RMD160 390e3004bf14377e59588e9ec017ca6be92b0f3a ChangeLog 9906 +SHA256 83bed4ade3449bb4bba2c42f331b3f7200d241982efb8f655479ef60ebd499cc ChangeLog 9906 MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7 MD5 2bd48a5ae413433cbb36110b219ce97c metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 metadata.xml 156 SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7 metadata.xml 156 -MD5 bfcb2966c1ec6e468c2575c36179479c files/digest-freebsd-sources-6.1-r3 256 -RMD160 e3e91956a4a0e172a5a548c6b069c24f9864b6d9 files/digest-freebsd-sources-6.1-r3 256 -SHA256 a390411c7d0ce30970aac523a261176bf7fcb5235d6f782156ec5d52ddc382a1 files/digest-freebsd-sources-6.1-r3 256 -MD5 bfcb2966c1ec6e468c2575c36179479c files/digest-freebsd-sources-6.1-r4 256 -RMD160 e3e91956a4a0e172a5a548c6b069c24f9864b6d9 files/digest-freebsd-sources-6.1-r4 256 -SHA256 a390411c7d0ce30970aac523a261176bf7fcb5235d6f782156ec5d52ddc382a1 files/digest-freebsd-sources-6.1-r4 256 MD5 01d8ed45fdfb6302d9c0eed993e27af6 files/digest-freebsd-sources-6.2_rc2 268 RMD160 d5dd02eba1b950dbedb23d6427c0d85a4e049a48 files/digest-freebsd-sources-6.2_rc2 268 SHA256 8226d3e88265ffaf04923b5ca63c0d6d2976af1bb7ba329608a66a9ab48993a8 files/digest-freebsd-sources-6.2_rc2 268 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6 (GNU/Linux) +Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFFlTJ2AiZjviIA2XgRAsYaAKDoX7kclclL89kE8UabVZxFVLHuSgCgy1qS -8qkilGI/CtajPUVFxSZaiDM= -=+kU5 +iD8DBQFFnsPAAiZjviIA2XgRAj8gAKDvQYh3636KN2pyKyogE+nMFWyjrACfYeHB +AD9c3YUgnYKvZ6MhOoL2VvA= +=h6zd -----END PGP SIGNATURE----- diff --git a/sys-freebsd/freebsd-sources/files/SA-06-16-smbfs.patch b/sys-freebsd/freebsd-sources/files/SA-06-16-smbfs.patch deleted file mode 100644 index 826af157b273..000000000000 --- a/sys-freebsd/freebsd-sources/files/SA-06-16-smbfs.patch +++ /dev/null @@ -1,27 +0,0 @@ -Index: sys/fs/smbfs/smbfs_vnops.c -=================================================================== -RCS file: /home/ncvs/src/sys/fs/smbfs/smbfs_vnops.c,v -retrieving revision 1.61 -diff -u -I__FBSDID -r1.61 smbfs_vnops.c ---- sys/fs/smbfs/smbfs_vnops.c 13 Apr 2005 10:59:08 -0000 1.61 -+++ sys/fs/smbfs/smbfs_vnops.c 27 May 2006 10:18:33 -0000 -@@ -1018,11 +1018,18 @@ - static int - smbfs_pathcheck(struct smbmount *smp, const char *name, int nmlen, int nameiop) - { -- static const char *badchars = "*/\\:<>;?"; -+ static const char *badchars = "*/:<>;?"; - static const char *badchars83 = " +|,[]="; - const char *cp; - int i, error; - -+ /* -+ * Backslash characters, being a path delimiter, are prohibited -+ * within a path component even for LOOKUP operations. -+ */ -+ if (index(name, '\\') != NULL) -+ return ENOENT; -+ - if (nameiop == LOOKUP) - return 0; - error = ENOENT; diff --git a/sys-freebsd/freebsd-sources/files/digest-freebsd-sources-6.1-r3 b/sys-freebsd/freebsd-sources/files/digest-freebsd-sources-6.1-r3 deleted file mode 100644 index ed81a3f45c74..000000000000 --- a/sys-freebsd/freebsd-sources/files/digest-freebsd-sources-6.1-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 8893a0a0ddfa8959f71e8ee561a11333 freebsd-sys-6.1.tar.bz2 17361671 -RMD160 eb19f6a345c665542df694a4f9170d227beaf3b6 freebsd-sys-6.1.tar.bz2 17361671 -SHA256 d2ecd79b83ba06c12e358adfccc7e057e15fb7c5be76d92c537b99cbe1d84f0f freebsd-sys-6.1.tar.bz2 17361671 diff --git a/sys-freebsd/freebsd-sources/files/digest-freebsd-sources-6.1-r4 b/sys-freebsd/freebsd-sources/files/digest-freebsd-sources-6.1-r4 deleted file mode 100644 index ed81a3f45c74..000000000000 --- a/sys-freebsd/freebsd-sources/files/digest-freebsd-sources-6.1-r4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 8893a0a0ddfa8959f71e8ee561a11333 freebsd-sys-6.1.tar.bz2 17361671 -RMD160 eb19f6a345c665542df694a4f9170d227beaf3b6 freebsd-sys-6.1.tar.bz2 17361671 -SHA256 d2ecd79b83ba06c12e358adfccc7e057e15fb7c5be76d92c537b99cbe1d84f0f freebsd-sys-6.1.tar.bz2 17361671 diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-6.1-devfs-deadlock.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-6.1-devfs-deadlock.patch deleted file mode 100644 index 016bdb9d1f19..000000000000 --- a/sys-freebsd/freebsd-sources/files/freebsd-sources-6.1-devfs-deadlock.patch +++ /dev/null @@ -1,165 +0,0 @@ -diff -Naur devfs/devfs.h devfsb/devfs.h ---- fs/devfs/devfs.h 2006-08-18 17:23:00 +0000 -+++ fs/devfsb/devfs.h 2006-09-03 19:34:57 +0000 -@@ -163,7 +163,7 @@ - void devfs_rules_apply(struct devfs_mount *dm, struct devfs_dirent *de); - void devfs_rules_cleanup (struct devfs_mount *dm); - int devfs_rules_ioctl(struct devfs_mount *dm, u_long cmd, caddr_t data, struct thread *td); --int devfs_allocv (struct devfs_dirent *de, struct mount *mp, struct vnode **vpp, struct thread *td); -+int devfs_allocv (struct devfs_dirent *de, struct mount *mp, struct vnode **vpp, int *dm_unlock, struct thread *td); - struct cdev **devfs_itod (int inode); - struct devfs_dirent **devfs_itode (struct devfs_mount *dm, int inode); - void devfs_delete(struct devfs_mount *dm, struct devfs_dirent *de); -diff -Naur devfs/devfs_vfsops.c devfsb/devfs_vfsops.c ---- fs/devfs/devfs_vfsops.c 2006-08-18 17:23:00 +0000 -+++ fs/devfsb/devfs_vfsops.c 2006-09-03 19:34:57 +0000 -@@ -139,9 +139,11 @@ - int error; - struct vnode *vp; - struct devfs_mount *dmp; -+ int dm_unlock; - - dmp = VFSTODEVFS(mp); -- error = devfs_allocv(dmp->dm_rootdir, mp, &vp, td); -+ dm_unlock = 0; -+ error = devfs_allocv(dmp->dm_rootdir, mp, &vp, &dm_unlock, td); - if (error) - return (error); - vp->v_vflag |= VV_ROOT; -diff -Naur devfs/devfs_vnops.c devfsb/devfs_vnops.c ---- fs/devfs/devfs_vnops.c 2006-08-18 17:23:00 +0000 -+++ fs/devfsb/devfs_vnops.c 2006-09-03 19:34:57 +0000 -@@ -124,16 +124,23 @@ - } - - int --devfs_allocv(struct devfs_dirent *de, struct mount *mp, struct vnode **vpp, struct thread *td) -+devfs_allocv(struct devfs_dirent *de, struct mount *mp, struct vnode **vpp, -+ int *dm_unlock, struct thread *td) - { - int error; - struct vnode *vp; - struct cdev *dev; -+ struct devfs_mount *dmp; - - KASSERT(td == curthread, ("devfs_allocv: td != curthread")); -+ dmp = VFSTODEVFS(mp); - loop: - vp = de->de_vnode; - if (vp != NULL) { -+ if (*dm_unlock) { -+ sx_xunlock(&dmp->dm_lock); -+ *dm_unlock = 0; -+ } - if (vget(vp, LK_EXCLUSIVE, td)) - goto loop; - *vpp = vp; -@@ -173,6 +180,10 @@ - } - vp->v_data = de; - de->de_vnode = vp; -+ if (*dm_unlock) { -+ sx_xunlock(&dmp->dm_lock); -+ *dm_unlock = 0; -+ } - vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, td); - #ifdef MAC - mac_associate_vnode_devfs(mp, de, vp); -@@ -453,7 +464,7 @@ - } - - static int --devfs_lookupx(struct vop_lookup_args *ap) -+devfs_lookupx(struct vop_lookup_args *ap, int *dm_unlock) - { - struct componentname *cnp; - struct vnode *dvp, **vpp; -@@ -504,7 +515,7 @@ - de = TAILQ_FIRST(&dd->de_dlist); /* "." */ - de = TAILQ_NEXT(de, de_list); /* ".." */ - de = de->de_dir; -- error = devfs_allocv(de, dvp->v_mount, vpp, td); -+ error = devfs_allocv(de, dvp->v_mount, vpp, dm_unlock, td); - vn_lock(dvp, LK_EXCLUSIVE | LK_RETRY, td); - return (error); - } -@@ -561,7 +572,7 @@ - return (0); - } - } -- error = devfs_allocv(de, dvp->v_mount, vpp, td); -+ error = devfs_allocv(de, dvp->v_mount, vpp, dm_unlock, td); - return (error); - } - -@@ -570,11 +581,14 @@ - { - int j; - struct devfs_mount *dmp; -+ int dm_unlock; - - dmp = VFSTODEVFS(ap->a_dvp->v_mount); -+ dm_unlock = 1; - sx_xlock(&dmp->dm_lock); -- j = devfs_lookupx(ap); -- sx_xunlock(&dmp->dm_lock); -+ j = devfs_lookupx(ap, &dm_unlock); -+ if (dm_unlock == 1) -+ sx_xunlock(&dmp->dm_lock); - return (j); - } - -@@ -586,6 +600,7 @@ - struct thread *td; - struct devfs_dirent *dd, *de; - struct devfs_mount *dmp; -+ int dm_unlock; - int error; - - /* -@@ -597,6 +612,7 @@ - dvp = ap->a_dvp; - dmp = VFSTODEVFS(dvp->v_mount); - sx_xlock(&dmp->dm_lock); -+ dm_unlock = 1; - - cnp = ap->a_cnp; - vpp = ap->a_vpp; -@@ -617,9 +633,10 @@ - if (de == NULL) - goto notfound; - de->de_flags &= ~DE_WHITEOUT; -- error = devfs_allocv(de, dvp->v_mount, vpp, td); -+ error = devfs_allocv(de, dvp->v_mount, vpp, &dm_unlock, td); - notfound: -- sx_xunlock(&dmp->dm_lock); -+ if (dm_unlock == 1) -+ sx_xunlock(&dmp->dm_lock); - return (error); - } - -@@ -1101,6 +1118,7 @@ - struct devfs_dirent *de; - struct devfs_mount *dmp; - struct thread *td; -+ int dm_unlock; - - td = ap->a_cnp->cn_thread; - KASSERT(td == curthread, ("devfs_symlink: td != curthread")); -@@ -1119,12 +1137,14 @@ - de->de_symlink = malloc(i, M_DEVFS, M_WAITOK); - bcopy(ap->a_target, de->de_symlink, i); - sx_xlock(&dmp->dm_lock); -+ dm_unlock = 1; - #ifdef MAC - mac_create_devfs_symlink(ap->a_cnp->cn_cred, dmp->dm_mount, dd, de); - #endif - TAILQ_INSERT_TAIL(&dd->de_dlist, de, de_list); -- devfs_allocv(de, ap->a_dvp->v_mount, ap->a_vpp, td); -- sx_xunlock(&dmp->dm_lock); -+ devfs_allocv(de, ap->a_dvp->v_mount, ap->a_vpp, &dm_unlock, td); -+ if (dm_unlock == 1) -+ sx_xunlock(&dmp->dm_lock); - return (0); - } - diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-6.1-gcc41.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-6.1-gcc41.patch deleted file mode 100644 index 6e92a100f1de..000000000000 --- a/sys-freebsd/freebsd-sources/files/freebsd-sources-6.1-gcc41.patch +++ /dev/null @@ -1,506 +0,0 @@ -diff -ru sys.orig/conf/kern.pre.mk sys-gcc4.1/conf/kern.pre.mk ---- sys/conf/kern.pre.mk 2006-06-11 08:30:14 -0300 -+++ sys-gcc4.1/conf/kern.pre.mk 2006-06-10 21:53:27 -0300 -@@ -46,7 +46,7 @@ - NOSTDINC= -nostdinc - .endif - --INCLUDES= ${NOSTDINC} -I- ${INCLMAGIC} -I. -I$S -+INCLUDES= ${NOSTDINC} ${INCLMAGIC} -I. -I$S - - # This hack lets us use the OpenBSD altq code without spamming a new - # include path into contrib'ed source files. -diff -ru sys/conf/kmod.mk sys-gcc4.1/conf/kmod.mk ---- sys/conf/kmod.mk 2006-06-11 08:30:14 -0300 -+++ sys-gcc4.1/conf/kmod.mk 2006-06-09 13:22:22 -0300 -@@ -87,7 +87,7 @@ - .else - NOSTDINC= -nostdinc - .endif --CFLAGS:= ${CFLAGS:N-I*} ${NOSTDINC} -I- ${INCLMAGIC} ${CFLAGS:M-I*} -+CFLAGS:= ${CFLAGS:N-I*} ${NOSTDINC} ${INCLMAGIC} ${CFLAGS:M-I*} - .if defined(KERNBUILDDIR) - CFLAGS+= -DHAVE_KERNEL_OPTION_HEADERS -include ${KERNBUILDDIR}/opt_global.h - .endif -diff -ru sys/ddb/db_command.c sys-gcc4.1/ddb/db_command.c ---- sys/ddb/db_command.c 2005-10-25 17:10:56 -0300 -+++ sys-gcc4.1/ddb/db_command.c 2006-06-09 22:26:53 -0300 -@@ -75,7 +75,7 @@ - static db_cmdfcn_t db_watchdog; - - /* XXX this is actually forward-static. */ --extern struct command db_show_cmds[]; -+static struct command db_show_cmds[]; - - /* - * if 'ed' style: 'dot' is set at start of last item printed, -diff -ru sys/dev/cp/if_cp.c sys-gcc4.1/dev/cp/if_cp.c ---- sys/dev/cp/if_cp.c 2005-08-25 02:01:06 -0300 -+++ sys-gcc4.1/dev/cp/if_cp.c 2006-06-09 08:08:56 -0300 -@@ -338,7 +338,7 @@ - #endif - } - --extern struct cdevsw cp_cdevsw; -+static struct cdevsw cp_cdevsw; - - static void - cp_bus_dmamap_addr (void *arg, bus_dma_segment_t *segs, int nseg, int error) -diff -ru sys/dev/ctau/if_ct.c sys-gcc4.1/dev/ctau/if_ct.c ---- sys/dev/ctau/if_ct.c 2005-08-25 02:01:06 -0300 -+++ sys-gcc4.1/dev/ctau/if_ct.c 2006-06-09 08:10:31 -0300 -@@ -486,7 +486,7 @@ - return 0; - } - --extern struct cdevsw ct_cdevsw; -+static struct cdevsw ct_cdevsw; - - static void - ct_bus_dmamap_addr (void *arg, bus_dma_segment_t *segs, int nseg, int error) -diff -ru sys/dev/cx/if_cx.c sys-gcc4.1/dev/cx/if_cx.c ---- sys/dev/cx/if_cx.c 2006-03-10 16:37:31 -0300 -+++ sys-gcc4.1/dev/cx/if_cx.c 2006-06-09 08:12:01 -0300 -@@ -229,7 +229,7 @@ - static drv_t *channel [NCX*NCHAN]; - static struct callout led_timo [NCX]; - static struct callout timeout_handle; --extern struct cdevsw cx_cdevsw; -+static struct cdevsw cx_cdevsw; - - static int MY_SOFT_INTR; - -diff -ru sys/dev/fb/vga.c sys-gcc4.1/dev/fb/vga.c ---- sys/dev/fb/vga.c 2005-10-05 18:48:02 -0300 -+++ sys-gcc4.1/dev/fb/vga.c 2006-06-09 12:58:32 -0300 -@@ -206,7 +206,7 @@ - * with a physical address in the following table, as verify_adapter() - * will perform address conversion at run-time. - */ --static video_adapter_t adapter_init_value[] = { -+video_adapter_t adapter_init_value[] = { - /* DCC_MONO */ - { 0, KD_MONO, "mda", 0, 0, 0, IO_MDA, IO_MDASIZE, MONO_CRTC, - MDA_BUF_BASE, MDA_BUF_SIZE, MDA_BUF_BASE, MDA_BUF_SIZE, MDA_BUF_SIZE, -@@ -748,10 +748,7 @@ - } - - #ifndef VGA_NO_BIOS --static void --fill_adapter_param(int code, video_adapter_t *adp) --{ -- static struct { -+ struct { - int primary; - int secondary; - } dcc[] = { -@@ -768,7 +765,9 @@ - { DCC_EGAMONO, DCC_CGA40 }, - { DCC_EGAMONO, DCC_CGA80 }, - }; -- -+static void -+fill_adapter_param(int code, video_adapter_t *adp) -+{ - if ((code < 0) || (code >= sizeof(dcc)/sizeof(dcc[0]))) { - adp[V_ADP_PRIMARY] = adapter_init_value[DCC_MONO]; - adp[V_ADP_SECONDARY] = adapter_init_value[DCC_CGA80]; -diff -ru sys/dev/iicbus/iicbus.c sys-gcc4.1/dev/iicbus/iicbus.c ---- sys/dev/iicbus/iicbus.c 2004-05-27 10:29:09 -0300 -+++ sys-gcc4.1/dev/iicbus/iicbus.c 2006-06-09 08:31:40 -0300 -@@ -45,7 +45,7 @@ - - #define DEVTOIICBUS(dev) ((struct iicbus_device*)device_get_ivars(dev)) - --static devclass_t iicbus_devclass; -+static devclass_t iicbus_dev_class; - - /* See comments below for why auto-scanning is a bad idea. */ - #define SCAN_IICBUS 0 -@@ -187,8 +187,8 @@ - return (IIC_ENOTSUPP); - } - --DRIVER_MODULE(iicbus, pcf, iicbus_driver, iicbus_devclass, 0, 0); --DRIVER_MODULE(iicbus, envctrl, iicbus_driver, iicbus_devclass, 0, 0); --DRIVER_MODULE(iicbus, iicbb, iicbus_driver, iicbus_devclass, 0, 0); --DRIVER_MODULE(iicbus, bti2c, iicbus_driver, iicbus_devclass, 0, 0); -+DRIVER_MODULE(iicbus, pcf, iicbus_driver, iicbus_dev_class, 0, 0); -+DRIVER_MODULE(iicbus, envctrl, iicbus_driver, iicbus_dev_class, 0, 0); -+DRIVER_MODULE(iicbus, iicbb, iicbus_driver, iicbus_dev_class, 0, 0); -+DRIVER_MODULE(iicbus, bti2c, iicbus_driver, iicbus_dev_class, 0, 0); - MODULE_VERSION(iicbus, IICBUS_MODVER); -diff -ru sys/dev/ppbus/ppb_msq.c sys-gcc4.1/dev/ppbus/ppb_msq.c ---- sys/dev/ppbus/ppb_msq.c 2003-08-24 14:54:16 -0300 -+++ sys-gcc4.1/dev/ppbus/ppb_msq.c 2006-06-09 07:26:54 -0300 -@@ -153,31 +153,32 @@ - * Execute a microseq loop - * - */ -+struct ppb_microseq loop_microseq_1[] = { -+ MS_CALL(0), /* execute prolog */ -+ -+ MS_SET(MS_UNKNOWN), /* set size of transfer */ -+ /* loop: */ -+ MS_CALL(0), /* execute body */ -+ MS_DBRA(-1 /* loop: */), -+ -+ MS_CALL(0), /* execute epilog */ -+ MS_RET(0) -+}; -+ - int - ppb_MS_loop(device_t bus, device_t dev, struct ppb_microseq *prolog, - struct ppb_microseq *body, struct ppb_microseq *epilog, - int iter, int *ret) - { -- struct ppb_microseq loop_microseq[] = { -- MS_CALL(0), /* execute prolog */ -- -- MS_SET(MS_UNKNOWN), /* set size of transfer */ -- /* loop: */ -- MS_CALL(0), /* execute body */ -- MS_DBRA(-1 /* loop: */), -- -- MS_CALL(0), /* execute epilog */ -- MS_RET(0) -- }; - - /* initialize the structure */ -- loop_microseq[0].arg[0].p = (void *)prolog; -- loop_microseq[1].arg[0].i = iter; -- loop_microseq[2].arg[0].p = (void *)body; -- loop_microseq[4].arg[0].p = (void *)epilog; -+ loop_microseq_1[0].arg[0].p = (void *)prolog; -+ loop_microseq_1[1].arg[0].i = iter; -+ loop_microseq_1[2].arg[0].p = (void *)body; -+ loop_microseq_1[4].arg[0].p = (void *)epilog; - - /* execute the loop */ -- return (ppb_MS_microseq(bus, dev, loop_microseq, ret)); -+ return (ppb_MS_microseq(bus, dev, loop_microseq_1, ret)); - } - - /* -diff -ru sys/fs/fdescfs/fdesc_vnops.c sys-gcc4.1/fs/fdescfs/fdesc_vnops.c ---- sys/fs/fdescfs/fdesc_vnops.c 2006-03-22 14:39:27 -0300 -+++ sys-gcc4.1/fs/fdescfs/fdesc_vnops.c 2006-06-09 08:18:20 -0300 -@@ -74,7 +74,7 @@ - static vop_reclaim_t fdesc_reclaim; - static vop_setattr_t fdesc_setattr; - --extern struct vop_vector fdesc_vnodeops; -+static struct vop_vector fdesc_vnodeops; - - /* - * Initialise cache headers -diff -ru sys/fs/ntfs/ntfs_vfsops.c sys/fs/ntfs/ntfs_vfsops.c ---- sys/fs/ntfs/ntfs_vfsops.c 2006-02-19 21:53:13 -0300 -+++ sys-gcc4.1/fs/ntfs/ntfs_vfsops.c 2006-06-09 08:54:14 -0300 -@@ -60,7 +60,7 @@ - #include <fs/ntfs/ntfs_ihash.h> - #include <fs/ntfs/ntfsmount.h> - --static MALLOC_DEFINE(M_NTFSMNT, "NTFS mount", "NTFS mount structure"); -+static MALLOC_DEFINE(M_NTFS_MNT, "NTFS mount", "NTFS mount structure"); - MALLOC_DEFINE(M_NTFSNTNODE,"NTFS ntnode", "NTFS ntnode information"); - MALLOC_DEFINE(M_NTFSFNODE,"NTFS fnode", "NTFS fnode information"); - MALLOC_DEFINE(M_NTFSDIR,"NTFS dir", "NTFS dir buffer"); -@@ -286,7 +286,7 @@ - error = bread(devvp, BBLOCK, BBSIZE, NOCRED, &bp); - if (error) - goto out; -- ntmp = malloc( sizeof *ntmp, M_NTFSMNT, M_WAITOK | M_ZERO); -+ ntmp = malloc( sizeof *ntmp, M_NTFS_MNT, M_WAITOK | M_ZERO); - bcopy( bp->b_data, &ntmp->ntm_bootfile, sizeof(struct bootfile) ); - /* - * We must not cache the boot block if its size is not exactly -@@ -411,7 +411,7 @@ - /* Alloc memory for attribute definitions */ - MALLOC(ntmp->ntm_ad, struct ntvattrdef *, - num * sizeof(struct ntvattrdef), -- M_NTFSMNT, M_WAITOK); -+ M_NTFS_MNT, M_WAITOK); - - ntmp->ntm_adnum = num; - -@@ -515,8 +515,8 @@ - ntfs_82u_uninit(ntmp); - mp->mnt_data = (qaddr_t)0; - mp->mnt_flag &= ~MNT_LOCAL; -- FREE(ntmp->ntm_ad, M_NTFSMNT); -- FREE(ntmp, M_NTFSMNT); -+ FREE(ntmp->ntm_ad, M_NTFS_MNT); -+ FREE(ntmp, M_NTFS_MNT); - return (error); - } - -diff -ru sys/fs/unionfs/union_vfsops.c sys-gcc4.1/fs/unionfs/union_vfsops.c ---- sys/fs/unionfs/union_vfsops.c 2005-04-27 06:07:13 -0300 -+++ sys-gcc4.1/fs/unionfs/union_vfsops.c 2006-06-09 09:02:09 -0300 -@@ -466,7 +466,7 @@ - return (0); - } - --static struct vfsops union_vfsops = { -+static struct vfsops union_vfs_ops = { - .vfs_init = union_init, - .vfs_mount = union_mount, - .vfs_root = union_root, -@@ -474,4 +474,4 @@ - .vfs_unmount = union_unmount, - }; - --VFS_SET(union_vfsops, unionfs, VFCF_LOOPBACK); -+VFS_SET(union_vfs_ops, unionfs, VFCF_LOOPBACK); -diff -ru sys/i386/i386/vm86.c sys-gcc4.1/i386/i386/vm86.c ---- sys/i386/i386/vm86.c 2004-11-27 03:51:36 -0300 -+++ sys-gcc4.1/i386/i386/vm86.c 2006-06-10 21:48:24 -0300 -@@ -505,7 +505,7 @@ - panic("vm86_addpage: not enough room"); - } - --static void -+void - vm86_initflags(struct vm86frame *vmf) - { - int eflags = vmf->vmf_eflags; -diff -ru sys/i386/include/segments.h sys-gcc4.1/i386/include/segments.h ---- sys/i386/include/segments.h 2005-04-13 19:57:17 -0300 -+++ sys-gcc4.1/i386/include/segments.h 2006-06-09 07:29:09 -0300 -@@ -244,7 +244,7 @@ - extern struct soft_segment_descriptor gdt_segs[]; - extern struct gate_descriptor *idt; - extern union descriptor ldt[NLDT]; --extern struct region_descriptor r_gdt, r_idt; -+//extern struct region_descriptor r_gdt, r_idt; - - void lgdt(struct region_descriptor *rdp); - void sdtossd(struct segment_descriptor *sdp, -diff -ru sys/kern/kern_tc.c sys-gcc4.1/kern/kern_tc.c ---- sys/kern/kern_tc.c 2006-04-04 17:07:23 -0300 -+++ sys-gcc4.1/kern/kern_tc.c 2006-06-09 05:26:02 -0300 -@@ -61,7 +61,7 @@ struct timehands { - struct timehands *th_next; - }; - --extern struct timehands th0; -+static struct timehands th0; - static struct timehands th9 = { NULL, 0, 0, 0, {0, 0}, {0, 0}, {0, 0}, 0, &th0}; - static struct timehands th8 = { NULL, 0, 0, 0, {0, 0}, {0, 0}, {0, 0}, 0, &th9}; - static struct timehands th7 = { NULL, 0, 0, 0, {0, 0}, {0, 0}, {0, 0}, 0, &th8}; -diff -ru sys/net/rtsock.c sys-gcc4.1/net/rtsock.c ---- sys/net/rtsock.c 2006-04-04 17:07:23 -0300 -+++ sys-gcc4.1/net/rtsock.c 2006-06-09 05:26:02 -0300 -@@ -1243,7 +1243,7 @@ - * Definitions of protocols supported in the ROUTE domain. - */ - --extern struct domain routedomain; /* or at least forward */ -+static struct domain routedomain; /* or at least forward */ - - static struct protosw routesw[] = { - { -diff -ru sys/net/zlib.c sys-gcc4.1/net/zlib.c ---- sys/net/zlib.c 2005-01-06 22:45:35 -0300 -+++ sys-gcc4.1/net/zlib.c 2006-06-09 09:06:42 -0300 -@@ -94,7 +94,7 @@ - typedef ush FAR ushf; - typedef unsigned long ulg; - --extern const char *z_errmsg[10]; /* indexed by 2-zlib_error */ -+static const char *z_errmsg[10]; /* indexed by 2-zlib_error */ - /* (size given to avoid silly warnings with Visual C++) */ - - #define ERR_MSG(err) z_errmsg[Z_NEED_DICT-(err)] -diff -ru sys/netinet6/in6_proto.c sys-gcc4.1/netinet6/in6_proto.c ---- sys/netinet6/in6_proto.c 2005-11-16 07:31:23 -0300 -+++ sys-gcc4.1/netinet6/in6_proto.c 2006-06-09 06:52:31 -0300 -@@ -145,7 +145,7 @@ - */ - - extern struct domain inet6domain; --static struct pr_usrreqs nousrreqs; -+static struct pr_usrreqs nousr_reqs; - - #define PR_LISTEN 0 - #define PR_ABRTACPTDIS 0 -@@ -158,7 +158,7 @@ - .pr_init = ip6_init, - .pr_slowtimo = frag6_slowtimo, - .pr_drain = frag6_drain, -- .pr_usrreqs = &nousrreqs, -+ .pr_usrreqs = &nousr_reqs, - }, - { - .pr_type = SOCK_DGRAM, -@@ -216,7 +216,7 @@ - .pr_protocol = IPPROTO_DSTOPTS, - .pr_flags = PR_ATOMIC|PR_ADDR, - .pr_input = dest6_input, -- .pr_usrreqs = &nousrreqs -+ .pr_usrreqs = &nousr_reqs - }, - { - .pr_type = SOCK_RAW, -@@ -224,7 +224,7 @@ - .pr_protocol = IPPROTO_ROUTING, - .pr_flags = PR_ATOMIC|PR_ADDR, - .pr_input = route6_input, -- .pr_usrreqs = &nousrreqs -+ .pr_usrreqs = &nousr_reqs - }, - { - .pr_type = SOCK_RAW, -@@ -232,7 +232,7 @@ - .pr_protocol = IPPROTO_FRAGMENT, - .pr_flags = PR_ATOMIC|PR_ADDR, - .pr_input = frag6_input, -- .pr_usrreqs = &nousrreqs -+ .pr_usrreqs = &nousr_reqs - }, - #ifdef IPSEC - { -@@ -241,7 +241,7 @@ - .pr_protocol = IPPROTO_AH, - .pr_flags = PR_ATOMIC|PR_ADDR, - .pr_input = ah6_input, -- .pr_usrreqs = &nousrreqs, -+ .pr_usrreqs = &nousr_reqs, - }, - #ifdef IPSEC_ESP - { -@@ -251,7 +251,7 @@ - .pr_flags = PR_ATOMIC|PR_ADDR, - .pr_input = esp6_input, - .pr_ctlinput = esp6_ctlinput, -- .pr_usrreqs = &nousrreqs, -+ .pr_usrreqs = &nousr_reqs, - }, - #endif - { -@@ -260,7 +260,7 @@ - .pr_protocol = IPPROTO_IPCOMP, - .pr_flags = PR_ATOMIC|PR_ADDR, - .pr_input = ipcomp6_input, -- .pr_usrreqs = &nousrreqs, -+ .pr_usrreqs = &nousr_reqs, - }, - #endif /* IPSEC */ - #ifdef INET -diff -ru sys/netinet6/ip6_mroute.c sys-gcc4.1/netinet6/ip6_mroute.c ---- sys/netinet6/ip6_mroute.c 2006-04-20 13:05:17 -0300 -+++ sys-gcc4.1/netinet6/ip6_mroute.c 2006-06-09 06:53:47 -0300 -@@ -188,7 +188,7 @@ - static mifi_t nummifs = 0; - static mifi_t reg_mif_num = (mifi_t)-1; - --static struct pim6stat pim6stat; -+static struct pim6stat pim6_stat; - static int pim6; - - /* -@@ -1622,7 +1622,7 @@ - log(LOG_DEBUG, "** IPv6 register_send **\n src %s dst %s\n", - ip6_sprintf(&ip6->ip6_src), ip6_sprintf(&ip6->ip6_dst)); - #endif -- ++pim6stat.pim6s_snd_registers; -+ ++pim6_stat.pim6s_snd_registers; - - /* Make a copy of the packet to send to the user level process */ - MGETHDR(mm, M_DONTWAIT, MT_HEADER); -@@ -1690,7 +1690,7 @@ - int minlen; - int off = *offp; - -- ++pim6stat.pim6s_rcv_total; -+ ++pim6_stat.pim6s_rcv_total; - - ip6 = mtod(m, struct ip6_hdr *); - pimlen = m->m_pkthdr.len - *offp; -@@ -1699,7 +1699,7 @@ - * Validate lengths - */ - if (pimlen < PIM_MINLEN) { -- ++pim6stat.pim6s_rcv_tooshort; -+ ++pim6_stat.pim6s_rcv_tooshort; - #ifdef MRT6DEBUG - if (mrt6debug & DEBUG_PIM) - log(LOG_DEBUG,"pim6_input: PIM packet too short\n"); -@@ -1732,7 +1732,7 @@ - #else - IP6_EXTHDR_GET(pim, struct pim *, m, off, minlen); - if (pim == NULL) { -- pim6stat.pim6s_rcv_tooshort++; -+ pim6_stat.pim6s_rcv_tooshort++; - return (IPPROTO_DONE); - } - #endif -@@ -1752,7 +1752,7 @@ - cksumlen = pimlen; - - if (in6_cksum(m, IPPROTO_PIM, off, cksumlen)) { -- ++pim6stat.pim6s_rcv_badsum; -+ ++pim6_stat.pim6s_rcv_badsum; - #ifdef MRT6DEBUG - if (mrt6debug & DEBUG_PIM) - log(LOG_DEBUG, -@@ -1766,7 +1766,7 @@ - - /* PIM version check */ - if (pim->pim_ver != PIM_VERSION) { -- ++pim6stat.pim6s_rcv_badversion; -+ ++pim6_stat.pim6s_rcv_badversion; - #ifdef MRT6DEBUG - log(LOG_ERR, - "pim6_input: incorrect version %d, expecting %d\n", -@@ -1789,7 +1789,7 @@ - u_int32_t *reghdr; - int rc; - -- ++pim6stat.pim6s_rcv_registers; -+ ++pim6_stat.pim6s_rcv_registers; - - if ((reg_mif_num >= nummifs) || (reg_mif_num == (mifi_t) -1)) { - #ifdef MRT6DEBUG -@@ -1811,8 +1811,8 @@ - * Validate length - */ - if (pimlen < PIM6_REG_MINLEN) { -- ++pim6stat.pim6s_rcv_tooshort; -- ++pim6stat.pim6s_rcv_badregisters; -+ ++pim6_stat.pim6s_rcv_tooshort; -+ ++pim6_stat.pim6s_rcv_badregisters; - #ifdef MRT6DEBUG - log(LOG_ERR, - "pim6_input: register packet size too " -@@ -1836,7 +1836,7 @@ - - /* verify the version number of the inner packet */ - if ((eip6->ip6_vfc & IPV6_VERSION_MASK) != IPV6_VERSION) { -- ++pim6stat.pim6s_rcv_badregisters; -+ ++pim6_stat.pim6s_rcv_badregisters; - #ifdef MRT6DEBUG - log(LOG_DEBUG, "pim6_input: invalid IP version (%d) " - "of the inner packet\n", -@@ -1848,7 +1848,7 @@ - - /* verify the inner packet is destined to a mcast group */ - if (!IN6_IS_ADDR_MULTICAST(&eip6->ip6_dst)) { -- ++pim6stat.pim6s_rcv_badregisters; -+ ++pim6_stat.pim6s_rcv_badregisters; - #ifdef MRT6DEBUG - if (mrt6debug & DEBUG_PIM) - log(LOG_DEBUG, -diff -ru sys/sys/proc.h sys-gcc4.1/sys/proc.h ---- sys/sys/proc.h 2006-03-10 16:37:35 -0300 -+++ sys-gcc4.1/sys/proc.h 2006-06-09 05:15:08 -0300 -@@ -835,7 +835,7 @@ - extern int nprocs, maxproc; /* Current and max number of procs. */ - extern int maxprocperuid; /* Max procs per uid. */ - extern u_long ps_arg_cache_limit; --extern int sched_quantum; /* Scheduling quantum in ticks. */ -+//extern int sched_quantum; /* Scheduling quantum in ticks. */ - - LIST_HEAD(proclist, proc); - TAILQ_HEAD(procqueue, proc); diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-6.1-intrcnt.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-6.1-intrcnt.patch deleted file mode 100644 index c6f0588edc1d..000000000000 --- a/sys-freebsd/freebsd-sources/files/freebsd-sources-6.1-intrcnt.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- sys/i386/include/intr_machdep.h.orig 2006-07-08 12:27:19 -0300 -+++ sys/i386/include/intr_machdep.h 2006-07-08 12:26:49 -0300 -@@ -55,7 +55,7 @@ - * - 1 counter for each CPU for lapic timer. - * - 7 counters for each CPU for IPI counters for SMP. - */ --#ifdef SMP -+#ifndef SMP - #define INTRCNT_COUNT (1 + NUM_IO_INTS * 2 + 1) - #else - #define INTRCNT_COUNT (1 + NUM_IO_INTS * 2 + (1 + 7) * MAXCPU) ---- sys/amd64/include/intr_machdep.h.orig 2006-07-08 12:27:56 -0300 -+++ sys/amd64/include/intr_machdep.h 2006-07-08 12:27:34 -0300 -@@ -55,7 +55,7 @@ - * - 1 counter for each CPU for lapic timer. - * - 7 counters for each CPU for IPI counters for SMP. - */ --#ifdef SMP -+#ifndef SMP - #define INTRCNT_COUNT (1 + NUM_IO_INTS * 2 + 1) - #else - #define INTRCNT_COUNT (1 + NUM_IO_INTS * 2 + (1 + 7) * MAXCPU) diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-6.1-r3.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-6.1-r3.ebuild deleted file mode 100644 index 1e8af70b36cb..000000000000 --- a/sys-freebsd/freebsd-sources/freebsd-sources-6.1-r3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sources/freebsd-sources-6.1-r3.ebuild,v 1.1 2006/07/08 17:15:02 the_paya Exp $ - -inherit bsdmk freebsd flag-o-matic - -DESCRIPTION="FreeBSD kernel sources" -SLOT="${PVR}" -KEYWORDS="~x86-fbsd" - -IUSE="symlink" - -SRC_URI="mirror://gentoo/${SYS}.tar.bz2" - -RDEPEND=">=sys-freebsd/freebsd-mk-defs-6.0-r1" -DEPEND="" - -RESTRICT="strip binchecks" - -S="${WORKDIR}/sys" - -MY_PVR="${PVR}" - -[[ ${MY_PVR} == "${RV}" ]] && MY_PVR="${MY_PVR}-r0" - -src_unpack() { - unpack ${A} - cd "${S}" - - # This replaces the gentoover patch, it doesn't need reapply every time. - sed -i -e 's:^REVISION=.*:REVISION="'${PVR}'":' \ - -e 's:^BRANCH=.*:BRANCH="Gentoo":' \ - -e 's:^VERSION=.*:VERSION="${TYPE} ${BRANCH} ${REVISION}":' \ - "${S}/conf/newvers.sh" - - epatch "${FILESDIR}/${PN}-gentoo.patch" - epatch "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" - epatch "${FILESDIR}/${PN}-6.0-asm.patch" - epatch "${FILESDIR}/${PN}-6.0-werror.patch" - epatch "${FILESDIR}/${PN}-6.1-gcc41.patch" - epatch "${FILESDIR}/${PN}-6.1-intrcnt.patch" - - epatch "${FILESDIR}/SA-06-16-smbfs.patch" - - # Disable SSP for the kernel - grep -Zlr -- -ffreestanding "${S}" | xargs -0 sed -i -e \ - "s:-ffreestanding:-ffreestanding $(test-flags -fno-stack-protector -fno-stack-protector-all):g" -} - -src_compile() { - einfo "Nothing to compile.." -} - -src_install() { - insinto "/usr/src/sys-${MY_PVR}" - doins -r "${S}/"* -} - -pkg_postinst() { - if [[ ! -L "${ROOT}/usr/src/sys" ]]; then - einfo "/usr/src/sys symlink doesn't exist; creating symlink to sys-${MY_PVR}..." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys symlink." - # just in case... - [[ -L ""${ROOT}/usr/src/sys-${RV}"" ]] && rm "${ROOT}/usr/src/sys-${RV}" - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys-${RV} symlink." - elif use symlink; then - einfo "Updating /usr/src/sys symlink to sys-${MY_PVR}..." - rm "${ROOT}/usr/src/sys" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't remove previous symlinks, please fix manually." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys symlink." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys-${RV} symlink." - fi -} diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-6.1-r4.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-6.1-r4.ebuild deleted file mode 100644 index 5588ed4dc8c7..000000000000 --- a/sys-freebsd/freebsd-sources/freebsd-sources-6.1-r4.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sources/freebsd-sources-6.1-r4.ebuild,v 1.2 2006/10/19 23:11:02 the_paya Exp $ - -inherit bsdmk freebsd flag-o-matic - -DESCRIPTION="FreeBSD kernel sources" -SLOT="${PVR}" -KEYWORDS="~x86-fbsd" - -IUSE="symlink" - -SRC_URI="mirror://gentoo/${SYS}.tar.bz2" - -RDEPEND=">=sys-freebsd/freebsd-mk-defs-6.0-r1" -DEPEND="" - -RESTRICT="strip binchecks" - -S="${WORKDIR}/sys" - -MY_PVR="${PVR}" - -[[ ${MY_PVR} == "${RV}" ]] && MY_PVR="${MY_PVR}-r0" - -src_unpack() { - unpack ${A} - cd "${S}" - - # This replaces the gentoover patch, it doesn't need reapply every time. - sed -i -e 's:^REVISION=.*:REVISION="'${PVR}'":' \ - -e 's:^BRANCH=.*:BRANCH="Gentoo":' \ - -e 's:^VERSION=.*:VERSION="${TYPE} ${BRANCH} ${REVISION}":' \ - "${S}/conf/newvers.sh" - - epatch "${FILESDIR}/${PN}-gentoo.patch" - epatch "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" - epatch "${FILESDIR}/${PN}-6.0-asm.patch" - epatch "${FILESDIR}/${PN}-6.0-werror.patch" - epatch "${FILESDIR}/${PN}-6.1-gcc41.patch" - epatch "${FILESDIR}/${PN}-6.1-intrcnt.patch" - epatch "${FILESDIR}/${PN}-6.1-ntfs.patch" - - # This is to be able to use sandbox safely, see bug #146284 - epatch "${FILESDIR}/${P}-devfs-deadlock.patch" - - epatch "${FILESDIR}/SA-06-16-smbfs.patch" - - # Disable SSP for the kernel - grep -Zlr -- -ffreestanding "${S}" | xargs -0 sed -i -e \ - "s:-ffreestanding:-ffreestanding $(test-flags -fno-stack-protector -fno-stack-protector-all):g" -} - -src_compile() { - einfo "Nothing to compile.." -} - -src_install() { - insinto "/usr/src/sys-${MY_PVR}" - doins -r "${S}/"* -} - -pkg_postinst() { - if [[ ! -L "${ROOT}/usr/src/sys" ]]; then - einfo "/usr/src/sys symlink doesn't exist; creating symlink to sys-${MY_PVR}..." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys symlink." - # just in case... - [[ -L ""${ROOT}/usr/src/sys-${RV}"" ]] && rm "${ROOT}/usr/src/sys-${RV}" - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys-${RV} symlink." - elif use symlink; then - einfo "Updating /usr/src/sys symlink to sys-${MY_PVR}..." - rm "${ROOT}/usr/src/sys" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't remove previous symlinks, please fix manually." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys symlink." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys-${RV} symlink." - fi -} |