From: "Christian Ruppert (idl0r)" <idl0r@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in app-cdr/isomaster/files: isomaster-1.3.7-noiniparser.patch
Date: Sat, 09 Jan 2010 14:41:59 +0000 [thread overview]
Message-ID: <E1NTcVr-00065f-5r@stork.gentoo.org> (raw)
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
reply other threads:[~2010-01-09 14:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1NTcVr-00065f-5r@stork.gentoo.org \
--to=idl0r@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox