View | Details | Raw Unified | Return to bug 67072
Collapse All | Expand All

(-)pixieplus/Makefile (-6 / +3 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	pixieplus
8
PORTNAME=	pixieplus
9
PORTVERSION=	0.5.4
9
PORTVERSION=	0.5.4.1
10
PORTREVISION=	4
11
CATEGORIES=	graphics kde
10
CATEGORIES=	graphics kde
12
MASTER_SITES=	http://people.fruitsalad.org/avleeuwen/distfiles/${PORTNAME}/
11
MASTER_SITES=	http://people.fruitsalad.org/avleeuwen/distfiles/${PORTNAME}/
13
12
Lines 18-29 Link Here
18
		ungif.5:${PORTSDIR}/graphics/libungif
17
		ungif.5:${PORTSDIR}/graphics/libungif
19
18
20
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
21
CONFIGURE_ARGS+=	--program-prefix=''
22
USE_GMAKE=	yes
20
USE_GMAKE=	yes
23
USE_KDELIBS_VER=3
21
USE_KDELIBS_VER=3
24
INSTALLS_SHLIB=	yes
22
INSTALLS_SHLIB=	yes
25
USE_LIBTOOL_VER=13
23
USE_LIBTOOL_VER=13
24
USE_BZIP2=	yes
26
25
27
.include <bsd.port.pre.mk>
26
.include <bsd.port.mk>
28
.include "${PORTSDIR}/x11/kde3/Makefile.kde"
29
.include <bsd.port.post.mk>
(-)pixieplus/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (pixieplus-0.5.4.tar.gz) = a6296cdc53b5f1a38cd629f7591fef9e
1
MD5 (pixieplus-0.5.4.1.tar.bz2) = 58117520782fed376db7532ccda61853
2
SIZE (pixieplus-0.5.4.tar.gz) = 2297945
2
SIZE (pixieplus-0.5.4.1.tar.bz2) = 2128236
(-)pixieplus/files/patch-app-compressedgif.cpp (-109 lines)
Lines 1-109 Link Here
1
--- app/compressedgif.cpp.orig	Fri May 21 14:05:50 2004
2
+++ app/compressedgif.cpp	Fri May 21 14:28:14 2004
3
@@ -63,7 +63,7 @@
4
     if (byte_count >= 254) \
5
       { \
6
         (void) WriteBlobByte(image,byte_count); \
7
-        (void) WriteBlob(image,byte_count,(char *) packet); \
8
+        (void) WriteBlob(image,byte_count,(const unsigned char *) packet); \
9
         byte_count=0; \
10
       } \
11
     datum>>=8; \
12
@@ -280,7 +280,7 @@
13
       if (byte_count >= 254)
14
         {
15
           (void) WriteBlobByte(image,byte_count);
16
-          (void) WriteBlob(image,byte_count,(char *) packet);
17
+          (void) WriteBlob(image,byte_count,(const unsigned char *) packet);
18
           byte_count=0;
19
         }
20
     }
21
@@ -290,7 +290,7 @@
22
   if (byte_count > 0)
23
     {
24
       (void) WriteBlobByte(image,byte_count);
25
-      (void) WriteBlob(image,byte_count,(char *) packet);
26
+      (void) WriteBlob(image,byte_count,(const unsigned char *) packet);
27
     }
28
   /*
29
     Free encoder memory.
30
@@ -359,7 +359,7 @@
31
   assert(image->signature == MagickSignature);
32
   status=OpenBlob(image_info,image,WriteBinaryBlobMode,&image->exception);
33
   if (status == false)
34
-    ThrowWriterException(FileOpenError,"Unable to open file",image);
35
+    ThrowWriterException(FileOpenError,"Unable to open file");
36
   /*
37
     Determine image bounding box.
38
   */
39
@@ -384,7 +384,7 @@
40
   colormap=(unsigned char *) AcquireMemory(768);
41
   if ((global_colormap == (unsigned char *) NULL) ||
42
       (colormap == (unsigned char *) NULL))
43
-    ThrowWriterException(ResourceLimitError,"Memory allocation failed",image);
44
+    ThrowWriterException(ResourceLimitError,"Memory allocation failed");
45
   for (i=0; i < 768; i++)
46
     colormap[i]=0;
47
   /*
48
@@ -392,12 +392,12 @@
49
   */
50
   if ((GetImageAttribute(image,"comment") == (ImageAttribute *) NULL) &&
51
       !image_info->adjoin && !image->matte)
