* [gentoo-commits] proj/gentoo-bsd:master commit in: sys-freebsd/freebsd-lib/files/
@ 2013-08-30 18:30 Yuta SATOH
0 siblings, 0 replies; 4+ messages in thread
From: Yuta SATOH @ 2013-08-30 18:30 UTC (permalink / raw
To: gentoo-commits
commit: 5803a3bcc36b65b064d426eb16c534b2019c3a12
Author: Yuta SATOH <nigoro <AT> gentoo <DOT> gr <DOT> jp>
AuthorDate: Fri Aug 30 13:02:18 2013 +0000
Commit: Yuta SATOH <nigoro.gentoo <AT> 0x100 <DOT> com>
CommitDate: Fri Aug 30 13:02:18 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bsd.git;a=commit;h=5803a3bc
freebsd-lib-9999_p255023: multiple fix
added freebsd-lib-9999-liblink.patch
removed freebsd-lib-9.0-netware.patch
added WITHOUT_ATF=, build fails
added WITHOUT_LDNS=, unbound related file.
added WITHOUT_ICONV=, G/FBSD has dev-libs/libiconv
added fix file collisions, /usr/include/iconv.h ... workaround fix ATM. better use freebsd-lib's iconv?
---
.../files/freebsd-lib-9999-liblink.patch | 83 ++++++++++++++++++++++
1 file changed, 83 insertions(+)
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-9999-liblink.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-9999-liblink.patch
new file mode 100644
index 0000000..6e7ebdd
--- /dev/null
+++ b/sys-freebsd/freebsd-lib/files/freebsd-lib-9999-liblink.patch
@@ -0,0 +1,83 @@
+diff --git a/lib/libcam/Makefile b/lib/libcam/Makefile
+index 9a21dde..0815f0a 100644
+--- a/lib/libcam/Makefile
++++ b/lib/libcam/Makefile
+@@ -8,6 +8,7 @@ INCS= camlib.h
+
+ DPADD= ${LIBSBUF}
+ LDADD= -lsbuf
++LDFLAGS+= -L${.OBJDIR}/../libsbuf
+
+ MAN= cam.3 cam_cdbparse.3
+
+diff --git a/lib/libdwarf/Makefile b/lib/libdwarf/Makefile
+index dbd7895..607b1f6 100644
+--- a/lib/libdwarf/Makefile
++++ b/lib/libdwarf/Makefile
+@@ -21,6 +21,7 @@ SRCS= \
+ INCS= dwarf.h libdwarf.h
+
+ CFLAGS+= -I${.CURDIR}
++CFLAGS+= -I${.CURDIR}/../libelf
+
+ SHLIB_MAJOR= 3
+
+diff --git a/lib/libproc/Makefile b/lib/libproc/Makefile
+index 4449c06..f024cf0 100644
+--- a/lib/libproc/Makefile
++++ b/lib/libproc/Makefile
+@@ -14,6 +14,7 @@ SRCS= proc_bkpt.c \
+ INCS= libproc.h
+
+ CFLAGS+= -I${.CURDIR}
++CFLAGS+= -I${.CURDIR}/../libelf
+
+ .if ${MK_LIBCPLUSPLUS} != "no"
+ LDADD+= -lcxxrt
+@@ -27,4 +28,7 @@ SHLIB_MAJOR= 2
+
+ WITHOUT_MAN=
+
++LDADD+= -lelf
++LDFLAGS+= -L${.OBJDIR}/../libelf
++
+ .include <bsd.lib.mk>
+diff --git a/lib/libprocstat/Makefile b/lib/libprocstat/Makefile
+index af5a775..c01aa05 100644
+--- a/lib/libprocstat/Makefile
++++ b/lib/libprocstat/Makefile
+@@ -16,6 +16,8 @@ VERSION_DEF= ${.CURDIR}/Versions.def
+ SYMBOL_MAPS= ${.CURDIR}/Symbol.map
+
+ INCS= libprocstat.h
++CFLAGS+= -I${.CURDIR}/../libelf
++LDFLAGS+= -L${.OBJDIR}/../libelf
+ CFLAGS+= -I. -I${.CURDIR} -D_KVM_VNODE
+ SHLIB_MAJOR= 1
+
+diff --git a/lib/librtld_db/Makefile b/lib/librtld_db/Makefile
+index 2815a07..e992662 100644
+--- a/lib/librtld_db/Makefile
++++ b/lib/librtld_db/Makefile
+@@ -10,5 +10,8 @@ SRCS= rtld_db.c
+ INCS= rtld_db.h
+
+ CFLAGS+= -I${.CURDIR}
++CFLAGS+= -I${.CURDIR}/../libelf
++LDADD+= -lutil -lproc
++LDFLAGS+= -L${.OBJDIR}/../libutil -L${.OBJDIR}/../libproc
+
+ .include <bsd.lib.mk>
+diff --git a/lib/libtelnet/Makefile b/lib/libtelnet/Makefile
+index 1cf52a0..3d25fae 100644
+--- a/lib/libtelnet/Makefile
++++ b/lib/libtelnet/Makefile
+@@ -13,6 +13,8 @@ INTERNALLIB=
+ SRCS= genget.c getent.c misc.c
+ CFLAGS+= -I${TELNETDIR}
+
++CFLAGS+= -I${.CURDIR}/../libmp
++
+ WARNS?= 2
+
+ .if !defined(RELEASE_CRUNCH)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/gentoo-bsd:master commit in: sys-freebsd/freebsd-lib/files/
@ 2013-09-16 13:14 Yuta SATOH
0 siblings, 0 replies; 4+ messages in thread
From: Yuta SATOH @ 2013-09-16 13:14 UTC (permalink / raw
To: gentoo-commits
commit: cd66346e89fc2017b339f1babcbe636571e844eb
Author: Yuta SATOH <nigoro <AT> gentoo <DOT> gr <DOT> jp>
AuthorDate: Mon Sep 16 12:40:02 2013 +0000
Commit: Yuta SATOH <nigoro.gentoo <AT> 0x100 <DOT> com>
CommitDate: Mon Sep 16 12:40:02 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bsd.git;a=commit;h=cd66346e
added freebsd-lib-9999-atfcxx.patch
---
.../freebsd-lib/files/freebsd-lib-9999-atfcxx.patch | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-9999-atfcxx.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-9999-atfcxx.patch
new file mode 100644
index 0000000..011582e
--- /dev/null
+++ b/sys-freebsd/freebsd-lib/files/freebsd-lib-9999-atfcxx.patch
@@ -0,0 +1,16 @@
+diff --git a/lib/atf/libatf-c++/Makefile b/lib/atf/libatf-c++/Makefile
+index 37d6073..47cb495 100644
+--- a/lib/atf/libatf-c++/Makefile
++++ b/lib/atf/libatf-c++/Makefile
+@@ -46,6 +46,11 @@ CFLAGS+= -I.
+
+ CFLAGS+= -DHAVE_CONFIG_H
+
++CXXFLAGS+= -I${ATF}
++CXXFLAGS+= -I${.CURDIR}/../libatf-c
++CXXFLAGS+= -I.
++CXXFLAGS+= -DHAVE_CONFIG_H
++
+ SRCS= application.cpp \
+ build.cpp \
+ check.cpp \
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/gentoo-bsd:master commit in: sys-freebsd/freebsd-lib/files/
@ 2014-01-26 6:41 Yuta SATOH
0 siblings, 0 replies; 4+ messages in thread
From: Yuta SATOH @ 2014-01-26 6:41 UTC (permalink / raw
To: gentoo-commits
commit: 0cb665e75b82e06010335ec93ee02c0d620bb1df
Author: Yuta SATOH <nigoro <AT> gentoo <DOT> gr <DOT> jp>
AuthorDate: Sun Jan 26 06:41:01 2014 +0000
Commit: Yuta SATOH <nigoro.gentoo <AT> 0x100 <DOT> com>
CommitDate: Sun Jan 26 06:41:01 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bsd.git;a=commit;h=0cb665e7
I forgot git add freebsd-lib-10.0-clang34.patch
---
.../files/freebsd-lib-10.0-clang34.patch | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-clang34.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-clang34.patch
new file mode 100644
index 0000000..df6072b
--- /dev/null
+++ b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-clang34.patch
@@ -0,0 +1,22 @@
+http://svnweb.freebsd.org/base/head/gnu/lib/csu/Makefile?r1=245539&r2=259720&view=patch
+
+--- head/gnu/lib/csu/Makefile 2013/01/17 05:56:28 245539
++++ head/gnu/lib/csu/Makefile 2013/12/22 12:53:56 259720
+@@ -15,10 +15,12 @@
+ SOBJS= crtbeginS.o crtendS.o
+ CSTD?= gnu89
+ CFLAGS+= -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -DDT_CONFIG -D__GLIBC__=3
+-CFLAGS+= -finhibit-size-directive -fno-inline-functions \
+- -fno-exceptions -fno-zero-initialized-in-bss \
+- -fno-zero-initialized-in-bss -fno-toplevel-reorder \
+- -fno-asynchronous-unwind-tables -fno-omit-frame-pointer
++.if ${COMPILER_TYPE} == "gcc"
++CFLAGS+= -finhibit-size-directive -fno-toplevel-reorder
++.endif
++CFLAGS+= -fno-inline-functions -fno-exceptions \
++ -fno-zero-initialized-in-bss -fno-asynchronous-unwind-tables \
++ -fno-omit-frame-pointer
+ CFLAGS+= -I${GCCLIB}/include -I${GCCDIR}/config -I${GCCDIR} -I. \
+ -I${CCDIR}/cc_tools
+ CRTS_CFLAGS= -DCRTSTUFFS_O -DSHARED ${PICFLAG}
+
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/gentoo-bsd:master commit in: sys-freebsd/freebsd-lib/files/
@ 2015-02-12 14:57 Yuta SATOH
0 siblings, 0 replies; 4+ messages in thread
From: Yuta SATOH @ 2015-02-12 14:57 UTC (permalink / raw
To: gentoo-commits
commit: acc53371016060ea87dcd3cea27552a295d56e6a
Author: Yuta SATOH <nigoro <AT> gentoo <DOT> gr <DOT> jp>
AuthorDate: Thu Feb 12 14:56:46 2015 +0000
Commit: Yuta SATOH <nigoro <AT> gentoo <DOT> gr <DOT> jp>
CommitDate: Thu Feb 12 14:56:46 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-bsd.git;a=commit;h=acc53371
added files/freebsd-lib-10.1-cve-2014-8611.patch
---
.../files/freebsd-lib-10.1-cve-2014-8611.patch | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.1-cve-2014-8611.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.1-cve-2014-8611.patch
new file mode 100644
index 0000000..e225042
--- /dev/null
+++ b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.1-cve-2014-8611.patch
@@ -0,0 +1,22 @@
+Index: lib/libc/stdio/fflush.c
+===================================================================
+--- lib/libc/stdio/fflush.c.orig
++++ lib/libc/stdio/fflush.c
+@@ -124,11 +124,13 @@
+ t = _swrite(fp, (char *)p, n);
+ if (t <= 0) {
+ /* Reset _p and _w. */
+- if (p > fp->_p) /* Some was written. */
++ if (p > fp->_p) {
++ /* Some was written. */
+ memmove(fp->_p, p, n);
+- fp->_p += n;
+- if ((fp->_flags & (__SLBF | __SNBF)) == 0)
+- fp->_w -= n;
++ fp->_p += n;
++ if ((fp->_flags & (__SLBF | __SNBF)) == 0)
++ fp->_w -= n;
++ }
+ fp->_flags |= __SERR;
+ return (EOF);
+ }
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-02-12 14:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-12 14:57 [gentoo-commits] proj/gentoo-bsd:master commit in: sys-freebsd/freebsd-lib/files/ Yuta SATOH
-- strict thread matches above, loose matches on Subject: below --
2014-01-26 6:41 Yuta SATOH
2013-09-16 13:14 Yuta SATOH
2013-08-30 18:30 Yuta SATOH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox