comical: build with wxGTK28
svn path=/nixpkgs/trunk/; revision=29339
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index a648e72..181c47f 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,5 +1,5 @@
|
||||
CC = `wx-config --cxx`
|
||||
-LDFLAGS = `wx-config --libs` -Lunrar -lunrar -Lunzip -lminiunzip
|
||||
+LDFLAGS = `wx-config --libs` -Lunrar -lunrar -Lunzip -lminiunzip -lz
|
||||
INSTALL = install
|
||||
INSTALL_PROGRAM = $(INSTALL)
|
||||
prefix = /usr/local
|
||||
diff --git a/src/ComicalApp.cpp b/src/ComicalApp.cpp
|
||||
index 0c004cd..667e75e 100644
|
||||
--- a/src/ComicalApp.cpp
|
||||
+++ b/src/ComicalApp.cpp
|
||||
@@ -28,6 +28,7 @@
|
||||
#include "ComicalApp.h"
|
||||
#include "ComicalFrame.h"
|
||||
#include <wx/log.h>
|
||||
+#include <wx/icon.h>
|
||||
|
||||
#if !defined(__WXMAC__) && !defined(__WXCOCOA__) && !defined(__WXMSW__) && !defined(__WXPM__)
|
||||
#include "../Comical Icons/comical.xpm"
|
||||
diff --git a/unzip/unzip.h b/unzip/unzip.h
|
||||
index b247937..5bb6a69 100644
|
||||
--- a/unzip/unzip.h
|
||||
+++ b/unzip/unzip.h
|
||||
@@ -50,7 +50,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef _ZLIB_H
|
||||
-#include "zlib.h"
|
||||
+#include <zlib.h>
|
||||
#endif
|
||||
|
||||
#ifndef _ZLIBIOAPI_H
|
||||
Reference in New Issue
Block a user