52
-    (void) WriteBlob(image,6,"GIF87a");
53
+    (void) WriteBlob(image,6,(const unsigned char*)"GIF87a");
54
   else
55
     if (LocaleCompare(image_info->magick,"GIF87") == 0)
56
-      (void) WriteBlob(image,6,"GIF87a");
57
+      (void) WriteBlob(image,6,(const unsigned char*)"GIF87a");
58
     else
59
-      (void) WriteBlob(image,6,"GIF89a");
60
+      (void) WriteBlob(image,6,(const unsigned char*)"GIF89a");
61
   page.x=image->page.x;
62
   page.y=image->page.y;
63
   if ((image->page.width != 0) && (image->page.height != 0))
64
@@ -437,7 +437,7 @@
65
                 LiberateMemory((void **) &global_colormap);
66
                 LiberateMemory((void **) &colormap);
67
                 ThrowWriterException(ResourceLimitError,
68
-                  "Memory allocation failed",image)
69
+                  "Memory allocation failed")
70
               }
71
             image->colormap[opacity]=image->background_color;
72
             for (y=0; y < (long) image->rows; y++)
73
@@ -515,7 +515,7 @@
74
             break;
75
         (void) WriteBlobByte(image,(long) j);  /* background color */
76
         (void) WriteBlobByte(image,0x0);  /* reserved */
77
-        (void) WriteBlob(image,3*(1 << bits_per_pixel),(char *) colormap);
78
+        (void) WriteBlob(image,3*(1 << bits_per_pixel),(const unsigned char*)colormap);
79
         for (j=0; j < 768; j++)
80
           global_colormap[j]=colormap[j];
81
       }
82
@@ -570,7 +570,7 @@
83
             (void) WriteBlobByte(image,0x21);
84
             (void) WriteBlobByte(image,0xff);
85
             (void) WriteBlobByte(image,0x0b);
86
-            (void) WriteBlob(image,11,"NETSCAPE2.0");
87
+            (void) WriteBlob(image,11,(const unsigned char*)"NETSCAPE2.0");
88
             (void) WriteBlobByte(image,0x03);
89
             (void) WriteBlobByte(image,0x01);
90
             (void) WriteBlobLSBShort(image,image->iterations);
91
@@ -602,7 +602,7 @@
92
         c|=0x80;
93
         c|=(bits_per_pixel-1);   /* size of local colormap */
94
         (void) WriteBlobByte(image,c);
95
-        (void) WriteBlob(image,3*(1 << bits_per_pixel),(char *) colormap);
96
+        (void) WriteBlob(image,3*(1 << bits_per_pixel),(const unsigned char*) colormap);
97
       }
