summaryrefslogtreecommitdiff
path: root/graphics/xbarcode/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xbarcode/files')
-rw-r--r--graphics/xbarcode/files/patch-aa18
-rw-r--r--graphics/xbarcode/files/patch-ab10
2 files changed, 28 insertions, 0 deletions
diff --git a/graphics/xbarcode/files/patch-aa b/graphics/xbarcode/files/patch-aa
new file mode 100644
index 000000000000..0922526362e1
--- /dev/null
+++ b/graphics/xbarcode/files/patch-aa
@@ -0,0 +1,18 @@
+--- Makefile Tue Sep 13 19:15:08 1994
++++ Makefile Sun Oct 1 02:21:12 2000
+@@ -4,13 +4,12 @@
+ #
+
+ OBJ = mainbarcode.o barcode.o fileio.o help.o
+-OPTIONS =
+-LIBPATH = /usr/openwin/lib # Pfad fuer XVIEW Library angeben !!!
++OPTIONS = -I${X11BASE}/include
++LIBPATH = ${X11BASE}/lib # Pfad fuer XVIEW Library angeben !!!
+
+ XBarcode: $(OBJ)
+ gcc $(OPTIONS) bar.o fileio.o help.o barcode.o -o bar
+ gcc -o XBarcode $(OBJ) -lxview -lolgx -lX11 -L$(LIBPATH)
+- cp XBarcode.1 /usr/man/cat1/XBarcode.1
+
+ mainbarcode.o: mainbarcode.c barcode.h german.h
+ gcc $(OPTIONS) -c mainbarcode.c
diff --git a/graphics/xbarcode/files/patch-ab b/graphics/xbarcode/files/patch-ab
new file mode 100644
index 000000000000..1702d1013dea
--- /dev/null
+++ b/graphics/xbarcode/files/patch-ab
@@ -0,0 +1,10 @@
+--- bar.c~ Tue Sep 13 18:25:32 1994
++++ bar.c Sun Oct 1 02:35:31 2000
+@@ -40,6 +40,7 @@
+ ywert=100;
+ xwert=100;
+ strcpy(Wert,"");
++ if(argc<2) { fprintf(stderr,"%s",ErrText4); exit(-1); }
+ if (strcmp(argv[1],"-HELP")==0)
+ {
+ help();