* Remove need for gmake (and it breaks with 3.82).

* Add missing includes and fix LP64 warnings.
This commit is contained in:
Christian Weisgerber
2011-03-12 20:37:56 +00:00
parent 1664a839d1
commit 5ca3204a8a
8 changed files with 77 additions and 2 deletions
+1 -2
View File
@@ -7,7 +7,7 @@
PORTNAME= stamp
PORTVERSION= 2.0.8
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= graphics
MASTER_SITES= SF
@@ -20,7 +20,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS}" \
LIBS="-L${LOCALBASE}/lib"
USE_GMAKE= unfortunatly
.if !defined(WITHOUT_X11)
USE_GNOME= gtk12
.endif
+21
View File
@@ -0,0 +1,21 @@
--- Makefile.in.orig 2011-03-12 21:24:42.000000000 +0100
+++ Makefile.in 2011-03-12 21:25:00.000000000 +0100
@@ -329,12 +329,12 @@ maintainer-clean-generic clean mostlycle
.PHONY: files
files:
- @for subdir in $(DATADIRS); do \
- files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \
- for file in $$files; do \
- echo $$subdir/$$file; \
- done; \
- done
+ @for subdir in $(DATADIRS); do \
+ files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \
+ for file in $$files; do \
+ echo $$subdir/$$file; \
+ done; \
+ done
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
@@ -0,0 +1,10 @@
--- gstamp/gstamp.c.orig 2011-03-12 21:29:21.000000000 +0100
+++ gstamp/gstamp.c 2011-03-12 21:29:42.000000000 +0100
@@ -7,6 +7,7 @@
#include <gtk/gtk.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include "gstamp.h"
@@ -0,0 +1,10 @@
--- gstamp/gstamp_misc.c.orig 2011-03-12 21:33:49.000000000 +0100
+++ gstamp/gstamp_misc.c 2011-03-12 21:34:16.000000000 +0100
@@ -2,6 +2,7 @@
Eric Werner - 19 FEB 1999
ebw@city-net.com
*/
+#include <sys/shm.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@@ -0,0 +1,10 @@
--- gstamp/gstamp_signals.c.orig 2011-03-12 21:31:32.000000000 +0100
+++ gstamp/gstamp_signals.c 2011-03-12 21:31:44.000000000 +0100
@@ -3,6 +3,7 @@
ebw@city-net.com
*/
#include <gtk/gtk.h>
+#include <stdlib.h>
#include <string.h>
#include "gstamp.h"
#include "../lib/rcfile.h"
@@ -0,0 +1,7 @@
--- gstamp/gstamp_ui.c.orig 2011-03-12 21:31:56.000000000 +0100
+++ gstamp/gstamp_ui.c 2011-03-12 21:32:20.000000000 +0100
@@ -1,3 +1,4 @@
+#include <string.h>
#include <gtk/gtk.h>
#include "gstamp.h"
+9
View File
@@ -0,0 +1,9 @@
--- lib/common.c.orig 2011-03-12 21:28:20.000000000 +0100
+++ lib/common.c 2011-03-12 21:28:30.000000000 +0100
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <jpeglib.h>
#include <setjmp.h>
#include "common.h"
@@ -0,0 +1,9 @@
--- lib/transmogrify.c.orig 2011-03-12 21:28:42.000000000 +0100
+++ lib/transmogrify.c 2011-03-12 21:28:55.000000000 +0100
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <jpeglib.h>
#include "../lib/common.h"