* [gentoo-commits] gentoo-x86 commit in app-cdr/isomaster/files: isomaster-1.3.7-noiniparser.patch
@ 2010-01-09 14:41 Christian Ruppert (idl0r)
0 siblings, 0 replies; only message in thread
From: Christian Ruppert (idl0r) @ 2010-01-09 14:41 UTC (permalink / raw
To: gentoo-commits
idl0r 10/01/09 14:41:59
Added: isomaster-1.3.7-noiniparser.patch
Log:
Version bump to 1.3.7.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Revision Changes Path
1.1 app-cdr/isomaster/files/isomaster-1.3.7-noiniparser.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/isomaster/files/isomaster-1.3.7-noiniparser.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/isomaster/files/isomaster-1.3.7-noiniparser.patch?rev=1.1&content-type=text/plain
Index: isomaster-1.3.7-noiniparser.patch
===================================================================
diff -Naurp -p isomaster-1.3.7.orig/Makefile isomaster-1.3.7/Makefile
--- isomaster-1.3.7.orig/Makefile 2010-01-09 14:18:00.333993253 +0100
+++ isomaster-1.3.7/Makefile 2010-01-09 15:17:31.047246400 +0100
@@ -65,21 +65,18 @@ OBJECTS = isomaster.o window.o browser.o
all: translations isomaster.desktop isomaster
-isomaster: $(OBJECTS) lib iniparser
+isomaster: $(OBJECTS) lib
@echo 'Linking isomaster'
- @$(CC) $(OBJECTS) bk/bk.a iniparser-2.17/libiniparser.a $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) `pkg-config --libs gtk+-2.0` -o isomaster
+ @$(CC) $(LDFLAGS) $(OBJECTS) bk/bk.a `pkg-config --libs gtk+-2.0` -liniparser -o isomaster
# static pattern rule
$(OBJECTS): %.o: %.c %.h bk/bk.h Makefile
@echo 'Compiling' $<
- @$(CC) $< $(CFLAGS) $(CPPFLAGS) -c -o $@
+ @$(CC) $(CFLAGS) $(CPPFLAGS) $< -c -o $@
lib:
cd bk && $(MAKE)
-iniparser:
- cd iniparser-2.17 && $(MAKE)
-
translations:
ifndef WITHOUT_NLS
cd po && $(MAKE)
@@ -94,7 +91,6 @@ bk-doc:
clean:
cd bk && $(MAKE) clean
- cd iniparser-2.17 && $(MAKE) clean
ifndef WITHOUT_NLS
cd po && $(MAKE) clean
endif
diff -Naurp -p isomaster-1.3.7.orig/settings.c isomaster-1.3.7/settings.c
--- isomaster-1.3.7.orig/settings.c 2010-01-09 14:18:00.329993692 +0100
+++ isomaster-1.3.7/settings.c 2010-01-09 15:19:29.052995022 +0100
@@ -607,7 +607,7 @@ void loadSettings(void)
GBLappSettings.recentlyOpen[i] = NULL;
if(GBLsettingsDictionary != NULL)
{
- char configNameStr[20] = "ui:recentlyopen";
+ char configNameStr[46] = "ui:recentlyopen";
snprintf(configNameStr + 15, 20, "%d", i);
tempStr = iniparser_getstring(GBLsettingsDictionary,
@@ -892,7 +892,7 @@ void writeSettings(void)
for(int i = 0; i < 5; i++)
{
- char configNameStr[20] = "ui:recentlyopen";
+ char configNameStr[46] = "ui:recentlyopen";
snprintf(configNameStr + 15, 20, "%d", i);
iniparser_setstr(GBLsettingsDictionary, configNameStr,
diff -Naurp -p isomaster-1.3.7.orig/settings.h isomaster-1.3.7/settings.h
--- isomaster-1.3.7.orig/settings.h 2010-01-09 14:18:00.330993252 +0100
+++ isomaster-1.3.7/settings.h 2010-01-09 14:34:59.495995595 +0100
@@ -4,7 +4,7 @@
#include <stdbool.h>
#include "isomaster.h"
-#include "iniparser-2.17/src/iniparser.h"
+#include <iniparser.h>
#define ISOMASTER_DEFAULT_WINDOW_WIDTH 500
#define ISOMASTER_DEFAULT_WINDOW_HEIGHT 550
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-09 14:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-09 14:41 [gentoo-commits] gentoo-x86 commit in app-cdr/isomaster/files: isomaster-1.3.7-noiniparser.patch Christian Ruppert (idl0r)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox