Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 227563 Details for
Bug 314925
app-text/poppler-0.12.4-r2 fails to compile in FreeBSD.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Quick fix.
poppler-0.12.4_bsd_fixes.patch (text/plain), 1.50 KB, created by
Javier Villavicencio (RETIRED)
on 2010-04-13 03:49:36 UTC
(
hide
)
Description:
Quick fix.
Filename:
MIME Type:
Creator:
Javier Villavicencio (RETIRED)
Created:
2010-04-13 03:49:36 UTC
Size:
1.50 KB
patch
obsolete
>_XOPEN_SOURCE=500 does not define snprintf. >And strcasecmp is defined in <strings.h>. > >--- poppler-0.12.4.orig/cmake/modules/PopplerMacros.cmake >+++ poppler-0.12.4/cmake/modules/PopplerMacros.cmake >@@ -88,7 +88,7 @@ > if(CMAKE_COMPILER_IS_GNUCXX) > set(CMAKE_C_FLAGS "-Wall -Wno-write-strings -Wno-long-long -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common ${CMAKE_C_FLAGS}") > set(CMAKE_CXX_FLAGS "-Wall -Woverloaded-virtual -Wno-write-strings -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-check-new -fno-common ${CMAKE_CXX_FLAGS}") >- add_definitions(-D_XOPEN_SOURCE=500 -D_BSD_SOURCE) >+ add_definitions(-D_XOPEN_SOURCE=600 -D_BSD_SOURCE) > set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g") > set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG") > set(CMAKE_CXX_FLAGS_DEBUG "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline") >--- poppler-0.12.4.orig/poppler/GlobalParams.cc >+++ poppler-0.12.4/poppler/GlobalParams.cc >@@ -35,6 +35,7 @@ > #endif > > #include <string.h> >+#include <strings.h> > #include <stdio.h> > #include <ctype.h> > #ifdef ENABLE_PLUGINS >--- poppler-0.12.4.orig/test/perf-test.cc >+++ poppler-0.12.4/test/perf-test.cc >@@ -37,6 +37,7 @@ > #include <ctype.h> > #include <stdlib.h> > #include <string.h> >+#include <strings.h> > #include <errno.h> > #include <time.h> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 314925
: 227563