mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Update Vision to r946.
- Fixes a logging-related regression on PM-enabled builds.
This commit is contained in:
16
haiku-apps/vision/patches/vision-0.9.7-gcc2.patch
Normal file
16
haiku-apps/vision/patches/vision-0.9.7-gcc2.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
Index: Makefile
|
||||
===================================================================
|
||||
--- Vision/Makefile (revision 946)
|
||||
+++ Vision/Makefile (working copy)
|
||||
@@ -84,10 +84,7 @@
|
||||
|
||||
LDFLAGS := $(REG_LIBS) -nodefaultlibs
|
||||
|
||||
-ifeq ($(wildcard /boot/common/include/infopopper/InfoPopper.h), )
|
||||
-else
|
||||
- CFLAGS += -DUSE_INFOPOPPER=1
|
||||
-endif
|
||||
+CFLAGS += -DUSE_INFOPOPPER=1
|
||||
|
||||
DEP := gcc -MM -DBEOS_BUILD
|
||||
|
||||
@@ -1,22 +1,25 @@
|
||||
Index: Vision/Makefile
|
||||
Index: Makefile
|
||||
===================================================================
|
||||
--- Vision/Makefile (revision 908)
|
||||
--- Vision/Makefile (revision 946)
|
||||
+++ Vision/Makefile (working copy)
|
||||
@@ -21,7 +21,7 @@
|
||||
BUILD_TYPE := Release
|
||||
|
||||
|
||||
# system libs
|
||||
-REG_LIBS := -lbe -ltranslation -ltextencoding -ltracker -lnetwork -lroot
|
||||
+REG_LIBS := -lbe -ltranslation -ltextencoding -ltracker -lnetwork -lroot -lstdc++
|
||||
|
||||
|
||||
# lua
|
||||
LUA_LIBS := -L./src/lua/lib -llua -llualib
|
||||
@@ -71,7 +71,7 @@
|
||||
CFLAGS += -DBUILD_DATE=\"$(BUILDDATE)\"
|
||||
CFLAGS += -fno-pic
|
||||
CFLAGS += -ffast-math
|
||||
-CFLAGS += -march=pentium -mcpu=pentiumpro
|
||||
+CFLAGS += -march=pentium
|
||||
CFLAGS += -Wall -W -Wno-multichar -Wpointer-arith
|
||||
CFLAGS += -Wwrite-strings -Woverloaded-virtual
|
||||
CFLAGS += -Wconversion -Wpointer-arith
|
||||
@@ -84,10 +84,7 @@
|
||||
|
||||
LDFLAGS := $(REG_LIBS) -nodefaultlibs
|
||||
|
||||
-ifeq ($(wildcard /boot/common/include/infopopper/InfoPopper.h), )
|
||||
-else
|
||||
- CFLAGS += -DUSE_INFOPOPPER=1
|
||||
-endif
|
||||
+CFLAGS += -DUSE_INFOPOPPER=1
|
||||
|
||||
DEP := gcc -MM -DBEOS_BUILD
|
||||
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
SUMMARY="IRC client for Haiku"
|
||||
DESCRIPTION="Vision is an IRC client for Haiku."
|
||||
HOMEPAGE="http://vision.sourceforge.net/"
|
||||
SRC_URI="svn://svn.code.sf.net/p/vision/code/branches/0.9.7#944"
|
||||
SRC_URI="svn://svn.code.sf.net/p/vision/code/branches/0.9.7#946"
|
||||
LICENSE="MPL v1.1"
|
||||
COPYRIGHT="1999-2010 The Vision Team"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
if [ $targetArchitecture != x86_gcc2 ]; then
|
||||
if [ $targetArchitecture == x86_gcc2 ]; then
|
||||
PATCHES="vision-0.9.7-gcc2.patch"
|
||||
else
|
||||
PATCHES="vision-0.9.7-gcc4.patch"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user