summaryrefslogtreecommitdiffstats
path: root/graphics/isreal/files
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-07 06:08:33 +0000
committerwill <will@FreeBSD.org>2001-04-07 06:08:33 +0000
commit32427857611ff260a4b7a7a68a20ad66a14030d2 (patch)
tree4cebb907f94c331ff9c808245f9c1a37b8d38273 /graphics/isreal/files
parent3da5ace907df17542f894db5510dbaa5fb29deeb (diff)
downloadFreeBSD-ports-32427857611ff260a4b7a7a68a20ad66a14030d2.zip
FreeBSD-ports-32427857611ff260a4b7a7a68a20ad66a14030d2.tar.gz
Add isreal 2.0, an image classification utility.
PR: 26266 Submitted by: Mark Pulford <mark@kyne.com.au>
Diffstat (limited to 'graphics/isreal/files')
-rw-r--r--graphics/isreal/files/patch-Makefile22
-rw-r--r--graphics/isreal/files/patch-getopt11
2 files changed, 33 insertions, 0 deletions
diff --git a/graphics/isreal/files/patch-Makefile b/graphics/isreal/files/patch-Makefile
new file mode 100644
index 0000000..0f67813
--- /dev/null
+++ b/graphics/isreal/files/patch-Makefile
@@ -0,0 +1,22 @@
+--- Makefile.orig Thu Jan 6 08:09:10 2000
++++ Makefile Sat Mar 31 19:46:20 2001
+@@ -3,13 +3,14 @@
+ #
+ LIBS = -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext \
+- -ljpeg -lpng -ltiff -lz -lgif -lm -lImlib
+-CFLAGS = -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align \
+- -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes \
+- -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
++ -ljpeg -lpng -ltiff -lz -lungif -lm -lImlib
++
++CFLAGS += -I/usr/X11R6/include
+
+ VERSION=2.0
+
++all: isreal
++
+ isreal: isreal.o
+- $(CC) $^ $(LIBS) -o $@
++ $(CC) isreal.o $(LIBS) -o $@
+
+ clean:
diff --git a/graphics/isreal/files/patch-getopt b/graphics/isreal/files/patch-getopt
new file mode 100644
index 0000000..51eb56d
--- /dev/null
+++ b/graphics/isreal/files/patch-getopt
@@ -0,0 +1,11 @@
+--- isreal.c.orig Sat Mar 31 19:06:30 2001
++++ isreal.c Sat Mar 31 19:06:37 2001
+@@ -20,7 +20,7 @@
+ #include <X11/Xutil.h>
+ #include <Imlib.h>
+ #include <math.h>
+-#include <getopt.h>
++#include <unistd.h>
+ #include <errno.h>
+
+ #ifndef FALSE
OpenPOWER on IntegriCloud