mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 17:10:33 -04:00
two typedefs (apparently, the latter was deprecated and finally removed in 1.4.7): typedef enum _imlib_load_error Imlib_Load_Error; typedef enum _imlib_load_error ImlibLoadError; - Instead of handling of VIDEO and CACA options interdependency manually, define VIDEO_IMPLIES=CACA (available since r394573) and thus consummate conversion to option helpers - Install sample configuration files as @sample in pkg-plist (and convert PLIST_FILES to separate file due to better readability thereof) - Restore sane installation routine broken in r336927 and install couple of extra documentation files while here - Augment port description text and update WWW line to avoid redirect
19 lines
555 B
C++
19 lines
555 B
C++
--- src/im/account.cpp.orig 2011-12-04 14:24:51 UTC
|
|
+++ src/im/account.cpp
|
|
@@ -18,6 +18,7 @@
|
|
|
|
#include <cassert>
|
|
#include <cstring>
|
|
+#include <unistd.h>
|
|
#ifdef HAVE_IMLIB
|
|
#include <Imlib2.h>
|
|
#endif /* HAVE_IMLIB */
|
|
@@ -272,7 +273,7 @@ void Account::setBuddyIcon(string filena
|
|
else
|
|
{
|
|
char** prpl_formats = g_strsplit(prplinfo->icon_spec.format,",",0);
|
|
- ImlibLoadError err = IMLIB_LOAD_ERROR_UNKNOWN;
|
|
+ Imlib_Load_Error err = IMLIB_LOAD_ERROR_UNKNOWN;
|
|
|
|
close(temp_fd);
|
|
/* Try to encode in a supported format. */
|