Patch to Geography.pmod to add South Sudan

Douglas Gardner <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <CAPHk0XKL38qL+XAfAMyR2HmeEpePDyQvFrj8BXeQwzPADkaQEQ@mail.gmail.com>
Hi there,

I've attached a patch to add South Sudan, which became a country in
2011, to the "all known countries" listed in Geography.pmod.

Please let me know what I should do with this patch in order for it to
be accepted.

Thanks,
Douglas
0001-add-South-Sudan-to-list-of-countries.patch (text/x-patch, 1.2 KB)
From 8e3ab754e4f3f08208ffdcca5475d5c812439bc2 Mon Sep 17 00:00:00 2001
From: Douglas Gardner <[email protected]>
Date: Thu, 12 Nov 2015 12:33:53 +0000
Subject: [PATCH 1/1] add South Sudan to list of countries

---
 lib/modules/Geography.pmod/Countries.pmod | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/modules/Geography.pmod/Countries.pmod b/lib/modules/Geography.pmod/Countries.pmod
index 2ad7b78..d1a9aca 100644
--- a/lib/modules/Geography.pmod/Countries.pmod
+++ b/lib/modules/Geography.pmod/Countries.pmod
@@ -14,7 +14,7 @@ mapping _continents=
       "CM","CV","DJ","DZ","EG","EH","ER","ET","GA","GH",
       "GM","GN","GQ","GW","KE","KM","LR","LS","LY",
       "MA","MG","ML","MR","MU","MW","MZ","NA","NE",
-      "NG","RW","SC","SD","SH","SL","SN","SO","ST",
+      "NG","RW","SC","SD","SH","SL","SN","SO","SS","ST",
       "SZ","TD","TG","TN","TZ","UG","ZA","ZM","ZR","ZW",
       "YT"
    }),
@@ -270,6 +270,7 @@ array(Country) countries=
    Country("SN","Senegal","SG"),
    Country("SO","Somalia","SO"),
    Country("SR","Suriname","NS"),
+   Country("SS","South Sudan","OD"),
    Country("ST","Sao Tome and Principe","TP"),
    Country("SU","USSR","??",(["former":1,
 			      "_continent":"Asia"])),
-- 
2.6.2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.