Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148420111
D17882.id50139.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D17882.id50139.diff
View Options
Index: head/devel/elfutils/Makefile
===================================================================
--- head/devel/elfutils/Makefile
+++ head/devel/elfutils/Makefile
@@ -3,6 +3,7 @@
PORTNAME= elfutils
PORTVERSION= 0.174
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://sourceware.org/elfutils/ftp/${PORTVERSION}/
@@ -33,11 +34,13 @@
NLS_CONFIGURE_ENABLE= nls
USES= autoreconf gmake libtool tar:bzip2
-USE_GCC= 7
+USE_GCC= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CFLAGS+= -Wno-null-dereference -Wno-unused-value
+# For GCC8:
+CFLAGS+= -Wno-cast-function-type
# Give i386 a prayer of building, and we can fix the warnings later:
CFLAGS_i386+= -Wno-error
Index: head/devel/elfutils/files/patch-lib_eu-config.h
===================================================================
--- head/devel/elfutils/files/patch-lib_eu-config.h
+++ head/devel/elfutils/files/patch-lib_eu-config.h
@@ -1,12 +1,13 @@
--- lib/eu-config.h.orig 2015-06-11 11:38:55 UTC
+++ lib/eu-config.h
-@@ -187,4 +187,170 @@ asm (".section predict_data, \"aw\"; .pr
+@@ -187,4 +187,171 @@ asm (".section predict_data, \"aw\"; .pr
#endif
+/* FreeBSD ports of glibcisms */
+#include <sys/cdefs.h>
+#include <libgen.h>
++#include <limits.h>
+#include <stdarg.h>
+#include <stdint.h>
+#include <stdlib.h>
@@ -40,7 +41,7 @@
+rawmemchr(const void *s, int c)
+{
+
-+ return (memchr(s, c, SIZE_MAX));
++ return (memchr(s, c, SSIZE_MAX));
+}
+
+static inline void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 6:04 PM (19 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29919077
Default Alt Text
D17882.id50139.diff (1 KB)
Attached To
Mode
D17882: devel/elfutils: Unbreak gcc8 build
Attached
Detach File
Event Timeline
Log In to Comment