98
     /*
99
       Write the image data.
100
@@ -614,8 +614,7 @@
101
       {
102
         LiberateMemory((void **) &global_colormap);
103
         LiberateMemory((void **) &colormap);
104
-        ThrowWriterException(ResourceLimitError,"Memory allocation failed",
105
-          image)
106
+        ThrowWriterException(ResourceLimitError,"Memory allocation failed")
107
       }
108
     (void) WriteBlobByte(image,0x0);
109
     if (image->next == (Image *) NULL)
(-)pixieplus/files/patch-app-ifapp.cpp (-11 lines)
Lines 1-11 Link Here
1
--- app/ifapp.cpp.orig	Fri May 21 14:01:17 2004
2
+++ app/ifapp.cpp	Fri May 21 14:03:11 2004
3
@@ -34,7 +34,7 @@
4
 // ImageMagick message and progress stubs
5
 extern "C"{
6
     unsigned int magickMonitor(const char *msg, const off_t value,
7
-                               const size_t span, ExceptionInfo *)
8
+                               const long long unsigned int span, ExceptionInfo *)
9
     {
10
         if(!appPtr)
11
             return(true);
(-)pixieplus/files/patch-configure (-91 lines)
Lines 1-91 Link Here
1
--- configure.orig	Fri May 21 13:53:33 2004
2
+++ configure	Fri May 21 13:53:39 2004
3
@@ -3098,7 +3098,7 @@
4
   if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
5
     if test "$kde_use_debug_code" != "no"; then
6
       if test "$CXX" = "KCC"; then
7
-        CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS"
8
+        CXXFLAGS="+K0 -Wall  -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS"
9
       else
10
         if test "$kde_use_debug_code" = "full"; then
11
           CXXFLAGS="-g3 $CXXFLAGS"
12
@@ -3335,11 +3335,11 @@
13
       if test "$GCC" = "yes"; then
14
         case $host in
15
           *-*-linux-gnu)
16
-            CFLAGS="-ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
17
+            CFLAGS="-ansi -W -Wall  -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
18
             CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion $CXXFLAGS"
19
           ;;
20
         esac
21
-        CXXFLAGS="-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS"
22
+        CXXFLAGS="-Wall  -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS"
23
 
24
 echo "$as_me:3344: checking whether $CXX supports -Wundef" >&5
25
 echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6
26
@@ -14996,7 +14996,7 @@
27
 fi
28
 
29
 # This can be used to rebuild libtool when needed
30
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
31
+LIBTOOL_DEPS="--disable-ltlibs /usr/local/share/libtool13/ltmain.sh"
32
 
33
 # Always use our own libtool.
34
 LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
35
@@ -16553,7 +16553,7 @@
36
 kde_safe_LIBS="$LIBS"
37
 LIBS="$LIBS $X_EXTRA_LIBS"
38
 if test "$GCC" = "yes"; then
39
-CXXFLAGS="$CXXFLAGS -pedantic-errors"
40
+CXXFLAGS="$CXXFLAGS -errors"
41
 fi
42
 cat >conftest.$ac_ext <<_ACEOF
43
 #line 16559 "configure"
44
@@ -18767,8 +18767,8 @@
45
       USE_THREADS=""
46
       if test -z "$LIBPTHREAD"; then
47
 
48
-echo "$as_me:18770: checking whether $CXX supports -pthread" >&5
49
-echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6
50
+echo "$as_me:18770: checking whether $CXX supports -lc_r" >&5
51
+echo $ECHO_N "checking whether $CXX supports -lc_r... $ECHO_C" >&6
52
 kde_cache=`echo pthread | sed 'y% .=/+-%____p_%'`
53
 if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
54
   echo $ECHO_N "(cached) $ECHO_C" >&6
55
@@ -18783,7 +18783,7 @@
56
 ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
57
 
58
   save_CXXFLAGS="$CXXFLAGS"
59
-  CXXFLAGS="$CXXFLAGS -pthread"
60
+  CXXFLAGS="$CXXFLAGS -lc_r"
61
   cat >conftest.$ac_ext <<_ACEOF
62
 #line 18788 "configure"
63
 #include "confdefs.h"
64
@@ -18827,7 +18827,7 @@
65
  echo "$as_me:18827: result: yes" >&5
66
 echo "${ECHO_T}yes" >&6
67
  :
68
- USE_THREADS="-pthread"
69
+ USE_THREADS="-lc_r"
70
 else
71
  echo "$as_me:18832: result: no" >&5
72
 echo "${ECHO_T}no" >&6
73
@@ -21614,15 +21614,15 @@
74
    { (exit 1); exit 1; }; }
75
 fi
76
 
77
-echo "$as_me:21617: checking for magick/resource.h" >&5
78
-echo $ECHO_N "checking for magick/resource.h... $ECHO_C" >&6
79
+echo "$as_me:21617: checking for magick/resource_.h" >&5
80
+echo $ECHO_N "checking for magick/resource_.h... $ECHO_C" >&6
81
 if test "${ac_cv_header_magick_resource_h+set}" = set; then
82
   echo $ECHO_N "(cached) $ECHO_C" >&6
83
 else
84
   cat >conftest.$ac_ext <<_ACEOF
85
 #line 21623 "configure"
86
 #include "confdefs.h"
87
-#include <magick/resource.h>
88
+#include <magick/resource_.h>
89
 _ACEOF
90
 if { (eval echo "$as_me:21627: \"$ac_cpp conftest.$ac_ext\"") >&5
91
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
(-)pixieplus/files/patch-imageheaders.cpp (-11 lines)
Lines 1-11 Link Here
1
--- app/imageheaders.cpp.orig	Fri Jun 13 00:47:07 2003
2
+++ app/imageheaders.cpp	Fri Jun 13 00:47:49 2003
3
@@ -90,7 +90,7 @@
4
         if(TIFFSetDirectory(t, thumbDir)){
5
             TIFFGetField(t, TIFFTAG_IMAGELENGTH, &height);
6
             img.create(minWidth, height, 32);
7
-            if(!TIFFReadRGBAImage(t, minWidth, height, (unsigned long*)
8
+            if(!TIFFReadRGBAImage(t, minWidth, height, (uint32*)
9
                                   img.bits(), 0))
10
                 img.reset();
11
             else{

Return to bug 67072